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

2016-09-11 Thread SilentGhost
SilentGhost added the comment: Sure, that was just a typo. While "no errors" is good news, does the code is actually doing what it's supposed to do? Are you sure there aren't any hidden issue related to the potentially incorrect paths? -- Added file: http://bugs.python.org/file44562/28

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 55d77f5a7cb3 by Christian Heimes in branch 'default': Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x for a while. Require Kernel 4.3+ for now https://hg.python.org/cpython/rev/55d77f5a7cb3 --

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-11 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Brett. Having done a quick test, I'd like to review this in more detail before applying but that will have to wait until after b1. If you want, you can reassign this to me. -- priority: release blocker -> deferred blocker stage: ->

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Stephen J. Turnbull
Changes by Stephen J. Turnbull : -- components: Library (Lib) keywords: patch nosy: sjt priority: normal severity: normal status: open title: Allow reading member names with bogus encodings in zipfile type: enhancement versions: Python 3.6 ___ Python

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 603bef7bb744 by Serhiy Storchaka in branch 'default': Issue #27810: Regenerate Argument Clinic. https://hg.python.org/cpython/rev/603bef7bb744 -- ___ Python tracker __

[issue28081] [Patch] timemodule: Complete Autoconf bits for clock_*() functions: make clock_getres() and clock_settime() optional

2016-09-11 Thread Ed Schouten
New submission from Ed Schouten: Our Autoconf bits already test for the presence of the POSIX 2008 clock_gettime() and clock_getres() functions, which is nice. Still, I'd like to make two improvements there: 1. In timemodule.c, properly guard the use of clock_getres() bits with HAVE_CLOCK_GET

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Could you please provide more information sjt? -- nosy: +serhiy.storchaka status: open -> pending ___ Python tracker ___ ___

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

2016-09-11 Thread Gevorg Voskanyan
Gevorg Voskanyan added the comment: It works OK for me, but as mentioned above `ishome` is True in my setup, so the path-related changes in the patch don't affect my setup in any way. I really don't know how it would affect setups of other people where `ishome` is False. So no, I can't be sure

[issue23545] Turn on extra warnings on GCC

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99adb5df8cb6 by Serhiy Storchaka in branch 'default': Issue #23545: Turn on extra warnings on GCC. https://hg.python.org/cpython/rev/99adb5df8cb6 -- nosy: +python-dev ___ Python tracker

[issue14965] super() and property inheritance behavior

2016-09-11 Thread Joseph L. Casale
Changes by Joseph L. Casale : -- nosy: +jcasale ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27593] Deprecate sys._mercurial and create sys._git

2016-09-11 Thread Brett Cannon
Brett Cannon added the comment: Sounds good. On Sun, Sep 11, 2016, 11:13 Ned Deily wrote: > > Ned Deily added the comment: > > Thanks for the patch, Brett. Having done a quick test, I'd like to review > this in more detail before applying but that will have to wait until after > b1. If you w

[issue23545] Turn on extra warnings on GCC

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK $CFLAGS_NODIST is used only for compiling the core and standard modules, $OPT is included in $CFLAGS and also used for compiling third-party extensions. Since -Wall is already included in $OPT, there is no need of it in $CFLAGS_NODIST. Removed this par

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

2016-09-11 Thread SilentGhost
SilentGhost added the comment: Given that it's a Windows issue, I'm sure Windows core developers in the nosy list would find a way to verify the fix. For the record, this bug was introduced in issue 11824. -- nosy: +meador.inge ___ Python tracker <

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Suggested NEWS/whatsnew entry: Add a new *memberNameEncoding* argument to the ZipFile constructor, allowing :mod:`zipfile` to read filenames in non-conforming encodings from the zipfile as Unicode. This implementation assumes all member names have the same

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

2016-09-11 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file44538/28068.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is reasonable, cheap, and not hard to do. I'll whip-up a patch shortly. -- ___ Python tracker ___

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

2016-09-11 Thread Kai Groner
Kai Groner added the comment: >From https://tools.ietf.org/html/rfc2045#section-4 > Note that the MIME-Version header field is required at the top level > of a message. It is not required for each body part of a multipart > entity. It is required for the embedded headers of a body of type

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: I should have a contributor agreement form on file. Ned Deily suggested that I try to get this patch in before the 12 noon deadline Sept. 12, so here it is. I believe the patch is "safe" in the sense that its functionality needs to be explicitly enabled,

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: test_triplet_in_ext_suffix in test_sysconfig fails with the 'x86' Android platform. -- status: closed -> open ___ Python tracker ___ __

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 676e6c3d30db by Xavier de Gaye in branch 'default': Issue #27917: Fix test_triplet_in_ext_suffix for the 'x86' Android platform. https://hg.python.org/cpython/rev/676e6c3d30db -- ___ Python tracker

[issue27917] Choose platform triplets for android builds

2016-09-11 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2016-09-11 Thread Kai Groner
Kai Groner added the comment: I agree that there isn't a way to know if a header should be added implicitly, until Generator is called. A possible change to the Generator behavior is to generate the header in the serialized output, without modifying the original. I don't know that it makes d

[issue28071] Stop set.difference when set is empty

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: New timings look nice: $ py -m timeit -s "r = range(10 ** 4); s = set()" "s.difference(r)" 1000 loops, best of 3: 0.104 usec per loop $ py -m timeit -s "r = set(range(10 ** 4)); s = set()" "s.difference(r)" 1000 loops, best of 3: 0.1

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This issue is a duplicate of issue10614. But proposed patch looks more ready. -- assignee: -> serhiy.storchaka stage: -> patch review ___ Python tracker ___

[issue28022] SSL releated deprecation for 3.6

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_imaplib is failed too. == ERROR: test_logincapa_with_client_certfile (test.test_imaplib.RemoteIMAP_SSLTest) -- Traceba

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Ned Deily
Ned Deily added the comment: Stephen, thanks for submitting the patch. Unless another core developer has time to review and commit this prior to the feature code off tomorrow, this will probably need to wait for 3.7. Also, at the moment, your tracker user record does not indicate that there

[issue28046] Remove the concept of platform-specific directories

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 04b679dd11eb by Xavier de Gaye in branch 'default': Issue #28046: get_sysconfigdata_name() uses the _PYTHON_SYSCONFIGDATA_NAME https://hg.python.org/cpython/rev/04b679dd11eb -- ___ Python tracker

[issue28046] Remove the concept of platform-specific directories

2016-09-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for your help in testing these changes Chi Hsuan Yen. -- ___ Python tracker ___ ___ Python-bu

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Re: wait for 3.7 if reviewers are busy, understood. N.B. Contributor agreement is now on file (I received the PDF from python.org already). Re: existing patches: My patch is very similar in the basic approach to Sergey Dorofeev's patch in issue10614. Ma

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Ethan Furman
New submission from Ethan Furman: Split from issue23591. -- files: issue-re.stoneleaf.02.patch keywords: patch messages: 275848 nosy: ethan.furman, serhiy.storchaka priority: normal severity: normal stage: commit review status: open title: re: convert re flags to (much friendlier) IntFla

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 223731925d06 by Ethan Furman in branch 'default': issue28082: use IntFlag for re constants https://hg.python.org/cpython/rev/223731925d06 -- nosy: +python-dev ___ Python tracker

[issue28046] Remove the concept of platform-specific directories

2016-09-11 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: No No, it's me who should say thank you. Thanks for all efforts on maintaining the Android port of CPython! -- ___ Python tracker ___ __

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

2016-09-11 Thread Ethan Furman
New submission from Ethan Furman: Split from issue23591. Add IntFlag constants for consistency with IntEnum constants. -- files: issue-socket.stoneleaf.01.patch keywords: patch messages: 275851 nosy: ethan.furman, serhiy.storchaka priority: normal severity: normal stage: commit review s

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

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a027e55dae3 by Ethan Furman in branch 'default': issue28083: add IntFlag constants https://hg.python.org/cpython/rev/4a027e55dae3 -- nosy: +python-dev ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 57e88d1159fc by Christian Heimes in branch 'default': Issue #28022: Catch another deprecation warning in imaplib https://hg.python.org/cpython/rev/57e88d1159fc -- ___ Python tracker

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

2016-09-11 Thread Christian Heimes
Christian Heimes added the comment: socketmodule.c has more namespaces. Are you planning to wrap them, too? NETLINK_ BTPROTO_ SOL_ HCI_ PF_ PACKET_ TIPC_ SCM_ ALG_ (*) CAN_ (*) RDS_ (*) IPPROTO_ IP_ IPV6_ TCP_ EAI_ SHUT_ RCVALL_ (*) constant namespace has sub-namespaces, e,g ALG_SET_ and ALG_O

[issue14965] super() and property inheritance behavior

2016-09-11 Thread Christian Heimes
Christian Heimes added the comment: I had to add a workaround to ssl.SSLContext and would appreciate a better solution. -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. Maybe I'll commit rewritten patch tomorrow before 12:00 UTC (oh, already today!). -- ___ Python tracker ___ _

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset c0f5702e0f10 by R David Murray in branch '3.5': #19003: Only replace \r and/or \n line endings in email.generator. https://hg.python.org/cpython/rev/c0f5702e0f10 New changeset ccad4d142934 by R David Murray in branch 'default': Merge: #19003: Only r

[issue28084] Fatal Python error: Py_EndInterpreter: not the last thread

2016-09-11 Thread Christian Heimes
New submission from Christian Heimes: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.x/builds/4966/steps/test/logs/stdio is failing with a fatal Python error: 0:06:13 [224/405/1] test_threading crashed -- running: test_datetime (162 sec) Fatal Python error: Py_EndInterpreter:

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2016-09-11 Thread R. David Murray
R. David Murray added the comment: I've fixed this to the extent that it is possible without adding support for the 'binary' CTE. That is, \r, \n, and \r\n are still replaced with the 'correct' line ending characters, which is the correct behavior under the RFCs even for binary data if the CT

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Guido, is this something you wanted to happen? I thought you had objected to propagating the four flavors of enum throughout the standard library, particularly for long standing, stable APIs. AFAICT, no one has ever requested this for the re module, nor is

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51b635e81958 by Serhiy Storchaka in branch 'default': Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes. https://hg.python.org/cpython/rev/51b635e81958 -- ___ Python tracker

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7369ec91d0f7 by Ethan Furman in branch 'default': issue28082: better name for Flag https://hg.python.org/cpython/rev/7369ec91d0f7 -- ___ Python tracker ___

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Christian Heimes
New submission from Christian Heimes: In ticket #28022 and in thread https://mail.python.org/pipermail/python-dev/2016-September/146366.html I discussed two new protocols for SSLContext: PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. A SSLContext with PROTOCOL_TLS_CLIENT can only create connect

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: The patch was initially from Serhiy as part of issue23591. So it's safe to say at least one person requested it, and a core dev at that. I will happily make it two people: as an occasional user of re having the constants be named makes it much easier for me to

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: re flags was the primary motive of introducing general IntFlags. This would help to handle frequent user error. Original issue is issue11957. -- ___ Python tracker _

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ea641343244 by Christian Heimes in branch 'default': Issue #28085: Add PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER for SSLContext https://hg.python.org/cpython/rev/3ea641343244 -- nosy: +python-dev ___ P

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

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: I don't have enough socket experience to know which constants should go into what groups and what those groups should be called. So far my involvement has been to switch other's patches to use Enum._convert instead of "globals().update(Enum.__members__)". (Thi

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

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: Still need to update docs. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: Note: still need to update docs. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue28085] SSL: Add client and server protocols for SSLContext

2016-09-11 Thread Christian Heimes
Christian Heimes added the comment: I pushed basic support for PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER in 3ea641343244. I have another patch that removes PROTOCOL_TLS again and changes create_default_context() to return either a server and client SSLContext. The change is a small possibili

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

2016-09-11 Thread Christian Heimes
Christian Heimes added the comment: You have to as Ned, not Larry. :) -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list

[issue11957] re.sub confusion between count and flags args

2016-09-11 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue28061] Compact dict bug on Windows (Visual Studio): if (mp->ma_keys->dk_usable * 3 < other->ma_used * 2)

2016-09-11 Thread Emanuel Barry
Emanuel Barry added the comment: I don't know what exactly happened that would make it crash, but after wiping off everything and starting over, it works fine now. Sorry for the noise! -- components: -Windows priority: release blocker -> normal resolution: -> not a bug stage: needs pa

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-11 Thread Emanuel Barry
Emanuel Barry added the comment: Fair enough; I can see why such an addition would be a good idea. But please open a new issue for that (add me to nosy); I don't want this issue to be further cluttered. -- ___ Python tracker

[issue28079] Update typing and test typing from python/typing repo

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b66e0856ab24 by Guido van Rossum in branch 'default': Issue #28079: Update typing and test typing from python/typing repo. https://hg.python.org/cpython/rev/b66e0856ab24 -- nosy: +python-dev ___ Python tr

[issue28079] Update typing and test typing from python/typing repo

2016-09-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf7da3fd6450 by Guido van Rossum in branch '3.5': Issue #28079: Update typing and test typing from python/typing repo. https://hg.python.org/cpython/rev/cf7da3fd6450 -- ___ Python tracker

[issue28079] Update typing and test typing from python/typing repo

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! All set. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue28079] Update typing and test typing from python/typing repo

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! All set. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue28079] Update typing and test typing from python/typing repo

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! All set. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, I am generally in favor of this. Just yesterday there was a bug report (#28070) where someone claimed that the flags from r'(ix)A' were incorrect. They were 96 and should be 98. (He was right, and it was fixed already.) The way he had to prove that was

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Robert Collins
New submission from Robert Collins: The test.test_getargs2.TupleSubclass test is failing in master. I suspect its a fastcall fallout. -- messages: 275879 nosy: rbcollins, serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: test.test_getargs2.TupleSu

[issue28084] Fatal Python error: Py_EndInterpreter: not the last thread

2016-09-11 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> duplicate status: open -> closed superseder: -> test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" ___ Python tracker

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: gvanrossum -> ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ethan, can you give this class a better name than "Flags"? Perhaps something like "RegexFlags" or somesuch? -- ___ Python tracker ___ _

[issue28082] re: convert re flags to (much friendlier) IntFlag constants

2016-09-11 Thread Ethan Furman
Ethan Furman added the comment: I did, immediately after your first post -- it's now RegexFlag. Thank you for the suggestion! Naming things can be hard, especially when trying to beat a deadline. -- ___ Python tracker

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue28086] test.test_getargs2.TupleSubclass test failure

2016-09-11 Thread Steve Kowalik
Steve Kowalik added the comment: I've bisected this via the git mirror, and converting it to the hg changeset gives changeset 103659:51b635e81958 as what introduced this failure. -- nosy: +stevenk ___ Python tracker

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

2016-09-11 Thread Thomi Richards
Thomi Richards added the comment: Attached patch for master branch. -- keywords: +patch nosy: +thomir Added file: http://bugs.python.org/file44568/issue_26511.patch ___ Python tracker __

[issue27213] Rework CALL_FUNCTION* opcodes

2016-09-11 Thread Robert Collins
Robert Collins added the comment: See http://bugs.python.org/issue28086 - this introduced a regression in the test suite. -- nosy: +rbcollins ___ Python tracker ___

[issue28081] [Patch] timemodule: Complete Autoconf bits for clock_*() functions: make clock_getres() and clock_settime() optional

2016-09-11 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

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

2016-09-11 Thread Thomi Richards
Thomi Richards added the comment: The attached patch applies to 3.5, but not 2.7. If you're happy with it, I can work up a version for 2.7 as well. -- ___ Python tracker ___ ___

[issue28087] Mac OS X poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
New submission from Ennis Massey: Upon calling the select.poll objects poll method with no file descriptors registered, it will return an empty list immediately, regardless of the timeout given. This is a problem in the Mac OS X kernels implementation of the poll syscall, but the test can be e

[issue24168] Unittest discover fails with namespace package if the path contains the string same as the module name

2016-09-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think this bug actually is fixed now. I've tried my previously failing case in Python 3.5 and 3.6 head and I don't get the error. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue28087] Mac OS X poll syscall returns prematurely

2016-09-11 Thread Ennis Massey
Ennis Massey added the comment: Patch exemplifying a fix for this in the test files -- Added file: http://bugs.python.org/file44570/eintr_tester.py ___ Python tracker ___ ___

[issue24412] setUpClass equivalent for addCleanup

2016-09-11 Thread Robert Collins
Robert Collins added the comment: So, thank you for the patch. However - there's no need for a metaclass here, and its actively harmful to comprehending the code. As I suggested earlier, please decouple the cleanups implementation and then consume it from the two places that it will be needed

[issue28080] Allow reading member names with bogus encodings in zipfile

2016-09-11 Thread Stephen J. Turnbull
Stephen J. Turnbull added the comment: Can't reply on Rietveld? Lost 2 hours work! Patch updated (encoded-member-names-v2), most changes accepted. Not happy about name change or default to cp437, I want this API to be hard to use and not be part of the normal process (utf-8 or cp437). Consi

[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 ___ ___ Python-bugs-list mailing list Unsubscri

[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: +ste

[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 ___ ___ Python-bugs-list mailing l

[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 ___ ___ Python-bu

[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 ___ ___

[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

[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 appropria

[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 thi

[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 r

[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 t

[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

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

2016-09-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[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 visi

[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 ___ ___ Python-bugs-list mailing list

[issue28075] os.stat fails when access is denied

2016-09-11 Thread Eryk Sun
Changes by Eryk Sun : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[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

[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 ___ Pyt

[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 th

[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 ___ ___ Python-bugs-list mailing list Unsubscr

[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

[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 ___ P

<    1   2   3   >