« first day (4932 days earlier)      last day (34 days later) » 
07:00 - 18:0018:00 - 21:00

6:58 PM
@roganjosh I'm not really sold on your argument. Counter isn't really idiomatic in a lot of places and can't be used for a groupby -- groupby.setdefault(item.key, []).append(item). Personally I've found knowing you can swap a dict for a list when interacting with naturals of a limited size to be more eye opening and helpful than Counter.
 
 
1 hour later…
8:08 PM
Vscode's intellisense lists all kinds of internal stuff as members of my module, and I don't know how to stop that. I tried del-ing everything, and I've tried adding an __all__ to my __init__.py, but neither had an effect. I think writing a stub file would solve it, but that would be a lot of boilerplate. Is there any other solution?
On 2nd thought, a stub file would probably have the exact same problem
Unless I re-write all my classes and functions and stuff them all in the same file, I guess
 
8:43 PM
I'm only aware of python.analysis.addImport.heuristics. The setting was somewhat divisive... I'm not sure what you want exists.
Not listening to __all__ seems a little odd tho.
 
8:54 PM
Having a hard time finding out what python.analysis.addImport.heuristics does, but it seems to be about auto-adding missing imports?
 
IIRC it uses heuristics to determine import order and limited the amount of imports you see... or I enabled the wrong setting the other day.
 
07:00 - 18:0018:00 - 21:00

« first day (4932 days earlier)      last day (34 days later) »