[issue28022] SSL releated deprecation for 3.6

2021-08-08 Thread Nick Guenther
Nick Guenther added the comment: Hello everyone, and thank you as usual for all your hard work keeping the python ecosystem going. I saw that the start of this thread said it was going to > - make ftplib, imaplib, nntplib, pop3lib, smtplib etc. validate certs by > default. but this

[issue40110] multiprocessing.Pool.imap() should be lazy

2020-04-01 Thread Nick Guenther
Nick Guenther added the comment: Thank you for taking the time to consider my points! Yes, I think you understood exactly what I was getting at. I slept on it and thought about what I'd posted the day after and realized most of the points you raise, especially that serialized next() would

[issue40110] multiprocessing.Pool.imap() should be lazy

2020-03-29 Thread Nick Guenther
New submission from Nick Guenther : multiprocessing.Pool.imap() is supposed to be a lazy version of map. But it's not: it submits work to its workers eagerly. As a consequence, in a pipeline, all the work from earlier steps is queued, performed, and finished first, before starting later

[issue10976] json.loads() raises TypeError on bytes object

2013-10-18 Thread Nick Guenther
Changes by Nick Guenther n...@kousu.ca: -- nosy: +kousu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10976 ___ ___ Python-bugs-list mailing list

[issue19282] dbm is not a context manager

2013-10-18 Thread Nick Guenther
New submission from Nick Guenther: This code doesn't work. I think it should. import dbm with dbm.open(what is box.db, c) as db: db[Bpoind] = Boing Indeed, there is nothing supporting PEP 343 for dbm on my system: [kousu@galleon ~]$ grep -r __exit__ /usr/lib/python3.3/dbm

[issue19248] sphinx is not py3k compatible

2013-10-13 Thread Nick Guenther
New submission from Nick Guenther: I'm running Arch. I just checked out python's hg and tried to build the docs, and found that I couldn't: $ cd cpython/doc $ make update [lots of output stripped] $ make pydoc-topics mkdir -p build/pydoc-topics build/doctrees python tools/sphinx-build.py -b

[issue19248] sphinx is not py3k compatible

2013-10-13 Thread Nick Guenther
Nick Guenther added the comment: I see that in Doc/tools/sphinx-build.py there is this check: if sys.version_info[:3] (2, 4, 0): sys.stderr.write(\ Error: Sphinx needs to be executed with Python 2.4 or newer (not 3.0 though). (If you run this from the Makefile, you can set

[issue19250] Duplicate import documentation in py3k

2013-10-13 Thread Nick Guenther
New submission from Nick Guenther: Python3's docs given by help(import) duplicate these two paragraphs: The *public names* defined by a module are determined by checking the module's namespace for a variable named ``__all__``; if defined, it must be a sequence of strings which are names

[issue19250] Duplicate import documentation in py3k

2013-10-13 Thread Nick Guenther
Nick Guenther added the comment: Thank you. Sorry for the duplicates. I tried to search the bug tracker but nothing stood out to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19250

[issue2529] list/generator comprehension parser doesn't match spec

2008-04-02 Thread Nick Guenther
Nick Guenther [EMAIL PROTECTED] added the comment: Oh, okay. That's really confusing because I expect in to always return a bool, but in the spirit of python there's no reason it should I guess. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2529

[issue2529] list/generator comprehension parser doesn't match spec

2008-04-01 Thread Nick Guenther
New submission from Nick Guenther [EMAIL PROTECTED]: I think I've found a bug in python's list comprehension parser. Observe: [e for i in j in ['a','b','c']] Traceback (most recent call last): File stdin, line 1, in module NameError: name 'j' is not defined Now, according to the grammar