[issue30340] Optimize out non-capturing groups

2017-05-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue30299] Display the bytecode when compiled a regular expression in debug mode

2017-05-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue30358] Profile documentation - include sort argument for runctx

2017-05-13 Thread Berker Peksag
New submission from Berker Peksag: For future reference, this was also reported by Chris Cummins on docs@p.o at https://mail.python.org/pipermail/docs/2017-May/031420.html -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.5, Python 3.6

[issue29895] Distutils blows up with an incorrect pypirc, should be caught

2017-05-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, Tommy. I think the configparser exception is pretty descriptive here. You had a .pypirc file like the following: [distutils] index-servers = pypi global [pypi] username:spam password:eggs You passed -r gl

[issue30299] Display the bytecode when compiled a regular expression in debug mode

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4ab6abfca4d6e444cca04821b24701cde6993f4e by Serhiy Storchaka in branch 'master': bpo-30299: Display a bytecode when compile a regex in debug mode. (#1491) https://github.com/python/cpython/commit/4ab6abfca4d6e444cca04821b24701cde6993f4e --

[issue29877] compileall hangs when accessing urandom even if number of workers is 1

2017-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +Claudiu.Popa, brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29898] PYTHONLEGACYWINDOWSIOENCODING isn't implemented

2017-05-13 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +1669 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue30340] Optimize out non-capturing groups

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 821a9d146bc04a1bc1a9807962990a1f59d692b8 by Serhiy Storchaka in branch 'master': bpo-30340: Enhanced regular expressions optimization. (#1542) https://github.com/python/cpython/commit/821a9d146bc04a1bc1a9807962990a1f59d692b8 -- __

[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It doesn't look fixed. I found this issue because I got a report about buildbot failure from build...@python.org yesterday. http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%202.7/builds/81/steps/test/logs/stdio test_random is failed when read *

[issue30360] getpass.getpass() does not except stdin from an Expect script

2017-05-13 Thread brent saner
brent saner added the comment: NOTE: the example scripts given are for py3k, obviously. these should work (or rather, "not work") for 2. of course, you'll also have to mark the poc.py as executable as well for both. -- Added file: http://bugs.python.org/file46862/expect-getpass2.poc.ta

[issue30360] getpass.getpass() does not except stdin from an Expect script

2017-05-13 Thread brent saner
New submission from brent saner: This is reproducible on both 2.7.13 and 3.6.1. Please refer to the attached files for demonstration. It seems that when I spawn a python script using getpass.getpass() from expect (http://expect.sourceforge.net/ - I'm using version 5.45), the input is not pass

[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread STINNER Victor
STINNER Victor added the comment: Oh I forgot to cmose this old issue. It was fixed in the meanwhile. @Serhiy: if you saw a bug recently, please open a new issue. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-13 Thread David K. Hess
David K. Hess added the comment: Pushed more commits so here's a branch compare: https://github.com/python/cpython/compare/master...davidkhess:fix-issue-4963 -- ___ Python tracker __

[issue30323] concurrent.futures.Executor.map() consumes all memory when big generators are used

2017-05-13 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is a strict duplicate of #29842, for which I've had a PR outstanding for a couple months now. -- nosy: +josh.r ___ Python tracker ___

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2017-05-13 Thread David K. Hess
David K. Hess added the comment: Ok, I followed @r.david.murray's advice and decided to take a shot at this. First, I noticed that I couldn't reproduce the non-deterministic behavior that I reported above on the latest code (i.e. pre-3.7). After doing some research it appears this was the sequ

[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Too bad the checkin message didn't say why the feature was deprecated. That said, if anyone cared, they would have spoken-up by now. -- ___ Python tracker ___

[issue29863] Add a COMPACT constant to the json module

2017-05-13 Thread Brett Cannon
Brett Cannon added the comment: Obviously Bob can re-open this if he disagrees with the general sentiment against this idea, but since I doubt he will disagree I'm going to save him some effort and close this issue. Thanks to Andrew for taking the time to writing the PR and being patient while

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Jim, are you up for preparing the backport to 2.7? I came across a conflict while doing so with cherry_picker.py, and don't have the bandwidth to resolve it for now. Otherwise, I'll look into the 2.7 backport after PyCon. Thanks :) --

[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The deprecation was added in 368c0b22f8e43709afbbc3805f55ceffed127212. The comment added in 4c3d054d3d3fa693e4eff4574ab8e98772bd66cd said that Dict was kept for compatibility with Python 2.2. -- ___ Python tracker

[issue30346] Odd behavior when unpacking `itertools.groupby`

2017-05-13 Thread Tim Peters
Tim Peters added the comment: Users certainly have been fooled by this, although "unpacking" is a red herring. I've been burned by it, and I've seen StackOverflow puzzles related to the same thing. I think this is the heart of it: given a finite iterable I, it usually makes no semantic diff

[issue29570] Windows Buildbot 2.7 is broken

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_bug_1727780 failure looks related to newlines conversion. -- nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue30262] Don't expose sqlite3 Cache and Statement

2017-05-13 Thread Aviv Palivoda
Aviv Palivoda added the comment: I opened a separate PR for the deprecation of the Cache and Statement. > I would think you could replace those entries with calls to wrapper functions > that issue the deprecation and then call the real function. I made wrapper deprecation classes that issue

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 600c5ad53c0112d48581c48f986ea04676a28c44 by Mariatta in branch 'master': bpo-30178: Add Jim Fasarakis-Hilliard to Misc/ACKS (GH-1572) https://github.com/python/cpython/commit/600c5ad53c0112d48581c48f986ea04676a28c44 --

[issue30262] Don't expose sqlite3 Cache and Statement

2017-05-13 Thread Aviv Palivoda
Changes by Aviv Palivoda : -- pull_requests: +1668 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ronald, I'm curious about why was the attribute access capability was ever deprecated. That capability seemed nice to have. -- nosy: +rhettinger ___ Python tracker ___

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1667 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1666 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1665 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: patch review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset c71168090df435c1eb8c03005b11df764cd7ebd6 by Mariatta (Jim Fasarakis-Hilliard) in branch 'master': bpo-30178: Indent methods and attributes of MimeType class (GH-1306) https://github.com/python/cpython/commit/c71168090df435c1eb8c03005b11df764cd7eb

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review versions: +Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Pytho

[issue29950] Rename SlotWrapperType to WrapperDescriptorType

2017-05-13 Thread Jim Fasarakis-Hilliard
Changes by Jim Fasarakis-Hilliard : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-13 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: bump -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2017-05-13 Thread Niklas Hambüchen
Niklas Hambüchen added the comment: For people who pass by, this issue has been taken on again in: https://bugs.python.org/issue9998 -- nosy: +nh2 ___ Python tracker ___

[issue11681] -b option undocumented

2017-05-13 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the patch, Greg! I implemented Nick's suggestions and merged it. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue11681] -b option undocumented

2017-05-13 Thread Zachary Ware
Zachary Ware added the comment: New changeset f6c6d1e2304a06efdf65c60c3e1c6bbe1f192fd0 by Zachary Ware in branch '2.7': bpo-11681: Document the `-b` and `-bb` options (GH-1562) https://github.com/python/cpython/commit/f6c6d1e2304a06efdf65c60c3e1c6bbe1f192fd0 -- nosy: +zach.ware _

[issue28595] shlex.shlex should not augment wordchars

2017-05-13 Thread Evan Andrews
Evan Andrews added the comment: Do I need to create a pull request for this? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Eryk Sun
Changes by Eryk Sun : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Eryk Sun
Changes by Eryk Sun : -- resolution: -> out of date stage: -> resolved status: open -> pending ___ Python tracker ___ ___ Python-bug

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue30280] Warning -- threading._dangling was modified by test_asyncio on FreeBSD 9 and 10

2017-05-13 Thread Kubilay Kocak
Changes by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue30291] Allow windows launcher to specify bit lengths with & without minor version

2017-05-13 Thread Steve Barnes
Steve Barnes added the comment: Closing as committed in https://github.com/python/cpython/commit/870f6a11dd3b2d5455f7057ce0d9c2cd31acc2f2 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7e19dbc92ec06a987eaae72f7cdfd32006aa4960 by Serhiy Storchaka in branch 'master': bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (#506) https://github.com/python/cpython/commit/7e19dbc92ec06a987eaae72f7cdfd32006aa4960 -

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: This is on my list of things to review at PyCon, when I should finally have some free time. -- ___ Python tracker ___ __

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: I'm okay with this change. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist
Sophist added the comment: http://stackoverflow.com/questions/23125857/python-os-path-exists-cant-locate-the-file-however-the-file-indeed-exsits gave me an explanation: That when running 32-bit apps on Win 64 C:\Windows\SysWOW64 is mapped to C:\Windows\system32. Copying the missing DLL to Sys

[issue28974] Make default __format__ be equivalent to __str__

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What are your thoughts about this Eric? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Eric? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue29196] Remove old-deprecated plistlib features

2017-05-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What are your thoughts about this Ronald? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist
Changes by Sophist : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist
Changes by Sophist : -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-l

[issue16283] ctypes.util.find_library does not find all DLLs anymore

2017-05-13 Thread Sophist
Sophist added the comment: Finding it impossible for PIP to install discid. Tracked it down to this issue i.e. os.path.isfile('C:\Windows\system32\discid.dll') == False when the dll exists. Some other dlls in that directory result in True and some in False. I cannot see any significant differ

[issue30355] Unicode symbols crash lib2to3.parse

2017-05-13 Thread Xiang Zhang
Xiang Zhang added the comment: Why? Unicode identifiers are not allowed in 2.x. I don't think lib2to3 is able or responsible to parse invalid syntax source codes. -- nosy: +xiang.zhang ___ Python tracker _

[issue30353] ctypes: pass by value for structs broken on Cygwin/MinGW 64-bit

2017-05-13 Thread Xiang Zhang
Xiang Zhang added the comment: Looks same as #29804. -- nosy: +vinay.sajip, xiang.zhang ___ Python tracker ___ ___ Python-bugs-list ma