[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-23 Thread Andrew Jaffe
Andrew Jaffe added the comment: Yes, it's a weird bug. see http://www.andrewjaffe.net/blog/2017/05/python-bug-hunt.html for more of the story so far. I have already filed a radar, and I hope this will get fixed at Apple, but it's a bug we need to live with for a while one way or the other.

[issue30429] bdb and pdb: Add watchpoint function

2017-05-23 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1841 ___ Python tracker ___ ___ Python-bugs-list

[issue21074] Too aggressive constant folding

2017-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See the patch in issue30416. I'm not sure these checks should be added to the peephole optimizer, but this isn't very difficult. -- nosy: +serhiy.storchaka ___ Python tracker

[issue30435] Documentation either unclear or incorrect on comparisons between bytes and strings in Python 3

2017-05-23 Thread Martin Panter
Martin Panter added the comment: Also, “-bb” turns it into an exception, and the same applies to bytes vs int: >>> b"a" == "a" Traceback (most recent call last): File "", line 1, in BytesWarning: Comparison between bytes and string >>> b"a" == 0x61 Traceback (most recent call last): File

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +1843 ___ Python tracker ___ ___

[issue29321] Wrong documentation (Language Ref) for unicode and str comparison

2017-05-23 Thread Martin Panter
Martin Panter added the comment: I backported Issue 12067 documentation, so hopefully this is fixed. -- resolution: -> out of date stage: -> resolved status: open -> closed superseder: -> Doc: remove errors about mixed-type comparisons. ___ Python

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-05-23 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1842 ___ Python tracker ___ ___

[issue29102] Add an id field to PyInterpreterState.

2017-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change added a compiler warning. ./Programs/_testembed.c: In function ‘print_subinterp’: ./Programs/_testembed.c:31:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int64_t {aka long long int}’

[issue30423] [asyncio] orphan future close loop and cause "RuntimeError: Event loop stopped before Future completed."

2017-05-23 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +1844 ___ Python tracker ___ ___

[issue30431] input function truncates prompt by NULL byte

2017-05-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> patch review versions: -Python 3.3, Python 3.4, Python 3.5 ___ Python tracker

[issue30429] bdb and pdb: Add watchpoint function

2017-05-23 Thread Louie Lu
Louie Lu added the comment: watch and awatch will detect value change and breakout, rwatch using dis module to get the file bytecode, with the lineno it can detect current line is load (read) or not. -- ___ Python tracker

[issue20825] containment test for "ip_network in ip_network"

2017-05-23 Thread Aleksandr Balezin
Aleksandr Balezin added the comment: I've reviewed this patch and want to make some advices. - hasattr is unwanted here. There is no any similar usage hasattr in this module. Also before hasattr there is a call of _ipversion method. If other is not instance of BaseNetwork it will raise

[issue30437] SSL_shutdown can return meaningless SSL_ERROR_SYSCALL

2017-05-23 Thread Martin Panter
Martin Panter added the comment: Maybe Issue 10808? -- nosy: +martin.panter ___ Python tracker ___ ___

[issue30440] document peephole optimizer effects

2017-05-23 Thread Andrew Dalke
Changes by Andrew Dalke : -- nosy: -dalke ___ Python tracker ___ ___

[issue30440] document peephole optimizer effects

2017-05-23 Thread Andrew Dalke
New submission from Andrew Dalke: The peephole optimizer is an overall benefit to Python but it has some side-effects that occasionally cause problems. These are well-known in the issue tracker, but there is no other documentation which will help a Python programmer figure out which

[issue30416] constant folding opens compiler to quadratic time hashing

2017-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yet another proof that performance improvements should *not* be committed to bugfix branches. Please, can someone learn a lesson? -- ___ Python tracker

[issue30416] constant folding opens compiler to quadratic time hashing

2017-05-23 Thread Mark Dickinson
Mark Dickinson added the comment: After testing on Python 2, I was surprised to discover that this issue was introduced to the 2.x series quite recently: 2.7.11 doesn't have the issue, while 2.7.13 does. The culprit appears to be this commit:

[issue30403] Running extension modules using -m switch

2017-05-23 Thread Marcel Plch
Changes by Marcel Plch : -- pull_requests: +1845 ___ Python tracker ___ ___

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-23 Thread Osvaldo Santana Neto
New submission from Osvaldo Santana Neto: We're facing ocasional RuntimeError exceptions in a multithreaded application when one of the threads creates new entries to the environment (os.environ). I'm not so sure if the attached patch fixes this issue the right way, so, feel free to propose

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-23 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Even with the patch, I don't think it's safe to modify os.environ while it's being accessed concurrently in another thread. The other thread's modification could arrive while the dict() call in your patch is running (in CPython the GIL might protect you, but

[issue21074] Too aggressive constant folding

2017-05-23 Thread Andrew Dalke
Andrew Dalke added the comment: Again, I do not propose any changes to the existing optimizer. I do not need anything changed for my code to work. My goal is to counter-balance comments which suggest that perfectly normal code is somehow folly and arcane. These caused me some bewilderment and

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-23 Thread Danilo Shiga
Changes by Danilo Shiga : -- nosy: +Danilo Shiga ___ Python tracker ___ ___

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: New changeset 9bcf81da1436468c3c5e500ae36678a2ad675e32 by Kushal Das in branch '3.6': [3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746) https://github.com/python/cpython/commit/9bcf81da1436468c3c5e500ae36678a2ad675e32 --

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: New changeset 8af0a214be7c0c921ba5ce5c11043dd5b5da9211 by Kushal Das in branch '3.5': [3.5] bpo-30376: Update outdated WindowObject references (GH-1630) (#1747) https://github.com/python/cpython/commit/8af0a214be7c0c921ba5ce5c11043dd5b5da9211 --

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 56bc3b768c3cc3817031b56d5e7a279aa1296bc9 by Gregory P. Smith in branch 'master': bpo-29335 - apply suggested test_subprocess simplifications from haypo and Zach: (#1757)

[issue25430] speed up ipaddress __contain__ method

2017-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hi Aleksandr, well, sorry for the detail. We now use GitHub for patch submission, would you like to submit a PR at https://github.com/python/cpython/ (see devguide at https://cpython-devguide.readthedocs.io/ for more information). If you don't want to do

[issue25430] speed up ipaddress __contain__ method

2017-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: s/sorry for the detail/sorry for the delay/ -- ___ Python tracker ___ ___

[issue30407] ipaddress ver. 1.0.14 IPv4Network off by 1

2017-05-23 Thread kelly hirai
kelly hirai added the comment: i thought it was inconsistent that 192.168.1.0 was included, but 192.168.0.0 was not. -- ___ Python tracker ___

[issue21074] Too aggressive constant folding

2017-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: > "I apologize if you were offended", which I will take as being sincere, > happens to also be one of the most common examples of an insincere apology. > Bowing out when there is a reference to the CoC gives undue power to others, > and hinders the ability to

[issue30405] build.bat: register binaries for py launcher

2017-05-23 Thread Steve Dower
Steve Dower added the comment: > Steve, I gather you don't think it's a problem to use arbitrarily named tags > on the command line. The launcher shouldn't look for an "h" tag for `py -h` Sure, we can reserve some tags - the -x/y syntax would let you refer to a conflicting one. But other than

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

2017-05-23 Thread Erik Bray
Erik Bray added the comment: Iryna, I updated the pull request with a slightly updated fix. Could you confirm again, when you get a chance, that it works for arm64? Thanks. -- ___ Python tracker

[issue21074] Too aggressive constant folding

2017-05-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: -pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Eric Snow added the comment: The change in Lib/test/coding20731.py was the result of running PCbuild/fix_encoding.py. -- status: open -> pending ___ Python tracker

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-23 Thread Joel Hillacre
Joel Hillacre added the comment: r.david.murray, How would a test would have a reference to after an exception in the smtplib.SMTP.__init__()? -- ___ Python tracker

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-23 Thread Louis Brandy
Louis Brandy added the comment: Thanks to everyone jumping in. I need no convincing that mixing forks and threads isn't just a problem but a problem factory. Given that the rest of this code seems to try to avoid similar deadlocks with similar mutexes, I figured we'd want to include this

[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

2017-05-23 Thread Osvaldo Santana Neto
Osvaldo Santana Neto added the comment: I agree with Jelle about the fix's implementation. But I disagree of suggestion to implement lock at the application side. I disagree because some external libraries may want to access os.environ in a concurrent fashion without lock acquiring. That's

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-23 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, sorry - I merged the PR before seeing the discussion about the limit over here. I'd be fine with replacing the sys.getrecursionlimit() call with a module level constant like "_UNWRAP_LIMIT = 500". If someone desperately needed a higher limit for some

[issue30442] Skip test_xml_etree under coverage

2017-05-23 Thread Kushal Das
New submission from Kushal Das: test test_xml_etree failed -- Traceback (most recent call last): File "/home/travis/build/python/cpython/Lib/test/test_xml_etree.py", line 1553, in test_bug_xmltoolkit63 self.assertEqual(sys.getrefcount(None), count) AssertionError: 522146 != 522143 Under

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-23 Thread Mark Shannon
Mark Shannon added the comment: This is either a "won't fix" or an "impossible to fix" depending on your point of view. PATIENT: It hurts whenever I press ctrl-C DOCTOR: Then don't press ctrl-C The problem is that ctrl-C can provoke an interrupt at any point in the program, and

[issue30442] Skip test_xml_etree under coverage

2017-05-23 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1848 ___ Python tracker ___ ___

[issue30438] tarfile would fail to extract tarballs with files under R/O directories

2017-05-23 Thread Catherine Devlin
Catherine Devlin added the comment: I confirmed the error, and that doing the corresponding tar/untar cycle with the command-line `tar` utility succeeds. issue_30438_test.patch adds a unittest version of Yaroslav's demo file to test_tarfile.py. (It's irrelevant if the PR is merged.) This

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2017-05-23 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +1851 ___ Python tracker ___ ___

[issue30436] importlib.find_spec raises AttributeError/ModuleNotFoundError when parent is not a package/module

2017-05-23 Thread Brett Cannon
Brett Cannon added the comment: The key thing to think about is do you think find_spec("parent.module") is working with a single thing called "parent.module" or is it working with two separate things of "parent" and "module" which happens to be contained on "parent"? If you take the former

[issue25532] infinite loop when running inspect.unwrap over unittest.mock.call

2017-05-23 Thread Yury Selivanov
Yury Selivanov added the comment: > I'd be fine with replacing the sys.getrecursionlimit() call with a module > level constant like "_UNWRAP_LIMIT = 500". TBH I'm OK either way. `sys.getrecursionlimit()` is 1000 (at least on my machine), which might be a bit too much for this specific

[issue30273] The coverage job is broken: distutils build_ext fails on None

2017-05-23 Thread Brett Cannon
Brett Cannon added the comment: Can this be closed? -- nosy: +brett.cannon ___ Python tracker ___ ___

[issue28401] Don't support the PEP384 stable ABI in pydebug builds

2017-05-23 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1847 ___ Python tracker ___

[issue28401] Don't support the PEP384 stable ABI in pydebug builds

2017-05-23 Thread Brett Cannon
Brett Cannon added the comment: So limited ABI modules can't be imported by a Py_DEBUG build. Stefano's patch just skips over them. That seems reasonable, but one question I do have is whether this would confuse users since they will simply get an ImportError instead of some other error and

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This change should be reverted. Lib/test/coding20731.py intentionally should have the CRLF lines separator. -- ___ Python tracker

[issue30440] document peephole optimizer effects

2017-05-23 Thread Emily Morehouse
Emily Morehouse added the comment: Raymond, I'm willing to take over this issue with your guidance if you're open to it. -- nosy: +emilyemorehouse, rhettinger ___ Python tracker

[issue28401] Don't support the PEP384 stable ABI in pydebug builds

2017-05-23 Thread Stefano Rivera
Stefano Rivera added the comment: > whether this would confuse users since they will simply get an ImportError > instead of some other error and thus will they be able to realize why there's > a problem? It's the same behaviour we have for any other module on the import path, that doesn't

[issue30436] importlib.find_spec raises AttributeError/ModuleNotFoundError when parent is not a package/module

2017-05-23 Thread tkhyn
tkhyn added the comment: Ok, thanks for the reply. Actually the thing that bothered me was the AttributeError exception. I would probably not have opened a ticket should find_spec have raised a ModuleNotFoundError (in line with import_module). Would you consider catching the AttributeError

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread Ned Deily
Ned Deily added the comment: Unfortunately, with the tests reenabled, they still fail with the most recent release of macOS 10.12 (10.12,5) so perhaps the curl issue was a different problem? -- ___ Python tracker

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Eric Snow added the comment: New changeset e0918ecf93a458d4e005650f816d64654e73fc2a by Eric Snow in branch 'master': bpo-22257: Fix CLI by using int instead of char (compares to EOF). (#1765) https://github.com/python/cpython/commit/e0918ecf93a458d4e005650f816d64654e73fc2a --

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1846 status: pending -> open ___ Python tracker ___

[issue30273] The coverage job is broken: distutils build_ext fails on None

2017-05-23 Thread STINNER Victor
STINNER Victor added the comment: Can someone please check if the job pass on all branches? If yes, please close the issue. -- ___ Python tracker ___

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-23 Thread R. David Murray
R. David Murray added the comment: Duh. (Smacks self on forehead). Nevermind. I'll approve the patch as is, since I can't see any good way to test it. (I suppose that we could factor the __init__ method contents out into something we could test, but I'm not going to push for that kind of

[issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE

2017-05-23 Thread Brian Ward
Changes by Brian Ward : -- nosy: +Brian Ward ___ Python tracker ___ ___ Python-bugs-list

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Eric Snow added the comment: reverting the change to that test: https://github.com/python/cpython/pull/1770 -- ___ Python tracker ___

[issue30445] test_traceback fails in coverage run

2017-05-23 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware stage: -> patch review title: test_traceback fails when run early -> test_traceback fails in coverage run ___ Python tracker

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Victor, I have added the documentation, but for the unit test, there is already a test with the SimpleHTTPRequestHandler class where they specify the cwd attribute, because the code of mdk does not change the behavior, I think it's not needed to write a

[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

2017-05-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Right, fixing this bug alone can't make programs control-C safe in general. But there exist techniques to make __enter__/__exit__ methods safe WRT control-C, and if we fix this bug *and* apply those techniques then you can get some meaningful guarantees.

[issue30445] test_traceback fails when run early

2017-05-23 Thread Maria Mckinley
Changes by Maria Mckinley : -- pull_requests: +1855 ___ Python tracker ___ ___

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2017-05-23 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +1860 ___ Python tracker ___ ___

[issue30444] Add ability to change "-- more --" text in pager module

2017-05-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: Can you please explain why you need to change the --more-- text in the pager? I haven't been able to find any way to change the "--more--" prompt in the shell commands `less` and `more`, and remember that the pager will under some circumstances use one of

[issue12857] Expose called function on frame object

2017-05-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: I'd also like to make use of this in trio, as a way to get safer and less complicated control-C handling without having to implement things in C. (Exhaustive discussion: https://vorpus.org/blog/control-c-handling-in-python-and-trio/) @Nick: I understand

[issue30446] Embedded 3.6.1 distribution cannot find _socket module

2017-05-23 Thread Thomas Stevenson
New submission from Thomas Stevenson: Trying to import the socket module using the embedded distribution for 3.6.1, I get the error: : No module named '_socket' Running with the standard interpreter works: Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on

[issue29340] SSL destructor segfaults in python3.6 threads when an unverified-cert connection is closed

2017-05-23 Thread Christian Heimes
Christian Heimes added the comment: It's a bug in OpenSSL. There isn't much we can do about it. I'm closing the issue as 3rd party issue. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue30437] SSL_shutdown can return meaningless SSL_ERROR_SYSCALL

2017-05-23 Thread Christian Heimes
Christian Heimes added the comment: Which OS and OpenSSL version are you on? -- ___ Python tracker ___ ___

[issue30447] test_capi.test_subinterps() fails on ARMv7 Ubuntu 3.x

2017-05-23 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.x/builds/786/steps/test/logs/stdio == FAIL: test_subinterps (test.test_capi.EmbeddingTests)

[issue30437] SSL_shutdown can return meaningless SSL_ERROR_SYSCALL

2017-05-23 Thread Nathaniel Smith
Nathaniel Smith added the comment: Debian testing, x86-64, with: Python 3.5.3rc1 (default, Jan 3 2017, 04:40:57) [GCC 6.3.0 20161229] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>> ssl.OPENSSL_VERSION 'OpenSSL 1.1.0e 16 Feb 2017'

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: Thanks for filing the bug, fixed now. Thank you Berker for the quick patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30435] Documentation either unclear or incorrect on comparisons between bytes and strings in Python 3

2017-05-23 Thread Brian Ward
Brian Ward added the comment: The "should" recommendation seems like the right direction, but feels like it needs an explanation (in case someone's trying to run some 2.7 code and is wondering why their comparisons don't work anymore). Unfortunately, it's a little complicated to pile into a

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread STINNER Victor
STINNER Victor added the comment: Ned Deily added the comment: > Unfortunately, with the tests reenabled, they still fail with the most recent > release of macOS 10.12 (10.12,5) Oh. In that case, I will update my patch to blacklist macOS versions with the bug (remove select.poll() depending on

[issue30445] test_traceback fails when run early

2017-05-23 Thread Maria Mckinley
Changes by Maria Mckinley : -- components: Tests nosy: maria priority: normal severity: normal status: open title: test_traceback fails when run early type: behavior versions: Python 3.7 ___ Python tracker

[issue30444] Add ability to change "-- more --" text in pager module

2017-05-23 Thread Gautam krishna.R
Changes by Gautam krishna.R : -- pull_requests: +1857 ___ Python tracker ___ ___

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1856 ___ Python tracker ___ ___

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2017-05-23 Thread Christian Heimes
Christian Heimes added the comment: New changeset 66dc33b6822be93f85d84d24d3f9159ff568fbbb by Christian Heimes in branch 'master': bpo-29334: Fix ssl.getpeercert for auto-handshake (#1769) https://github.com/python/cpython/commit/66dc33b6822be93f85d84d24d3f9159ff568fbbb --

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and of course, sorry for this big delay. -- ___ Python tracker ___ ___

[issue9146] Segfault in hashlib in OpenSSL FIPS mode using non-FIPS-compliant hashes, if "ssl" imported before "hashlib"

2017-05-23 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- pull_requests: +1859 ___ Python tracker ___ ___

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2017-05-23 Thread Christian Heimes
Changes by Christian Heimes : -- pull_requests: +1861 ___ Python tracker ___ ___

[issue30290] IDLE: add tests for help_about.py

2017-05-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: At first glance, 1714 looks great. I hope to merge it tomorrow. On the issues you raised: 1. I want to leave existing constants alone for now. 2. There are two 'create widgets' styles: create, place, create, place, ...; and create, create, ..., place, place,

[issue30448] test_subprocess creates a core dump on FreeBSD

2017-05-23 Thread STINNER Victor
New submission from STINNER Victor: Eric Snow: do you think that it could be related to your recent subinterpreter changes please? http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/311/steps/test/logs/stdio 0:08:26 load avg: 3.35 [253/405] test_subprocess

[issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE

2017-05-23 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1862 ___ Python tracker ___

[issue30443] datetime.datetime.__add__ does not respect fold.

2017-05-23 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The current behavior is intentional. Please see PEP 495 for details. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue25612] nested try..excepts don't work correctly for generators

2017-05-23 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1854 ___ Python tracker ___

[issue28567] Bus error / segmentation fault on macOS debug build when using ctypes OpenGL

2017-05-23 Thread Ned Deily
Ned Deily added the comment: Sorry that this issue has languished for so long. Unfortunately, since it is so easy to cause segfaults when using ctypes and there are so many variables in play here and that there haven't been other similar reports, it is highly unlikely that anyone is going to

[issue30444] Add ability to change "-- more --" text in pager module

2017-05-23 Thread Gautam krishna.R
New submission from Gautam krishna.R: Need ability to change the text -- components: +Library (Lib) title: Add ability to change "-- more -- -> Add ability to change "-- more --" text in pager module type: -> enhancement ___ Python tracker

[issue13897] Move fields relevant to sys.exc_info out of frame into generator/threadstate

2017-05-23 Thread Mark Shannon
Mark Shannon added the comment: This issue is rather old, so I will create a new GitHub PR for the code change. This issue can be closed. Note that https://bugs.python.org/issue25612 is a manifestation of the problem that this was intended to solve. -- nosy: +Mark Shannon

[issue30444] Add ability to change "-- more --

2017-05-23 Thread Gautam krishna.R
Changes by Gautam krishna.R : -- nosy: Gautam krishna.R priority: normal severity: normal status: open title: Add ability to change "-- more -- ___ Python tracker

[issue30443] datetime.datetime.__add__ does not respect fold.

2017-05-23 Thread Michael R. Shannon
New submission from Michael R. Shannon: datetime.datetime.__add__ is currently implemented by converting the date into a datetime.timedelta object (using toordinal) before adding it to the other (timedelta) object and reconstructing with datetime.combine. With this method, fold will always

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1853 ___ Python tracker ___ ___

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-05-23 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1852 ___ Python tracker ___ ___

[issue24896] It is undocumented that re.UNICODE and re.LOCALE affect re.IGNORECASE

2017-05-23 Thread Brian Ward
Changes by Brian Ward : -- pull_requests: +1863 ___ Python tracker ___ ___ Python-bugs-list

[issue30449] Improve __slots__ datamodel documentation

2017-05-23 Thread Aaron Hall
Aaron Hall added the comment: I've been working on this section quite a lot, trying to improve the flow of content (which in the prior revision is a bit of a mish-mash of information in the "Notes on using __slots__ section") - I intend to move some of that information into the

[issue30449] Improve __slots__ datamodel documentation

2017-05-23 Thread Aaron Hall
New submission from Aaron Hall: The __slots__ documentation in the datamodel needs improvement. For example: > When inheriting from a class without __slots__, the __dict__ attribute of > that class will always be accessible, so a __slots__ definition in the > subclass is meaningless. The

[issue29335] subprocess module does not check WIFSTOPPED on SIGCHLD

2017-05-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed applied to subprocess32 in https://github.com/google/python-subprocess32/commit/0f1958e982bf44db569470def7281bcafa2a8b0e -- stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-23 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +1864 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-23 Thread Zachary Ware
New submission from Zachary Ware: Once we've migrated away from svn.python.org for Windows build dependencies, there should be no reason to continue running svn.python.org. -- components: Build, Extension Modules, Windows messages: 294307 nosy: paul.moore, steve.dower, tim.golden,

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread STINNER Victor
STINNER Victor added the comment: Stéphane Wirtel added the comment: and of course, sorry for this big delay. I am not sure why you are saying that. Nobody was actively awaiting on this feature, we all have busy scedules. It's ok ;-) -- ___ Python

[issue28087] macOS 12 poll syscall returns prematurely

2017-05-23 Thread Ennis Massey
Ennis Massey added the comment: Actually, having managed to get macOS to update, it seems to be odd, as it correctly delays. Not sure what’s going on there, or whether it’s my setup. I’ll look into it some more. I’m also thinking of writing/finding a set of tests for core POSIX stuff like

  1   2   >