[issue26949] IDLE restarts when one debugs code raising SystemExit

2016-05-04 Thread ppperry
ppperry added the comment: Terry, Your `how to reproduce` is more complicated than necessary. This bug can be reproduced by just turning on the debugger in a python shell and typing `raise SystemExit` then pressing step in the debugger. -- versions: +Python 2.7 ___

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-05-04 Thread Rohit Jamuar
Changes by Rohit Jamuar : Removed file: http://bugs.python.org/file42642/msvc_respect_env_flags.patch ___ Python tracker ___ ___ Python-bugs-l

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-05-04 Thread Rohit Jamuar
Changes by Rohit Jamuar : -- versions: +Python 3.6 -Python 2.7 Added file: http://bugs.python.org/file42725/distutils_patch_master.patch ___ Python tracker ___ __

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-05-04 Thread Rohit Jamuar
Changes by Rohit Jamuar : -- versions: +Python 2.7 -Python 3.5, Python 3.6 Added file: http://bugs.python.org/file42726/distutils_patch_27.patch ___ Python tracker ___ __

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-05-04 Thread Zachary Ware
Zachary Ware added the comment: (The version field is for the whole issue, not per patch.) -- versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue26958] Suggestion to imporve queue.full reliability

2016-05-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The reliability issue for qsize(), empty(), and full() has nothing to do with their implementations. The problem is that any information obtained by those methods is potentially out-of-date by the time you try to use it (the LBYL problem). This is why mul

[issue26959] pickle: respect dispatch for functions again

2016-05-04 Thread Vsevolod Velichko
New submission from Vsevolod Velichko: The commit [2] removed support for handling unpicklable functions with copyreg override from cpickle due to lack of the same feature in pickle. This patch restores that feature and adds the support of it to pickle. [1] Original discussion: https://mail.py

[issue26949] IDLE restarts when one debugs code raising SystemExit

2016-05-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks, that may make debugging this (and creating a test) easier. I have only seriously used debugger with files, and often with breakpoints in the file. -- versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python

[issue26960] urllib hangs when closing connection

2016-05-04 Thread Chris Beaumont
New submission from Chris Beaumont: http://bugs.python.org/issue16270 identified an issue with ftpwrapper.endtransfer that causes ftp fetches to hang in certain situations. A fix was applied to python 3. I see the same issue on python 2.7, and the patch from 16270 fixes it. Is there a reason t

[issue26960] urllib hangs when closing connection

2016-05-04 Thread Chris Beaumont
Changes by Chris Beaumont : -- keywords: +patch Added file: http://bugs.python.org/file42728/urllib.patch ___ Python tracker ___ ___ P

[issue26961] Add operator.get_providing_type

2016-05-04 Thread Nick Coghlan
Changes by Nick Coghlan : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26961] Add operator.get_providing_type

2016-05-04 Thread Nick Coghlan
New submission from Nick Coghlan: Prompted by a discussion with Doug Hellmann, I'd like to suggest exposing some of the descriptor MRO walking logic as "operator.get_providing_type". Specifically, where "getattr(obj, 'attrname')" performs a full attribute lookup and "getattr(type(obj), 'attrna

[issue26881] modulefinder should reuse the dis module

2016-05-04 Thread Meador Inge
Meador Inge added the comment: Overall, this patch LGTM. Some new tests would be nice. Especially since the NEWS entry claims that we now support extended args. As for for the compatibility concerns, I don't know. -- nosy: +meador.inge ___ Python

[issue26765] Factor out common bytes and bytearray implementation

2016-05-04 Thread Meador Inge
Meador Inge added the comment: LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue26948] Simplify PyImport_ImportModuleLevelObject: avoid temporary tuple of str.partition/rpartition

2016-05-04 Thread Nick Coghlan
Nick Coghlan added the comment: No objections from me (and I don't have anything to add to Serhiy's comments on the code review) -- ___ Python tracker ___ __

[issue26002] make statistics.median_grouped more efficient

2016-05-04 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue25724] SSLv3 test failure on Ubuntu 16.04 LTS

2016-05-04 Thread Xiang Zhang
Xiang Zhang added the comment: Ubuntu 16.04 has came out and test_ssl fails. I already opened a issue about it. See issue26867. -- nosy: +xiang.zhang ___ Python tracker ___

[issue25770] expose name, args, and kwargs from methodcaller

2016-05-04 Thread Joe Jevnik
Joe Jevnik added the comment: people have had some time to think about this, whats should the name be so we can merge this? -- ___ Python tracker ___ ___

[issue26961] Add operator.get_providing_type

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide an example of using get_providing_type? If this is intended primarily as a debugging aid, I think the inspect module is better place than the operator module. I don't know wherever this functionality is already provided by the inspec

[issue26947] Documentation improvement needed

2016-05-04 Thread Xiang Zhang
Xiang Zhang added the comment: As a non-native speaker, actually I prefer the original one. But both versions lead to no confusion for me. -- ___ Python tracker ___

[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-04 Thread Nick Coghlan
Nick Coghlan added the comment: The main reason for suggesting operator is that it needs to be in an extension module if it's going to share the underlying lookup algorithm used by super().__getattribute__ rather than reimplementing it. I'm not particularly concerned about the exact API name t

[issue26765] Factor out common bytes and bytearray implementation

2016-05-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4406d746d27 by Serhiy Storchaka in branch 'default': Issue #26765: Moved common code for the replace() method of bytes and bytearray https://hg.python.org/cpython/rev/f4406d746d27 -- ___ Python tracker

[issue26765] Factor out common bytes and bytearray implementation

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Meador. Stage 3 patch is simple. It just adds guards in bytes-specific and unicode-specific template files to be sure that they are not used with wrong type. -- Added file: http://bugs.python.org/file42729/bytes_methods_stage3.patch _

[issue26961] Provide an API to help debug super().__getattribute__ results

2016-05-04 Thread Nick Coghlan
Nick Coghlan added the comment: Actually, since this is intended primarily for debugging: Doug, do you actually need the type information? Or would combining inspect.getsourcefile() and inspect.getlines() with super().__init__ to locate the source code for the offending method implementation b

[issue26765] Factor out common bytes and bytearray implementation

2016-05-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Stage 4 patch moves thin wrappers around functions from bytes_methods.c to Objects/stringlib/transmogrify.h. The _method_ suffix is added to some names to distinguish them from existing stringlib names. I'm not sure this is a good place. It may be better to

<    1   2