[issue30977] reduce uuid.UUID() memory footprint

2018-09-07 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8560 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue28307] Accelerate 'string' % (value, ...) by using formatted string literals

2018-09-07 Thread Tal Einat
Tal Einat added the comment: I'm +1 on this optimization. -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-09-07 Thread STINNER Victor
STINNER Victor added the comment: I was waiting for the encoding fix to close this issue, but bpo-34604 has been created. -- ___ Python tracker ___ __

[issue34606] Unable to read zip file with extra

2018-09-07 Thread Kyle Altendorf
Kyle Altendorf added the comment: Python 3.7 works with 2-byte elements, I managed to find the wrong section in the doc-linked docs. 4.5 Extensible data fields -- 4.5.1 In order to allow different programs and different types of information to be

[issue34546] Add encryption support to zipfile

2018-09-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue34609] Idle Unitest

2018-09-07 Thread Tal Einat
Tal Einat added the comment: Testing similarly to Terry, this doesn't reproduce with a recent build of master branch (3.8) on Ubuntu 16.04. I'll be able to try a build of older versions with IDLE only in a few days. -- ___ Python tracker

[issue34606] Unable to read zip file with extra

2018-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Right, the correct section is 4.5. All integers in ZIP files are unsigned and in the little endian format. -- ___ Python tracker ___ _

[issue34606] Unable to read zip file with extra

2018-09-07 Thread Vladimir Matveev
Change by Vladimir Matveev : -- pull_requests: +8561 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue25514] Improve IDLE's "subprocess didn't make connection" message

2018-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Module shadowing can affect either the gui process or the run process. #34584 was the latter: debug_obj imports rpc imports socket imports selectors imports math, which was shadowed. Pyshell starts run. If run starts OK but cannot connect to pyshell, it d

[issue34595] PyUnicode_FromFormat(): add %T format for an object type name

2018-09-07 Thread STINNER Victor
STINNER Victor added the comment: > In some cases we have the type itself, not an instance. So it makes sense to > make %T an equivalent of arg->tp_name instead of Py_TYPE(arg)->tp_name. "arg->tp_name" is rare in the code base, whereas "Py_TYPE(arg)->tp_name" is a very common pattern. I'm n

[issue34584] IDLE 3.7.0 on Mac cannot open subprocess

2018-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: idlelib/run.py imports math through about 3 intermediaries. Hence it failed, and pyshell displayed the message in the .png. Both modules can raise failure messages. In #25514, the run.py message was revised to point to a new section of the doc: "Startup f

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +8562 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2018-09-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33083] math.factorial accepts non-integral Decimal instances

2018-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +8563 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34584] IDLE 3.7.0 on Mac cannot open subprocess

2018-09-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2018-09-07 Thread Berker Peksag
Berker Peksag added the comment: New changeset 4e519377b1b84c9414a360961276993d24198825 by Berker Peksag (Zackery Spytz) in branch 'master': bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) https://github.com/python/cpython/commit/4e519377b1b84c9414a360961276993d24198825

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2018-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +8564 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76 by Pablo Galindo (Pablo Aguiar) in branch 'master': bpo-34246: Use no mutable default args in smtplib (GH-8554) https://github.com/python/cpython/commit/d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76 -

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +8565 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wouldn't be better to use %R? The name can contain invisible characters or trailing whitespaces, in which case the traceback can look confusing. Since names are likely created with PyUnicode_DecodeFSDefault(), they can contain undecodable bytes represented

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread STINNER Victor
STINNER Victor added the comment: %R sounds like a good idea, but I suggest to only use %R in the master branch. -- ___ Python tracker ___

[issue34007] test_gdb fails in s390x SLES buildbots

2018-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 963bcc8b71e4ab8c9ee9a91ed1300b6e39219821 by Pablo Galindo in branch '3.6': [3.6] bpo-34007: Skip traceback tests if the Program Counter is not available. (GH-9022) https://github.com/python/cpython/commit/963bcc8b71e4ab8c9ee9a91ed1300b6e

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2018-09-07 Thread miss-islington
miss-islington added the comment: New changeset 73994077250bd70385cb8e7a92f24874129369d1 by Miss Islington (bot) in branch '3.7': bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038) https://github.com/python/cpython/commit/73994077250bd70385cb8e7a92f24874129369d1 --

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread miss-islington
miss-islington added the comment: New changeset 9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c by Miss Islington (bot) in branch '3.7': bpo-34246: Use no mutable default args in smtplib (GH-8554) https://github.com/python/cpython/commit/9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c -- nosy: +m

[issue34605] Avoid master/slave terminology

2018-09-07 Thread Stefan Krah
Stefan Krah added the comment: I'm using "master" in memoryview because of the audio connotation ("the source from which all copies will be produced"): https://en.wikipedia.org/wiki/Audio_mastering The ManagedBufferObject is literally the source from which all views are produced. Conduc

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +8566 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5b7a2cb5caeb7df68e637f45a98632cbc84a51bf by Pablo Galindo in branch 'master': bpo-34246: Make sure test_smtplib always cleans resources when finished (GH-9108) https://github.com/python/cpython/commit/5b7a2cb5caeb7df68e637f45a98632cbc84a

[issue33083] math.factorial accepts non-integral Decimal instances

2018-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fa221d804f1bc07d992f820069bad24f176ed66d by Pablo Galindo in branch 'master': bpo-33083: Update "What's new" with math.factorial changes (GH-9109) https://github.com/python/cpython/commit/fa221d804f1bc07d992f820069bad24f176ed66d ---

[issue34610] Incorrect iteration of Manager.dict() method of the multiprocessing module.

2018-09-07 Thread deltaclock
New submission from deltaclock : The manager class of the multiprocessing module doesnt implement __next__ or __iter__ on its dictionary method and relies on using __getitem__. This results in an unexpected functionality of an object that is supposed to act like a dict, and instead of looping

[issue34609] Idle Unitest

2018-09-07 Thread Cheryl Sabella
Cheryl Sabella added the comment: I have Python 3.6.5 on Ubuntu 18.04. Initially, I was unable to recreate the issue. However, issue33065 from 4 months ago has the same trace (except on a different import), so I tried stepping through debug using the minimal example that Terry gave and suc

[issue34609] Idle Unitest

2018-09-07 Thread Cheryl Sabella
Cheryl Sabella added the comment: Just to help track this down, 'import math' does not cause the trace, but 'import email' does. It seems to be modules that have a loader function. My guess (but I haven't tried it yet) is that this would happen if stepping through pdb outside of IDLE too.

[issue34605] Avoid master/slave terminology

2018-09-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: I strongly disagree with this as a general principle. "Master/slave" is a powerful, obvious metaphor which works well and is not the same as parent/child, server/client or employer/worker. In fact, in the BDSM subcultures, "master/slave" can have *positive*

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset eb6ab73f93c8b883a8d75a83560e2b4c59170d95 by Pablo Galindo in branch '3.6': [3.6] bpo-34246: Use no mutable default args in smtplib (GH-8554) (#9112) https://github.com/python/cpython/commit/eb6ab73f93c8b883a8d75a83560e2b4c59170d95 -

[issue34246] Gentoo Refleaks 3.7: test_smtplib has dangling threads

2018-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue23855] Missing Sanity Check for malloc() in PC/_msi.c

2018-09-07 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.6 ___ Python tracker ___

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2018-09-07 Thread Vladimir Matveev
Vladimir Matveev added the comment: I can repro it with a given sample file ``` vladima-mbp $ cat test.c #include #include #include #include #include int main() { struct rlimit rl; if(getrlimit(RLIMIT_STACK, &rl) < 0) { perror("getrlimit"); exit(1); } rl.rlim_cur = rl.rl

[issue34608] gc.get_referrers behavior change 3.6 to 3.7

2018-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Likely fallout from 5a625d0aa6a6d9ec6574ee8344b41d63dcb9897e. get_referrers() doesn't really guarantee anything. It's more of a clever hack based on however the Python GC works at the moment. So, this it probably WONTFIX. -- nosy: +benjamin.peter

<    1   2