[issue22374] Replace contextmanager example and improve explanation

2018-01-29 Thread cowlinator
cowlinator <cowlina...@gmail.com> added the comment: I would like to second the improved explanation of contextlib.contextmanager, and additionally point out another problem: A very important piece of information is missing from the documentation: how to return data from the contextm

[issue32784] Wrong argument name for csv.DictReader in documentation

2018-02-08 Thread cowlinator
cowlinator <cowlina...@gmail.com> added the comment: Hi, thanks for the quick action on this! The documentation is still wrong for 3.5 . I had selected 3.5 for the affected versions, but I guess it got removed? -- versions: +Python 3.5 ___

[issue32784] Wrong argument name for csv.DictReader in documentation

2018-02-06 Thread cowlinator
New submission from cowlinator <cowlina...@gmail.com>: The documentation for the csv.DictReader constructor (and presumably csv.DictWriter also) has the wrong name written for the first argument. This prevents the argument from being called by name. >>> file =

[issue34727] Windows/2.7.15 IOError [Errno 0] when user interacts with cmd console

2018-09-18 Thread cowlinator
New submission from cowlinator : I can consistently reproduce a bug in 2.7.15 on Windows which causes an unexpected IOError. Steps to reproduce: Enter the following code in a plain-vanilla windows command line console: >>> import sys >>> while True: ...

[issue34727] Windows/2.7.15 IOError [Errno 0] when user interacts with cmd console

2018-09-18 Thread cowlinator
cowlinator added the comment: I think you are probably right. I'm using Windows 10 Version 1709 (OS Build 16299.611) -- ___ Python tracker <https://bugs.python.org/issue34

[issue46595] [doc] Undocumented behavior of importlib.metadata.version

2022-01-31 Thread cowlinator
New submission from cowlinator : If `importlib.metadata.version` can't find the distribution version, it seems to return the result of a local `git describe`. I don't know if this is git-specific, or which other SCMs this might try to interact with. The result of `importlib.metadata.version

[issue46595] [doc] Undocumented behavior of importlib.metadata.version

2022-01-31 Thread cowlinator
cowlinator added the comment: I'd also like to know which `git describe` args it's using -- ___ Python tracker <https://bugs.python.org/issue46595> ___ ___ Pytho

[issue46595] [doc] Undocumented behavior of importlib.metadata.version

2022-01-31 Thread cowlinator
cowlinator added the comment: nevermind, i was just being stupid. the git describe wound up in a local egg or build metadata which i guess is where importlib.metadata.version pulls from -- ___ Python tracker <https://bugs.python.org/issue46

[issue46595] [doc] Undocumented behavior of importlib.metadata.version

2022-01-31 Thread cowlinator
Change by cowlinator : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46595> ___ ___ Python-bugs-list