[issue34167] Standard library docs: prev/next skip right over 16.11

2018-07-20 Thread Eric Janson
New submission from Eric Janson : Hitting next from 16.10 in standard library online docs jumps to 16.12. Previous goes from 16.12 back to 16.10. Curses.Textpad(16.11) must be random-accessed. -- assignee: docs@python components: Documentation messages: 322002 nosy: Eric Janson,

[issue34166] Tools/msgfmt.py emits a DeprecationWarning under Python 3.7

2018-07-20 Thread Lele Gaifax
New submission from Lele Gaifax : $ python3.7 msgfmt.py -o test.mo test.po msgfmt.py:199: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. output = generate() -- components: Demos and Tools messages: 322001 nosy: lelit priority: normal severity: normal status:

[issue34163] Python latest release 2.7 shows SSL error

2018-07-20 Thread Michael Felt
Michael Felt added the comment: There is a big chance it is not a direct issue with either python or pip / rather an issue with how current your "openssl" setup is. As an example, using git I was not able to "pull" from a remote. This git (that also depends on python) has been working for

[issue34157] NamedTemporaryFile can leave temporary files behind

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, this is a specific case of the general issue noted in https://bugs.python.org/issue29988 (while it may be partially mitigated by https://bugs.python.org/issue32949, it isn't a guarantee) -- resolution: -> duplicate stage: -> resolved status:

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Note that an alternative option for clarifying the status of the "Are they types or factory functions?" builtins would be for someone to review https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy and compare it to the builtins

[issue34118] Fix some class entries in 'Built-in Functions'

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Marking memoryview, range, and tuple explicitly as classes, and making the initial phrasing in the docs consistent across all the builtin collection/container types sounds like a good improvement to me. I agree with Raymond that we should leave whether or not

[issue29710] Incorrect representation caveat on bitwise operation docs

2018-07-20 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, "the internal representation" was meant to refer a hypothetical representation, rather than literally to CPython's actual implementation, but now that you point it out, I agree my wording is ambiguous. I like Tim's suggested replacement:

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2018-07-20 Thread Orlando
Orlando added the comment: Thanks, Mariatta and Windson. I'll make a PR for the change. -- ___ Python tracker ___ ___

[issue34165] uu.decode() raises binascii.Error instead of uu.Error on invalid data

2018-07-20 Thread Jussi Judin
New submission from Jussi Judin : uu.decode() function can leak the internal binascii.Error exception from binascii.a2b_uu() function call instead of the documented uu.Error exception. Following code demonstrates the issue: >>> import uu >>> with open("in.uu", "wb") as fp: ...

[issue33635] OSError when using pathlib.Path.rglob() to list device files

2018-07-20 Thread Windson Yang
Windson Yang added the comment: I tried to fix this issue and I found this should be related to os.stat() in os.py. But I can't find the os.stat() API in the file, any ideas? -- nosy: +Windson Yang ___ Python tracker

[issue34164] base64.b32decode() leads into UnboundLocalError and OverflowError on some data

2018-07-20 Thread Jussi Judin
Jussi Judin added the comment: Apparently base64.b32decode() also has another issue that I missed when going through the issues with base64 module: >>> import base64 >>> base64.b32decode(b"M===") Traceback (most recent call last): File "", line 1, in File

[issue34164] base64.b32decode() leads into UnboundLocalError on some data

2018-07-20 Thread Jussi Judin
New submission from Jussi Judin : base64.b32decode() function leads into "UnboundLocalError: local variable 'acc' referenced before assignment" when passing 8 equality signs as data: >>> import base64 >>> base64.b32decode(b"") Traceback (most recent call last): File "", line 1, in

[issue34161] (good first issue) Tutorial 7.1 str.format() code example syntax error

2018-07-20 Thread Windson Yang
Windson Yang added the comment: Hi, Orlando, this link maybe useful: https://devguide.python.org/documenting/ -- nosy: +Windson Yang ___ Python tracker ___

[issue34100] Same constants in tuples are not merged while compile()

2018-07-20 Thread INADA Naoki
INADA Naoki added the comment: This is another memory overhead comparison. It seems merging constants reduces 2~3% memory usage. import sys, django, flask sys._debugmallocstats() ### master branch class size num pools blocks in use avail blocks - -

[issue34160] ElementTree not preserving attribute order

2018-07-20 Thread Stefan Behnel
Stefan Behnel added the comment: At least for lxml, attributes were never specified to have a sorted order (although attribute dicts are sorted on *input*, to give a *predictable* order as in ET), and the tutorial says: "Attributes are just unordered name-value pairs". However, I still

[issue30928] Copy modified blurbs to idlelib/NEWS.txt for 3.7.0

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> idlelib/NEWS.txt for 3.8.0 (and backports) ___ Python tracker

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Follow-up to #30928. First patch has to be backported by hand to adjust headers for each version. After that, 2 blanks after uniform length separator allows auto backports, except for further version-specific header changes or code patches. --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 917696242b2d1c7cf4cba660fa6a29c30667e6da by Terry Jan Reedy in branch '3.6': [3.6] bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8348) https://github.com/python/cpython/commit/917696242b2d1c7cf4cba660fa6a29c30667e6da

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 97c079c19a83881c88b56b95c545207f9ab51f6e by Terry Jan Reedy in branch '3.7': bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) (GH-8347) https://github.com/python/cpython/commit/97c079c19a83881c88b56b95c545207f9ab51f6e --

[issue34159] asyncio basic event loop stuck with no tasks scheduled or ready

2018-07-20 Thread Windson Yang
Windson Yang added the comment: Would you mind adding an example file? -- nosy: +Windson Yang ___ Python tracker ___ ___

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7883 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +7882 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-07-20 Thread Terry J. Reedy
New submission from Terry J. Reedy : New changeset 2c5c0a367c6ca648178072240fe0a32848636da6 by Terry Jan Reedy in branch 'master': bpo-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345) https://github.com/python/cpython/commit/2c5c0a367c6ca648178072240fe0a32848636da6 --

[issue33729] Hashlib/blake2* missing 'data' keyword argument

2018-07-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7881 stage: -> patch review ___ Python tracker ___ ___

<    1   2