[issue27364] Deprecate invalid unicode escape sequences

2016-08-23 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27683] ipaddress subnet slicing iterator malfunction

2016-08-23 Thread Xiang Zhang
Xiang Zhang added the comment: issue27683.patch tries to fix this. It alters the doc and refactors the constructor, so there is no difference between different arguments As for IPv6Network, it has the same problem. -- nosy: +xiang.zhang Added file: http://bugs.python.org/file44193/issu

[issue12713] argparse: allow abbreviation of sub commands by users

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3310ea7dbe30 by Vinay Sajip in branch 'default': Issue #12713: reverted fix pending further discussion. https://hg.python.org/cpython/rev/3310ea7dbe30 -- ___ Python tracker

[issue12713] argparse: allow abbreviation of sub commands by users

2016-08-23 Thread Vinay Sajip
Changes by Vinay Sajip : -- priority: release blocker -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12713] argparse: allow abbreviation of sub commands by users

2016-08-23 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: vinay.sajip -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27350] Compact and ordered dict

2016-08-23 Thread INADA Naoki
Changes by INADA Naoki : Added file: http://bugs.python.org/file44194/compact-dict.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue27363] Complex numbers with negative zero parts do not roundtrip properly

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: Unfortunately, as http://bugs.python.org/issue23229#msg233965 shows, Guido is against changing complex.__repr__. Is there any chance someone could show this discussion to him, to show how it would help and try to change his mind? -- ___

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Vedran Čačić
New submission from Vedran Čačić: During the discussion about http://bugs.python.org/issue27539, we found the following weird behavior: >>> from fractions import Fraction as F >>> F(2, 3, 4) Fraction(2, 3) It looks like the third argument is simply disregarded, but it's not so: if

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Josh Rosenberg
Josh Rosenberg added the comment: +1; obviously, this could only be changed on Python 3. Given the third argument is underscore prefixed, I think it can be safely changed without a deprecation period, it's not a public part of the interface, right? -- nosy: +josh.r __

[issue27126] Apple-supplied libsqlite3 on OS X is not fork safe; can cause crashes

2016-08-23 Thread Chris Jerdonek
Chris Jerdonek added the comment: > We can't solve that problem; only Apple can; > So, if we don't change _scproxy or urllib*'s use of it, only Apple can fix > the problem. In the Django ticket I mentioned in my comment above, one of the commenters said, "Just ran the tests at the mentioned c

[issue25825] AIX shared library extension modules installation broken

2016-08-23 Thread Martin Panter
Martin Panter added the comment: Patch 1 does not apply to 2.7. The offending commit 88a532a31eb3 was not made in that branch. Patch 2 may apply to 2.7, but I am not sure if it is needed or worthwhile. Again, the offending commit r86731 not made to 2.7. There is also a $(BINLIBDEST)/config re

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-23 Thread Guni
New submission from Guni: Hello, When I try to put a long string (I mean longer then 65523 chars) in a queue if the put is inside in Process it's block the process and Process.Join() never execute. Let's me give an example: --- from multiprocessing import Queue, Process def getLo

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: Yes, although it can be viewed as a bugfix, it's impossible on Python 2. We _can_ do it on Python 2 too, with def __new__(cls, numerator=0, denominator=None, *empty, _normalize=True): if empty: raise TypeError('too many positional argument

[issue27834] test_datetime fails on "x86 Gentoo Non-Debug with X 3.x" buildbot

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1286/steps/test/logs/stdio == ERROR: test_gaps (test.datetimetester.ZoneInfoTest[Asia/Qyzylorda]) -

[issue27833] Process is locked when try to execute Queue.put() inside

2016-08-23 Thread Xiang Zhang
Changes by Xiang Zhang : -- components: +Library (Lib) nosy: +davin type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mai

[issue21085] compile error Python3.3 on Cygwin

2016-08-23 Thread Erik Bray
Erik Bray added the comment: I've run into this recently. Is there anything I can do to shepherd this issue toward a resolution status? -- nosy: +erik.bray ___ Python tracker _

[issue27835] SystemExit in setUpClass etc. terminates test run

2016-08-23 Thread alexander.sturm
New submission from alexander.sturm: In the following example code, a SystemExit is raised in setUpClass of a unittest.TestCase, which causes the python instance to terminate. This behavior is inconsistent with how SystemExit is handled in other places (e.g. in setUp/tearDown methods, or in ac

[issue27835] SystemExit in setUpClass etc. terminates test run

2016-08-23 Thread alexander.sturm
Changes by alexander.sturm : -- keywords: +patch Added file: http://bugs.python.org/file44195/issue_27835.diff ___ Python tracker ___

[issue27835] SystemExit in setUpClass etc. terminates test run

2016-08-23 Thread alexander.sturm
Changes by alexander.sturm : Added file: http://bugs.python.org/file44196/issue_27835_py3k.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
New submission from Chris Wood: Windows 7 / 64-bit / 4 Gb Ram / Intel i5 processor. This seems to have been discussed intermittently in the past, but none of the previous answers fixed my problem. I installed 3.5, and when I tried running it (both from the Windows cmd line and from the python

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pyth

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Wouldn't be better to get rid of private parameter (it is visible in the docs) at all? Proposed patch removes the _normalize parameter and adds very simple private module level function instead (hidden from the docs). -- keywords: +patch nosy: +mark

[issue27787] Avoid test_main() in test_httplib; gc.collect() dangling threads

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f73355afebb by Martin Panter in branch 'default': Issue #27787: Remove test_main() and hard-coded list of test classes https://hg.python.org/cpython/rev/1f73355afebb -- ___ Python tracker

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2016-08-23 Thread alexander.sturm
Changes by alexander.sturm : -- nosy: +alexander.sturm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue27814] contextlib.suppress: Add whitelist argument

2016-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for being understanding of the decision. Regarding my comment above about __subclasscheck__ potentially letting you implement this without changing the signature of suppress, here's an example of how you might be able to do that. First, define a metaclas

[issue13756] Python3.2.2 make fail on cygwin

2016-08-23 Thread Erik Bray
Erik Bray added the comment: I can confirm that the last attached patch on this issue fixes this particular issue with building on Cygwin. There are other issues but this is definitely one of them. -- nosy: +erik.bray ___ Python tracker

[issue12029] Catching virtual subclasses in except clauses

2016-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: This question came up again recently over in #27814, in the context of a proposal to add an "unless" parameter to contextlib.suppress(). I declined the RFE mainly on the basis of API complexity, but I also noted you can get something comparable in the current AP

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Niko Yasui
New submission from Niko Yasui: Removed the unnecessary listener function and changed the worker loggers from root to children. Also replaced print statements with logging statements and a stdout handler to illustrate the usefulness of handler levels. This version also doesn't require a manual

[issue27350] Compact and ordered dict

2016-08-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue27363] Complex numbers with negative zero parts do not roundtrip properly

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: > Unfortunately, as http://bugs.python.org/issue23229#msg233965 shows, Guido is > against changing complex.__repr__. Good catch! I think that means we should close this issue. The current behaviour isn't actually wrong; it's just a compromise between lots of

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry, but to be honest, I think this is a non-issue. Writing `Fraction(2, 3, 4)` doesn't seem like a very likely cause of real bugs. I'd rather see the code left as it is. -- ___ Python tracker

[issue27787] Avoid test_main() in test_httplib; gc.collect() dangling threads

2016-08-23 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: Argh. This is not the first time my proposal was blown way out of proportion, and then killed. :-( What exactly is wrong with making _normalized keyword-only? All the serious usage (including all the usage already in fractions.py) remain the same, and we avoid

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread Erik Bray
Erik Bray added the comment: I agree--this has the same problem on Cygwin, where pthread_key_t is not just a typedef'd integer (in fact it's a pointer to an instance of a class). Anyways as Ed wrote above POSIX says this is supposed to be an opaque type and there's no reason to assume it's an

[issue27831] Python 3.4.5 leaks memory when attempting to load non-existent file

2016-08-23 Thread R. David Murray
R. David Murray added the comment: How are you defining "leak"? It isn't a leak if Python allocates memory that it doesn't free when doing a new operation. If you do that operation repeatedly and memory use continues to increase, that would be a leak. -- nosy: +r.david.murray __

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread STINNER Victor
STINNER Victor added the comment: What do you suggest? Python C code bases uses "long" everywhere. -- nosy: +haypo ___ Python tracker ___

[issue21085] compile error Python3.3 on Cygwin

2016-08-23 Thread R. David Murray
R. David Murray added the comment: Review the patch, confirm that it works for you (please indicate what cygwin and OS version, etc you test on). Also review this issue and make sure all open concerns have been addressed by the current patch. -- __

[issue27838] test_os.test_chown() random failure on "AMD64 FreeBSD CURRENT Debug 3.x" buildbot

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/940/steps/test/logs/stdio == ERROR: test_chown (test.test_os.ChownFileTests)

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread R. David Murray
R. David Murray added the comment: Can you provide this change as a diff, please? (See docs.python.org/devguide for information on generating reviewable patches). -- nosy: +r.david.murray, vinay.sajip ___ Python tracker

[issue27839] "Python [...] calls sys.displayhook() on unhandled exceptions"

2016-08-23 Thread Jakub Wilk
New submission from Jakub Wilk: reads: "Python usually calls sys.displayhook() on unhandled exceptions. If Future.set_exception() is called, but the exception is never consumed, sys.displayhook() is not calle

[issue25825] AIX shared library extension modules installation broken

2016-08-23 Thread David Edelsohn
David Edelsohn added the comment: $(BINLIBDEST)/config is equivalent to $(LIBPL) in Python 2.7, so Python 2.7 should be okay. Patch2 will not make test_distutils results worse, but the test results may not represent the true status of distutils on AIX if the matching Python version is not ins

[issue27795] Cygwin compile errors

2016-08-23 Thread Kaeptm Blaubaer
Kaeptm Blaubaer added the comment: I can configure only after I have run autoconf and autoheader, then I can configure it without args, then when you run make you can see specific errors. -- resolution: duplicate -> status: closed -> open ___ Python

[issue27795] Cygwin compile errors

2016-08-23 Thread Kaeptm Blaubaer
Kaeptm Blaubaer added the comment: If I run cygwin 32 bit and self-compiled 32 bit python or _freeze_importlib on a 64 bit computer, I'm getting a Fatal Python error. -- ___ Python tracker

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread Erik Bray
Erik Bray added the comment: I'm not really sure what "long" has to do with it... The problem is that the PyThread API uses ints to represent TLS keys, and has for about as long as it's existed (maybe what you meant by "long"). But when support for native TLS was added (#9786 for pthread, som

[issue27809] _PyObject_FastCall(): add support for keyword arguments

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1a698edfa1b by Victor Stinner in branch 'default': Issue #27809: partial_call() uses fast call for positional args https://hg.python.org/cpython/rev/c1a698edfa1b -- ___ Python tracker

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread Erik Bray
Erik Bray added the comment: (Of course, maintaining such a list might take some care, but only when creating and deleting keys--it wouldn't add any overhead to using them to get/set values.) -- ___ Python tracker

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: At the risk of muddying the waters even further, I'd like to make _normalize a public parameter in Python 3.7. There's an interesting operation you can do with fractions, the mediant: https://en.wikipedia.org/wiki/Mediant_%28mathematics%29 http://www.mathtea

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Vinay Sajip
Vinay Sajip added the comment: I specifically wanted to illustrate a separate listener process - the purpose here is not to show what might be the most efficient code, but to show communication via a queue between listener process and worker processes. You've removed this, which defeats the ob

[issue27840] functools.partial: don't copy keywoard arguments in partial_call()?

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: I justed optimized partial_call() for positional arguments in the change c1a698edfa1b to avoid the creation of a temporary tuple when possible. I noticed that keyword parameters from partial() constructor are always copied. Is it mandatory? Can't we avoid co

[issue27825] Make the documentation for statistics' data argument clearer.

2016-08-23 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- assignee: docs@python -> steven.daprano nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-l

[issue27795] Cygwin compile errors

2016-08-23 Thread R. David Murray
R. David Murray added the comment: Please deal with specific errors. As I said there are a number of specific reports already, so a generic "it doesn't work" issue is not useful. If you identify a specific issue for which there is not already an open bug report, please open a new issue for i

[issue27435] ctypes library loading and AIX - also for 2.7.X (and later)

2016-08-23 Thread Michael Felt
Michael Felt added the comment: On 23-Aug-16 02:01, Martin Panter wrote: > Martin Panter added the comment: Thank you for your reply! > > I had understood that changing find_library() would only be useful in > combination with the automatic RTDL_MEMBER detection. Adding the RTLD_MEMBER to the mo

[issue27573] code.interact() should print an exit message

2016-08-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Thu, Aug 18, 2016 at 12:26:56PM +, Armin Rigo wrote: > ...ah, upon closer inspection, we don't use the ``interact()`` method > anyway. We already copied and tweaked this method: one problem was > that it gives no way to run without printing at least on

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread R. David Murray
R. David Murray added the comment: I'd say that sounds reasonable, but most likely it will only be someone working with one of the impacted platforms who will have the motivation to come up with a patch. Especially since neither of the impacted platforms is current formally supported (meaning

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-23 Thread STINNER Victor
New submission from STINNER Victor: Attached patch avoids the creation of a temporary tuple in method_call() and slot_tp_new() by using the new fast call calling convention. It uses a small buffer allocated on the stack C if the function is called with 4 arguments or less, or it allocates a bu

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: As much as Steven's proposal would give me what I want in Py3.6, I must say I'm -1 on it. The assumption of every Fraction being reduced to lowest terms is really an important invariant that provides numerous opportunities for optimization (look at __eq__ for ex

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-23 Thread STINNER Victor
STINNER Victor added the comment: > It uses a small buffer allocated on the stack C if the function is called > with 4 arguments or less, or it allocates a buffer in the heap memory. Maybe 4 is too small. On 64 bit, it's just 5*8=40 bytes. Maybe we can use a buffer of 10 pointers: 80 bytes? It

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread Erik Bray
Erik Bray added the comment: The good news about this (in the pthread case) is that it does not need to be seen as some workaround for unusual platforms, but rather making the existing code more POSIX-compliant (and hence correct). The Win32 side I'm a little less worried about because the TLS

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ea495a5ded9b by Mark Dickinson in branch 'default': Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only. https://hg.python.org/cpython/rev/ea495a5ded9b -- nosy: +python-dev ___ Pytho

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23229] add inf, nan, infj, nanj to cmath module

2016-08-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> commit review versions: +Python 3.6 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue27598] Add SizedIterable to collections.abc and typing

2016-08-23 Thread Bar Harel
Bar Harel added the comment: I still believe "Reiterable" better demonstrates the concept. When you request a Reiterable as a function parameter or assert if something is a Reiterable the other side knows exactly what you mean. A "Collection" is way more ambiguous - if you create an object tha

[issue2613] inconsistency with bare * in parameter list

2016-08-23 Thread vitorg
vitorg added the comment: Here is example where it's necessary, but still raising an error: >>> def my_method(self, *, **kwargs): ... pass ... File "", line 1 SyntaxError: named arguments must follow bare * -- nosy: +vitorg ___ Python tracker

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Steve Dower
Steve Dower added the comment: Where did you install Python from? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: https://www.python.org/downloads/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue27832] fractions.Fraction with 3 arguments: error passes silently

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: Thank you very much! Not only for this fix, but also for restoring my faith in Python community. :-) -- ___ Python tracker ___ __

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Mark Dickinson
Mark Dickinson added the comment: I finally have some time to look at this. I've double-checked all the new cmath testcases against MPFR (via bigfloat), and they all look good. I plan to apply this in two stages: (1) apply the new cmath testcases, (2) apply the test_math changes, and (1.5) wat

[issue27363] Complex numbers with negative zero parts do not roundtrip properly

2016-08-23 Thread Vedran Čačić
Vedran Čačić added the comment: Since I'm so happy with Fraction being fixed, I'll agree here. :-) -- ___ Python tracker ___ ___ Pytho

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Niko Yasui
Niko Yasui added the comment: Thank you both for the helpful comments. Vinay, since you want to illustrate a listener process in the multiprocessing example, why not include a shorter, simpler example beforehand? This is my first time using logging, and it took me multiple hours to figure out

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: Apologies, there are typos in my final paragraph - 3.5.11 should just be 3.5, and 3.5.12 should be 3.5.2 -- ___ Python tracker ___

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Steve Dower
Steve Dower added the comment: Nothing in Python 2.7 depends on vcruntime140.dll, so you shouldn't be seeing that error from there. My guess is that you have an extension module that requires it, or possibly your PATH or PYTHONPATH variables were mixed up. It sounds like everything is working

[issue2613] inconsistency with bare * in parameter list

2016-08-23 Thread Guido van Rossum
Guido van Rossum added the comment: I promise you it's not necessary in that example. Leaving out the '*' has the same effect as what you intend there. -- ___ Python tracker ___

[issue27598] Add SizedIterable to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Guido van Rossum added the comment: ReIterable and Collection are different concepts. - ReIterable just implements __iter__ but promises certain semantics. - Collection implements __iter__, __contains__ and __len__. If we had ReIterable I would probably decree that Collection inherits from it (

[issue27836] VCRUNTIME140.DLL not found

2016-08-23 Thread Chris Wood
Chris Wood added the comment: Ah, in that case: - I guess the issue would have been that the python 3.5 installation I tried (which was 3.5.0a1) had the vcruntime140.dll issue - I've realised that the 3.5* installation puts Python on the beginning of the PATH - whereas I was putting the 2.7

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread Erik Bray
Erik Bray added the comment: FWIW I've created an initial patch for this. Seems to work fine, but it's a bit of a mess and I have a few small implementation concerns. I'll try to get it cleaned up sometime in the next few days and I'll post it. -- ___

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Changes by Guido van Rossum : -- title: Add SizedIterable to collections.abc and typing -> Add Collection to collections.abc and typing ___ Python tracker ___ __

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75111791110b by R David Murray in branch '2.7': # 2466: ismount now recognizes mount points user can't access. https://hg.python.org/cpython/rev/75111791110b -- ___ Python tracker

[issue25658] PyThread assumes pthread_key_t is an integer, which is against POSIX

2016-08-23 Thread R. David Murray
Changes by R. David Murray : -- hgrepos: -352 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue27837] Logging Cookbook Improvement

2016-08-23 Thread Vinay Sajip
Vinay Sajip added the comment: > Since a queue isn't necessary for logging with multiprocessing IMO a queue with QueueHandler/QueueListener is best practice when working with multiprocessing and logging. If you don't use them, things may seem to work some of the time but could fail in certain

[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

2016-08-23 Thread R. David Murray
R. David Murray added the comment: Thanks, Xiang. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.5, Python 3.6 ___ Python tracker _

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1017215f5492 by Mark Dickinson in branch 'default': Issue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff Allen. https://hg.python.org/cpython/rev/1017215f5492 -- nosy: +python-dev ___

[issue27573] code.interact() should print an exit message

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset c4863530cfd6 by Steven D'Aprano in branch 'default': Issue #27573 make the exit message configurable. https://hg.python.org/cpython/rev/c4863530cfd6 -- ___ Python tracker

[issue27842] Order CSV header fields

2016-08-23 Thread Steve Holden
New submission from Steve Holden: It's sometimes annoying that a csv.DictReader doesn't retain the field ordering given in the first line of the file. Sometimes it matters. This patch converts the reader so that it returns an OrderedDict rather than a plain dict, thereby retaining the ordering

[issue27842] Order CSV header fields

2016-08-23 Thread Steve Holden
Changes by Steve Holden : Removed file: http://bugs.python.org/file44202/csv.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue27842] Order CSV header fields

2016-08-23 Thread Steve Holden
Steve Holden added the comment: Sorry, deleted the originally submitted (incorrect) patch file. -- Added file: http://bugs.python.org/file44203/csv.patch ___ Python tracker ___ _

[issue27842] Order CSV header fields

2016-08-23 Thread R. David Murray
Changes by R. David Murray : -- hgrepos: -353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21085] compile error Python3.3 on Cygwin

2016-08-23 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: Hello, I'm writer for past patch. 3.4-issue21085-struct_siginfo.patch removes si_band field from struct_siginfo if the C siginfo_t doesn't have si_band field. This modification raises a incompatibility between platforms having struct_siginfo. Now, I wrote an

[issue12029] Catching virtual subclasses in except clauses

2016-08-23 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27842] Order CSV header fields

2016-08-23 Thread R. David Murray
R. David Murray added the comment: I think this seems reasonable, now that OrderedDict is in C. -- nosy: +r.david.murray type: -> enhancement ___ Python tracker ___

[issue27843] Spaces in filenames in setuptools

2016-08-23 Thread Michael Felt
New submission from Michael Felt: p.s. - guessing on the component - this is after make install + make install DESTDIR=/var/aixtools/aixtools/python/3.6.0.164 > .buildaix/install.out + mkinstallp.ksh /var/aixtools/aixtools/python/3.6.0.164 > .buildaix/mkinstallp.out + renamed:./opt/lib/py

[issue27844] Python-3.6a4 build messages to stderr (on AIX and xlc compiler)

2016-08-23 Thread Michael Felt
New submission from Michael Felt: FYI: Compiler warnings that appear on stderr (skipping any messages sent to stdout) - xlc V11 as the reporting compiler. Two that may need attention are the redefines of _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h Also surprised by the message: Could not

[issue27843] Spaces in filenames in setuptools

2016-08-23 Thread R. David Murray
R. David Murray added the comment: setuptools is not part of CPython or the standard library, though it is currently distributed with CPython via ensurepip. You should report this issue to the setuptools and/or pip bug tracker. -- nosy: +dstufft, r.david.murray __

[issue27843] Spaces in filenames in setuptools

2016-08-23 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue26040] Improve coverage and rigour of test.test_math

2016-08-23 Thread Ned Deily
Ned Deily added the comment: Mark, many buildbots are unhappy. For example: == FAIL: test_testfile (test.test_math.MathTests) -- Traceback (most recent call la

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset acd9a465b373 by Guido van Rossum in branch 'default': Issue 27598: Add Collections to collections.abc. https://hg.python.org/cpython/rev/acd9a465b373 -- nosy: +python-dev ___ Python tracker

[issue27598] Add Collection to collections.abc and typing

2016-08-23 Thread Guido van Rossum
Guido van Rossum added the comment: I'll keep this open until I've also merged typing.py. -- ___ Python tracker ___ ___ Python-bugs-li

[issue27841] Use fast call in method_call() and slot_tp_new()

2016-08-23 Thread Stefan Behnel
Stefan Behnel added the comment: If you care so much about C stack space, you could also try to create two or three entry point functions that keep (say) a 4, 8 and 16 items array on the stack respectively, and then pass the pointer (and the overall length if you need it) of that array on into

  1   2   >