[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9148a2213631 by Terry Jan Reedy in branch '2.7': Issue #15308: Add 'interrupt execution' (^C) to Shell menu. https://hg.python.org/cpython/rev/9148a2213631 New changeset 74b84014bc27 by Terry Jan Reedy in branch '3.5': Issue #15308: Add 'interrupt

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: I only want a single quick check upfront. It doesn't make much sense to put this in the inner loop. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-11 Thread Martin Panter
Martin Panter added the comment: Benjamin changed PEP 7 to allow static inline functions directly in Python 3.6. But later he added program-wide, linkable inline functions in the Python 3.6 code: 2f77a9f0b9d6: add plain “inline” to header file 63ae310b60ff: add “extern inline” stubs in a new

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-11 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker ___ ___

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch covers sets that start empty, but not sets that become empty during iteration. Are you thinking about or rejecting the latter? (And should this then be closed?) -- resolution: fixed -> status: closed -> open

[issue27827] pathlib is_reserved fails for some reserved paths on Windows

2016-09-11 Thread Eryk Sun
Eryk Sun added the comment: The attached patch adds tests and the suggested enhancement to _WindowsFlavour.is_reserved. Shouldn't it also return True if the name contains ASCII control characters? They're only valid in NTFS stream names. Also, I think a name containing a colon that's not

[issue25235] EmailMessage.add_attachment() creates parts with spurious MIME-Version header.

2016-09-11 Thread R. David Murray
R. David Murray added the comment: Hmm. Only doing it in the output is an interesting idea. It's a bit ugly to implement, but doable. -- ___ Python tracker

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset fa0af1a6344d by Raymond Hettinger in branch 'default': Issue #28071: Add early-out for differencing from an empty set. https://hg.python.org/cpython/rev/fa0af1a6344d -- nosy: +python-dev ___ Python

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for making buildbots green Steve. The intent of 51b635e81958 was avoiding needless copying. But this caused to leaking tuple subtype in case of single var-positional argument without other positional arguments. The intent of tests was checking

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: Note that I think most or all of these issues apply to 2.7 and while I didn't do a proper check I think the fixes also apply. -- ___ Python tracker

[issue28045] minor inaccuracy in range_contains_long

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: enhancement -> behavior versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.7 ___ Python tracker

[issue28045] minor inaccuracy in range_contains_long

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 957084395042 by Berker Peksag in branch '3.5': Issue #28045: Fix comment in range_contains_long() https://hg.python.org/cpython/rev/957084395042 New changeset 924a64745168 by Berker Peksag in branch 'default': Issue #28045: Merge from 3.5

[issue27945] Various segfaults with dict

2016-09-11 Thread Tim Mitchell
Tim Mitchell added the comment: Here is my patch for parts 3 and 4. Core issue for part 4 appears to be dk_lookup calling arbitrary python code may free the key. dk_lookup is also used in _PyDict_LoadGlobal not sure if this bug can occur here. -- nosy: +Tim Mitchell Added file:

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Ned Deily
Ned Deily added the comment: Serhiy, what do you think? -- ___ Python tracker ___ ___ Python-bugs-list

[issue27945] Various segfaults with dict

2016-09-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka stage: needs patch -> patch review ___ Python tracker ___

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Tom's patch looks good to me. Davin, can you have a look at it? -- stage: needs patch -> patch review ___ Python tracker

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Tom Clark
Tom Clark added the comment: This patch is intended to document the behaviour of join(). (Originally submitted to #28094) -- Added file: http://bugs.python.org/file44586/multiprocessing.patch ___ Python tracker

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-11 Thread Ned Deily
Ned Deily added the comment: (The OS X Tiger buildbot uses a version of GCC 4.0.) -- ___ Python tracker ___

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the explanation. We usually handle situations like this in the same issue so I'm closing this as a duplicate of issue 10673. Could you please attach your patch to issue 10673? Thanks! -- resolution: -> duplicate stage: -> resolved status:

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Changes by Duane Griffin : Removed file: http://bugs.python.org/file44573/0001-Issue-27945-fix-dictiter_iternextitem-use-after-free.patch ___ Python tracker

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: Ah, my first fix (for the fifth issue) was incomplete. Please see attached patch which I think correctly fixes the problem. -- Added file: http://bugs.python.org/file44585/0001-Issue-27945-fix-dictiter_iternextitem-use-after-free.patch

[issue28095] test_startup_imports of test_site fails on OS X due to new import of enum in re

2016-09-11 Thread Ned Deily
Changes by Ned Deily : -- dependencies: +_osx_support imports many modules ___ Python tracker ___

[issue28095] test_startup_imports of test_site fails on OS X due to new import of enum in re

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f0016055820 by Ned Deily in branch 'default': Issue #28095: Temporarily disable part of test_startup_imports on OS X. https://hg.python.org/cpython/rev/9f0016055820 -- nosy: +python-dev ___ Python

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Tom Clark
Tom Clark added the comment: I thought that, since Issue <10673> refers to the library rather than the docs, it was better to create a seperate documentation issue. In other words, I probably overthought it. -- ___ Python tracker

[issue15819] Unable to build Python out-of-tree when source tree is readonly.

2016-09-11 Thread Martin Panter
Martin Panter added the comment: Matthias seems to have already applied his patch in Python 3.3 and 3.4+: revision f2cc3d8b88bb. Roumen: Is your problem still relevant? If so, perhaps open a separate bug to elaborate. Koobs: Is your problem with finding Python/Python-ast.c still relevant? Is

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Hi Tom, thanks for the patch! Issue 10673 is still open, is there a reason not to attach your patch there? -- nosy: +berker.peksag ___ Python tracker

[issue28037] Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually

2016-09-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28037] Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80946f95e88a by Berker Peksag in branch 'default': Issue #28037: Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually https://hg.python.org/cpython/rev/80946f95e88a -- nosy: +python-dev

[issue28095] test_startup_imports of test_site fails on OS X due to new import of enum in re

2016-09-11 Thread Ned Deily
New submission from Ned Deily: Issue28082, for 3.6.0b1, modified the re module to use enum.IntFlag. As described in Issue19325, on interpreter startup site.py imports sysconfig which, on OS X, imports _osx_support which imports, among other things, re. Now that re imports enum, a number of

[issue10673] multiprocess.Process join method - timeout indistinguishable from success

2016-09-11 Thread Tom Clark
Tom Clark added the comment: I've submitted a documentation patch with #28094. -- nosy: +tclark ___ Python tracker ___

[issue28094] Document behaviour of Process.join() in multiprocessing

2016-09-11 Thread Tom Clark
New submission from Tom Clark: #10673 indicated that the issue should be resolved by clarifying the documentation. The proposed patch is intended to do this. -- assignee: docs@python components: Documentation files: multiprocessing.patch keywords: patch messages: 275943 nosy:

[issue24780] unittest assertEqual difference output foiled by newlines

2016-09-11 Thread Adrian Chan
Adrian Chan added the comment: Is this still being worked on? I have a potential fix for this. -- nosy: +adchanw ___ Python tracker ___

[issue26557] dictviews methods not present on shelve objects

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b4bfef0d54a by Raymond Hettinger in branch '2.7': Issue #26557: Note that mapping view methods are not present in UserDict or shelves. https://hg.python.org/cpython/rev/2b4bfef0d54a -- nosy: +python-dev

[issue26557] dictviews methods not present on shelve objects

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue28066] [Patch] Fix the ability to cross compile Python when doing a rebuild of importlib.h

2016-09-11 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5, Python 3.6 -Python 3.7 ___ Python tracker

[issue28093] ResourceWarning in test_ssl

2016-09-11 Thread Xiang Zhang
New submission from Xiang Zhang: I can consistently product a ResourceWarning when running test_ssl: ./python -m test test_ssl Run tests sequentially 0:00:00 [1/1] test_ssl Exception in thread Thread-81: Traceback (most recent call last): File "/home/angwer/cpython/Lib/threading.py", line

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-11 Thread Martin Panter
Martin Panter added the comment: This is like the OS X Tiger buildbot failure. http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/11323/steps/compile/logs/stdio /usr/bin/ld: multiple definitions of symbol _PyDTrace_FUNCTION_ENTRY Python/ceval.o definition of

[issue21254] PropertyMock refuses to raise AttributeErrror as a side effect

2016-09-11 Thread Robert Collins
Robert Collins added the comment: I could imagine doing some complex things to let you get at the AttributeError in this case but *not* when a different descriptor was added to type(a_mock), but I think it would confusing overall. This might be worth a doc tweak to cover it? --

[issue21254] PropertyMock refuses to raise AttributeErrror as a side effect

2016-09-11 Thread Steve Kowalik
Steve Kowalik added the comment: This is in fact, working entirely as expected. If we define a property that raises an AttributeError, then __getattr__() will be called, since the descriptor protocol says that an attribute error is a missing descriptor. >>> class Foo(object): ... def

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Steve Dower
Changes by Steve Dower : -- stage: needs patch -> commit review type: compile error -> behavior ___ Python tracker ___

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Steve Dower
Steve Dower added the comment: I added a fix in 7793d34609cb assuming that the intent is to allow subclasses of tuple to be passed directly as *args rather than creating a new tuple. The original changeset seems to suggest this is the intent. -- nosy: +ned.deily, steve.dower

[issue28092] Build failure for 3.6 on Centos 5.11

2016-09-11 Thread Steven D'Aprano
New submission from Steven D'Aprano: On Centos 5.11, building fails with: Python/dtrace_stubs.o: In function `PyDTrace_LINE': /home/steve/python/python-dev/cpython/Include/pydtrace.h:28: multiple definition of `PyDTrace_LINE'

[issue21254] PropertyMock refuses to raise AttributeErrror as a side effect

2016-09-11 Thread Robert Collins
Robert Collins added the comment: We're poking at this at the kiwipycon sprints -- nosy: +rbcollins ___ Python tracker ___

[issue16193] display full e-mail name in hg.python.org annotate pages

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Since we are going to move to GitHub, I think we can close this as 'wont fix'. -- nosy: +berker.peksag resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue28083] socket: finish constant to Enum/Flag conversion

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: Thanks, Ned! -- assignee: -> ethan.furman ___ Python tracker ___ ___

[issue27761] Private _nth_root function loses accuracy

2016-09-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: As discussed with Ned via email, this issue shouldn't affect the public geometric_function and the failing tests (currently skipped) are too strict. The existing tests demand an unrealistic precision which should be loosened, e.g. from assertEqual to

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: I'm not sure it should be a permanent fix. Perhaps you could add the test decorator so that it is only tested on 10.12. I don't have time to look at it more myself before b1. -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Robert Collins
Robert Collins added the comment: @Ned - any objection to my committing this at this point? -- nosy: +rbcollins ___ Python tracker ___

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Robert Collins
Changes by Robert Collins : -- stage: patch review -> commit review ___ Python tracker ___

[issue25283] Make tm_gmtoff and tm_zone available on all platforms

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset a96101dd105c by Alexander Belopolsky in branch 'default': Closes #25283: Make tm_gmtoff and tm_zone available on all platforms. https://hg.python.org/cpython/rev/a96101dd105c -- nosy: +python-dev resolution: -> fixed stage: commit review

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2016-09-11 Thread Bayard Randel
Bayard Randel added the comment: Updated description in idle.rst with a fullstop. -- Added file: http://bugs.python.org/file44583/issue15308_updated-2.patch ___ Python tracker

[issue27181] Add geometric mean to `statistics` module

2016-09-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: As discussed with Ned by email, I'm currently unable to build 3.6 and won't have time to work on this before b1. As discussed on #27761 my tests here are too strict and should be loosened, e.g. from assertEqual to assertAlmostEqual. Ned wrote: "If you are

[issue17512] backport of the _sysconfigdata.py module (issue 13150) breaks the build on darwin

2016-09-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue11640] Shelve references globals in its __del__ method

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: Since PEP 442 has been implemented in 3.4 and e826940911c8 made Shelve.close() more robust, I think this is no longer an issue. -- nosy: +berker.peksag resolution: -> out of date stage: patch review -> resolved status: open -> closed

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: Fix for the second issue: with this fix there is no segfault or valgrind issue reported on during execution or on exit. -- Added file: http://bugs.python.org/file44582/0001-Issue-27945-fix-dictitems_contains-use-after-free.patch

[issue28078] Silence resource warnings in test_socket

2016-09-11 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue15308] IDLE - add an "Interrupt Execution" to shell menu

2016-09-11 Thread Bayard Randel
Bayard Randel added the comment: I've provided a patch which seems to bring this change up to date on Python 3.6.0a4+, however I've only manually tested. Having had a look at the existing idle tests, it wasn't clear to me how I could also provide a test. Any suggestions would be appreciated.

[issue28068] Error in freeze.py due to unguarded sys.abiflags usage under Windows

2016-09-11 Thread Steve Dower
Steve Dower added the comment: That folder won't ever exist on Windows - if anything it should just be os.path.join(sys.execprefix, "DLLs"), but I'm not even sure how valuable that is. -- ___ Python tracker

[issue26557] dictviews methods not present on shelve objects

2016-09-11 Thread Thomi Richards
Thomi Richards added the comment: Attached is a patch that adds a sentence to the UserDict module docs explicitly stating that the viewkeys, viewitems, and viewvalues functions are not implemented. I don't think it's worth adding support for these newer functions in UserDict. I'm unsure

[issue26557] dictviews methods not present on shelve objects

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: This patch looks fine. -- assignee: docs@python -> rhettinger nosy: +rhettinger priority: normal -> low ___ Python tracker

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: Fix for the first issue: with this fix there is no segfault or valgrind issue reported on during execution or on exit. -- Added file: http://bugs.python.org/file44579/0001-Issue-27945-fix-PyDict_MergeFromSeq2-use-after-free.patch

[issue26557] dictviews methods not present on shelve objects

2016-09-11 Thread Thomi Richards
Thomi Richards added the comment: Attached is a patch that adds documentation to `shelve.rst` explicitly stating that it does not support the viewkeys, viewvalues, and viewitems methods. I think this is the correct approach since it doesn't seems sensible to add support for these methods to

[issue28065] Update Windows build to xz-5.2.2

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f06e7501e530 by Zachary Ware in branch 'default': Issue #28065: Update xz to 5.2.2 on Windows, and build it from source https://hg.python.org/cpython/rev/f06e7501e530 -- nosy: +python-dev ___ Python

[issue28065] Update Windows build to xz-5.2.2

2016-09-11 Thread Zachary Ware
Zachary Ware added the comment: Thanks for trying it out, Tim! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Ok, cool Many Thanks, Ennis Massey Wet Ferret Studios -- Added file: http://bugs.python.org/file44577/smime.p7s ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: OK, if you get a chance, it would be helpful to submit a RADAR on it and update this issue. I neglected to mention that your patch does seem to work, e.g., test_eintr no longer fails. -- ___ Python tracker

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Apple doesn’t allow access to other peoples bug reports, so I couldn’t say whether it’s been reported. Many Thanks, Ennis Massey Wet Ferret Studios -- Added file: http://bugs.python.org/file44576/smime.p7s

[issue28087] macOS 12 poll syscall returns prematurely

2016-09-11 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This seems to be a problem visible in the public betas of the upcoming macOS 12 release, not in previous releases (10.11 and earlier). Do you know if the problem has been reported to Apple? Also, I've uploaded a reviewable version of your

[issue28066] [Patch] Fix the ability to cross compile Python when doing a rebuild of importlib.h

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset c26dce72a4da by Martin Panter in branch '3.5': Issue #28066: Fix include search directory logic for out-of-tree builds https://hg.python.org/cpython/rev/c26dce72a4da New changeset 3ef078f96494 by Martin Panter in branch 'default': Issue #28066:

[issue15819] Unable to build Python out-of-tree when source tree is readonly.

2016-09-11 Thread Martin Panter
Martin Panter added the comment: I’m not sure what the overall status of this bug is, so I will leave the versions as they are. Are the three comments from 2013 relevant, and is there anything I can do to help? The Python 2 code already unconditionally adds -IInclude (see Issue 786737), and

[issue12643] code.InteractiveConsole ignores sys.excepthook

2016-09-11 Thread Berker Peksag
Berker Peksag added the comment: 3.2 is now dead and it's probably not worth to backport tests to 2.7 in 2016 :) Closing this as 'fixed'. -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.3 -Python 2.7, Python 3.2

[issue28091] Document PEP 525

2016-09-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: yselivanov components: Documentation nosy: ned.deily, yselivanov priority: release blocker severity: normal stage: needs patch status: open title: Document PEP 525 type: enhancement versions: Python 3.6

[issue28090] Document PEP 530

2016-09-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: yselivanov components: Documentation nosy: ned.deily, yselivanov priority: release blocker severity: normal stage: needs patch status: open title: Document PEP 530 type: enhancement versions: Python 3.6

[issue27456] asyncio: set TCP_NODELAY flag by default

2016-09-11 Thread Yury Selivanov
Yury Selivanov added the comment: Committed, should be in 3.6 b1. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue27456] asyncio: set TCP_NODELAY flag by default

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f7e4ae9eba3 by Yury Selivanov in branch '3.5': Issue #27456: asyncio: Set TCP_NODELAY by default. https://hg.python.org/cpython/rev/3f7e4ae9eba3 New changeset 10384c5c18f5 by Yury Selivanov in branch 'default': Merge 3.5 (issue #27456)

[issue28088] Document Transport.set_protocol and get_protocol

2016-09-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> needs patch type: -> enhancement ___ Python tracker

[issue28089] Document TCP_NODELAY by default

2016-09-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- assignee: docs@python components: Documentation, asyncio keywords: easy nosy: docs@python, gvanrossum, haypo, ned.deily, yselivanov priority: release blocker severity: normal stage: needs patch status: open title: Document TCP_NODELAY

[issue28088] Document Transport.set_protocol and get_protocol

2016-09-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- components: asyncio keywords: easy nosy: gvanrossum, haypo, ned.deily, yselivanov priority: release blocker severity: normal status: open title: Document Transport.set_protocol and get_protocol versions: Python 3.6

[issue26081] Implement asyncio Future in C to improve performance

2016-09-11 Thread Ned Deily
Ned Deily added the comment: This change touches a lot of files and affect both the unix* and Windows build processes so, yeah, I think it's too risky to go in to b1. Let's get it in as soon as possible after b1. -- ___ Python tracker

[issue26081] Implement asyncio Future in C to improve performance

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, let's do this in 3.6b2. -- ___ Python tracker ___ ___

[issue26081] Implement asyncio Future in C to improve performance

2016-09-11 Thread Yury Selivanov
Yury Selivanov added the comment: > Yury: What do you think of the code? How solid is it? (The issue I found was > due to my own very recent changes to _blocking.) The code looks fine, I can fix the remaining nits myself. I've left a couple of comments in review. > Ned: Is it better to do

[issue26081] Implement asyncio Future in C to improve performance

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Yury: What do you think of the code? How solid is it? (The issue I found was due to my own very recent changes to _blocking.) Ned: Is it better to do this in 3.6b1 or to wait for 3.6b2? -- nosy: +ned.deily ___

[issue28083] socket: finish constant to Enum/Flag conversion

2016-09-11 Thread Ned Deily
Ned Deily added the comment: One could argue that it is a bug that the other constants are missing. Ethan, if you can work with Christian to get them in by b2, that would be acceptable. -- nosy: -larry ___ Python tracker

[issue28075] os.stat fails when access is denied

2016-09-11 Thread Eryk Sun
Changes by Eryk Sun : -- stage: -> patch review ___ Python tracker ___ ___

[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> skrah nosy: +skrah ___ Python tracker ___

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: Apologies: compiling python with --with-pydebug all of these issues are reproducible on head after all. Furthermore while my patch fixes the reported crash it still crashes on exit: Program received signal SIGSEGV, Segmentation fault. 0x00437193 in

[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___

[issue26511] Add link to id() built-in in comparison operator documentation for "is"

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. Not need to go back to 2.7. This is really minor. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue26511] Add link to id() built-in in comparison operator documentation for "is"

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset f38b831cb6b9 by Raymond Hettinger in branch '3.5': Issue #26511: Reference the id() function in the 'is' and 'is not' docs https://hg.python.org/cpython/rev/f38b831cb6b9 -- nosy: +python-dev ___ Python

[issue27945] Various segfaults with dict

2016-09-11 Thread Duane Griffin
Duane Griffin added the comment: I cannot reproduce the segfaults for the first four issues however valgrind still reports problems for all but the second. The fifth (last) one still segfaults. I have a patch for the fifth issue. The other remaining issues are all reporting the same invalid

[issue13924] Mercurial robots.txt should let robots crawl landing pages.

2016-09-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Two things: is it worth fixing this bug given the impending move to github? Also, why is this reported here and not the pydotorg tracker? https://github.com/python/pythondotorg/issues Given that the last comment was 2014, I'm going to go ahead and close

[issue25573] FrameSummary repr() does not support previously working uses of repr in traceback module

2016-09-11 Thread Robert Collins
Robert Collins added the comment: So I think its fine to have a __len__ reporting 4. tuple(..) works via the iter() call, but thats really just a thunk to keep existing code working, and so __len__ for the same reason makes sense. On the documentation issue, yes, updating the docs is

[issue24412] setUpClass equivalent for addCleanup

2016-09-11 Thread Robert Collins
Robert Collins added the comment: Btw some things to be aware of in addressing this: - we will need tests that catchable exceptions raised from a setUpModule or setUpClass cause cleanups already registered to run - if (and I'd need to check this) setUpModule or setUpClass can nest - I think

[issue28087] Mac OS X poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Fixed patch file, now in diff format -- keywords: +patch Added file: http://bugs.python.org/file44572/eintr_tester.diff ___ Python tracker

[issue28087] Mac OS X poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Changes by Ennis Massey : Removed file: http://bugs.python.org/file44570/eintr_tester.py ___ Python tracker ___

[issue16700] Document that bytes OS API can returns unusable results on Windows

2016-09-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Thanks Steve! Closing. -- nosy: +barry status: open -> closed ___ Python tracker ___

[issue16700] Document that bytes OS API can returns unusable results on Windows

2016-09-11 Thread Steve Kowalik
Steve Kowalik added the comment: I've looked at the documentation for both Python 3.5 and 3.6, and I think this is all fine -- things like os.environb and os.getcwdb() are clearly stated as not available on Windows, and the path functions look to work fine in my testing. -- nosy:

[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

2016-09-11 Thread Kesara Rathnayake
Changes by Kesara Rathnayake : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___

  1   2   3   >