[issue1191964] asynchronous Subprocess

2014-04-04 Thread Josiah Carlson
Josiah Carlson added the comment: All of the standard tests plus another few that I added all pass on Windows and Linux. I've got some cleanup and a couple more tests to add tomorrow, then I'll post a patch. I ended up not using any overlapped IO cancellation in the Windows variant of communi

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-04 Thread Vinay Sajip
Vinay Sajip added the comment: The release notes say about PEP 442 that "As part of this change, module globals are no longer forcibly set to None during interpreter shutdown in most cases". I haven't looked at the PEP in detail, so I'm not sure specifically what "most cases" means - so I play

[issue21133] unittest discover should allow option to run each package separately

2014-04-04 Thread Michael Foord
Michael Foord added the comment: This is only an issue if a test package pollutes its environment without cleaning up (puts mocks in place that it doesn't remove for example). Fixing this would require discover to use multiple processes to run tests, which isn't going to happen (at least not s

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: Yes. Exactly. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond identified a need and a possible solution. The important part of my post was suggesting another possible solution. Please focus on that. -- ___ Python tracker

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: translate_script_ascii.py: the benchmark script used to test fast_translate.patch. -- Added file: http://bugs.python.org/file34732/translate_script_ascii.py ___ Python tracker ___

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: fast_translate.patch: here is the real patch which optimize translating ASCII to ASCII. It's *much* faster: ---+-+--- Tests  | writerA |  fastA ---+-

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread R. David Murray
R. David Murray added the comment: Antoine, being polite never hurts. Terry is a valuable member of the community and sure, he sometimes makes mistakes (or trusts the docs too much?). So do the the rest of us. -- nosy: +r.david.murray ___ Python t

[issue19655] Replace the ASDL parser carried with CPython

2014-04-04 Thread Nick Coghlan
Nick Coghlan added the comment: IIRC, that discussion was just about Python 2 vs Python 3. Can we get the AST rebuild requirement dropped back to "python3" being 3.3+ for the time being so we don't break Fedora? -- ___ Python tracker

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > PS: Try being a bit more polite. You could definitely do some research before posting erroneous statements (this one isn't difficult to check, as Alex showed). Especially when the other posters (Alex and Raymond) are a lot more competent than you on the top

[issue17621] Create a lazy import loader mixin

2014-04-04 Thread Eric Snow
Eric Snow added the comment: Sweet! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue1043134] Add preferred extensions for MIME types

2014-04-04 Thread David Lindquist
David Lindquist added the comment: Anyone interested in picking this up, or at least commenting on the approach I suggested in the patch? Seems like an easy fix for a long-standing bug. -- ___ Python tracker ___

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: "What the hell I am talking about" is what the doc says. 'd[key]' is written just once and "is evaluated just once". https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements PS: Try being a bit more polite. --

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-04 Thread Larry Hastings
Larry Hastings added the comment: > I retract my veto. You don't have a "veto". Only Guido has that. Anyhow you have yet to reply to Mr. Schwab's assertion: > The emulator has always correctly implemented the insn. If that's true, then I don't understand what this whole argument is about. -

[issue21150] Add quick links table to argparse docs

2014-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have used both quick link tables and agree that more would be nice in spite of the added maintenance burden. The re module is one I would like to see indexed. -- nosy: +terry.reedy ___ Python tracker

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-04 Thread mirabilos
mirabilos added the comment: Andreas Schwab dixit: >The fixed version is here: git://git.code.sf.net/p/aranym/code That’s a source repository. I was asking for released tarballs that have been packaged. But clearly I have been outvoted by the m68k porters. So please feel free to go ahead and b

[issue21130] equivalent functools.partial instances should compare equal

2014-04-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> test needed type: behavior -> enhancement versions: +Python 3.5 ___ Python tracker ___ ___ P

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-04 Thread mirabilos
mirabilos added the comment: Stefan Krah dixit: >If the asm instructions silently fail, I'd say add a test to ./configure >that detects the broken versions of the emulator in question. No, the problem is at runtime: Debian is a binary distro, and thus, packages can get built and/or used on eith

[issue21091] EmailMessage.is_attachment should be a method

2014-04-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue21133] unittest discover should allow option to run each package separately

2014-04-04 Thread Éric Araujo
Éric Araujo added the comment: > imports from previous unittests corrupt the namespace of subsequent unittests > and lead to failures > (usually if there are mock objects in previously imported unit tests) Can you tell more about this? I haven’t run into this issue with large test suites that

[issue21145] Add the @cached_property decorator

2014-04-04 Thread Éric Araujo
Éric Araujo added the comment: It could make sense to add clean, working recipes to e.g. the functools documentation. The cached_property in the wiki uses a TTL, other like Pyramid’s reify decorator make properties that ensure the fget function is called only once per instance, and there may

[issue21150] Add quick links table to argparse docs

2014-04-04 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Éric Araujo
Éric Araujo added the comment: Is this a duplicate of #809163 ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Of course, "d[key] += 1" already solves the double lookup issue at the > Python level. What the hell are you talking about? -- ___ Python tracker ___

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Alex Gaynor
Alex Gaynor added the comment: d[key] += 1 still does two dict lookups, and invokes the hash function twice: >>> class X(object): ... def __hash__(self): ... print "hashed" ... return 0 ... def __eq__(self, other): ... return True ... >>> d = {X(): 0} hashed >>> d[X()] hashed 0 >

[issue21101] Extend the PyDict C API to handle cases where the hash value is known

2014-04-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: While the question is reasonable, I agree with Raymond's answer. As a python programmer, I would not like to see d.setitem_known_hash(key, hash, d.getitem_known_hash(key, hash) + 1) Of course, "d[key] += 1" already solves the double lookup issue at the Pytho

[issue20942] _frozen_importlib should not have a __file__ attribute

2014-04-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: patch review -> committed/rejected ___ Python tracker ___ ___ Python-bugs-l

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2014-04-04 Thread Maciej Szulik
Maciej Szulik added the comment: You're right, I'll change this description removing 'This is equivalent...' sentence from description. I guess the same applies to time.strptime as well. -- ___ Python tracker _

[issue21157] Update imp docs for a PEP 451 world

2014-04-04 Thread Thomas Heller
Changes by Thomas Heller : -- nosy: +theller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread R. David Murray
R. David Murray added the comment: Sorry, I meant to delete that word 'minimal', since you have told us what you currently know, but I hit send before I did :) -- ___ Python tracker ___

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread R. David Murray
R. David Murray added the comment: I think it would be helpful for you to email the python-list mailing list. Hopefully the people there can help you refine your problem report into something we can tackle. The installer works fine for most people, so the first thing that we need in order to

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread Payden Comer
Payden Comer added the comment: Then when installing the 32 bit. (image below:) -- Added file: http://bugs.python.org/file34730/python bug 2.PNG ___ Python tracker ___ __

[issue21158] Windows installer service could not be accessed (Python bug!)

2014-04-04 Thread Payden Comer
Changes by Payden Comer : -- title: Windows installer service could not be accessed -> Windows installer service could not be accessed (Python bug!) ___ Python tracker ___ _

[issue21158] Windows installer service could not be accessed

2014-04-04 Thread Payden Comer
New submission from Payden Comer: I am VERY tech saavy, so don't give me an auto reply like I'm stupid (it's happened before). Sorry for the rude start! Anyhoo, This is the only program on my pc that does this, tried registry fixes, ms fixit, cmd, services, you named it I've (most likely) done

[issue20383] Add a keyword-only spec argument to types.ModuleType

2014-04-04 Thread Brett Cannon
Brett Cannon added the comment: I envision making this happen would also allow for importlib to be updated to rely on __spec__ when possible, with the idea that sometime in the future we can deprecate pulling attributes from a module directly and shift to always working from __spec__. ---

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70990e795657 by Victor Stinner in branch '3.4': Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format http://hg.python.org/cpython/rev/70990e795657 -- ___ Python tracker

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 95d4e8124c6a by Victor Stinner in branch 'default': > Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format > http://hg.python.org/cpython/rev/95d4e8124c6a It looks like _PyUnicode_TranslateCharmap() didn't work with error handl

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95d4e8124c6a by Victor Stinner in branch 'default': Issue #21118: Fix _PyUnicodeTranslateError_Create(), add missing format http://hg.python.org/cpython/rev/95d4e8124c6a New changeset 03b1dd29b327 by Victor Stinner in branch 'default': Issue #21118:

[issue21157] Update imp docs for a PEP 451 world

2014-04-04 Thread Brett Cannon
Brett Cannon added the comment: imp.find_module() might also best be updated to point out that importlib.import_module() exists for those cases where a replacement for sys.path is not necessary. As for imp.load_module(), it might also be best to admit that import is simply not structured to w

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-04-04 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-04-04 Thread Matthew Barnett
Matthew Barnett added the comment: > > -(!ctx->match_all || ctx->ptr == state->end)) { > > +ctx->ptr == state->end) { > > Why this check is not needed anymore? > After stepping through the code for that regex that fails, I concluded that the condition shouldn't

[issue21157] Update imp docs for a PEP 451 world

2014-04-04 Thread Brett Cannon
Brett Cannon added the comment: Sorry, that should have been importlib.util.find_spec(). -- ___ Python tracker ___ ___ Python-bugs-lis

[issue21157] Update imp docs for a PEP 451 world

2014-04-04 Thread Brett Cannon
New submission from Brett Cannon: imp.find_module() should point to importlib.find_spec() instead of find_loader(). As for imp.load_module() I've started a discussion on import-sig on how to best handle that. -- assignee: brett.cannon components: Documentation messages: 215547 nosy: br

[issue21076] Turn signal.SIG* constants into enums

2014-04-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Both patch are almost equivalent (my patch is much simpler but perhaps Matthew's approach is more correct in long perspective). Unfortunately Rietvield doesn't work with Matthew's patch, so I have added my comments here. > -(!ctx->match_all

[issue17621] Create a lazy import loader mixin

2014-04-04 Thread Brett Cannon
Brett Cannon added the comment: I went ahead and committed. I realized I could loosen the "no create_module()" requirement, but I think it could lead to more trouble than it's worth so I left it as-is for now. If people says it's an issue we can revisit it. -- resolution: -> fixed sta

[issue21128] testing stdlib and compatibility with pypy

2014-04-04 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2014-04-04 Thread Brett Cannon
Changes by Brett Cannon : -- type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue21128] testing stdlib and compatibility with pypy

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b56341a49eab by Benjamin Peterson in branch '2.7': make temporary read-only files writable, so rmtree can remove them (#21128) http://hg.python.org/cpython/rev/b56341a49eab New changeset 6f1ac58207cc by Benjamin Peterson in branch '2.7': properly ex

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2014-04-04 Thread Brett Cannon
New submission from Brett Cannon: importlib.abc.InspectLoader.source_to_code exists on InspectLoader because InspectLoader.get_code() uses it. But there is technically no reason to leave it there and not simply move it up to importlib.abc.Loader(). There is also no reason to not make it a stat

[issue17621] Create a lazy import loader mixin

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52b58618199c by Brett Cannon in branch 'default': Issue #17621: Introduce importlib.util.LazyLoader. http://hg.python.org/cpython/rev/52b58618199c -- nosy: +python-dev ___ Python tracker

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: Oh, I tested the wrong patch :-( Here is the updated benchmark summary: ---+--+--- Summary| original | writer ---+--+--- replace none,

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > - drop optimizations for error handlers different than "ignore" because there > is no unit tests for them, and str.translate() uses "ignore". It's safer to > drop untested optimization. It is unsafe to do such nontrivial modifications for untested code. -

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: translate_writer_bench.txt: full output of the micro-benchmark. -- Added file: http://bugs.python.org/file34728/translate_writer_bench.txt ___ Python tracker __

[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: translate_script.py: microbenchmark for str.translate() with various length, charsets (ASCII, latin1, UCS2, UCS4) and percentage of replacement. Result: ---+--+- Summary    | original |   writer --

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2014-04-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: If datetime.date.strptime(date_string, format) validates format, then it is *not* equivalent to date(*(time.strptime(date_string, format)[0:3])), is it? -- ___ Python tracker

[issue21155] asyncio: calling _UnixSelectorEventLoop.create_unix_server(sock=..., path=...) must fail

2014-04-04 Thread STINNER Victor
New submission from STINNER Victor: _UnixSelectorEventLoop.create_unix_server() can be called with path *and* sock. In this case, the sock parameter is ignored. Attached patch changes the method to raise a ValueError, to have the same behaviour than create_connection(). -- files: unix

[issue21119] asyncio create_connection resource warning

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: BaseEventLoop.create_datagram_endpoint() and _UnixSelectorEventLoop.create_unix_server() have the same bug. close2.patch fixes these methods but also modify socketpair() to ensure that the 2 sockets are closed on error. I didn't audit the whole asyncio module

[issue21119] asyncio create_connection resource warning

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch for Python 3.5. It should be applied to Python 3.4 too. -- keywords: +patch nosy: +gvanrossum, haypo, yselivanov versions: +Python 3.5 Added file: http://bugs.python.org/file34724/create_connection_close.patch ___

[issue21090] File read silently stops after EIO I/O error

2014-04-04 Thread STINNER Victor
STINNER Victor added the comment: > Python 2.7 uses C fopen() and fread(), so what happens probably is that > fread() silences the error. I see that file_read() checks ferror() if fread() returned 0. I would nice to run the test in strace and attach the output of strace to see if the EIO is r

[issue21090] File read silently stops after EIO I/O error

2014-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-04-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-04 Thread Mark Dickinson
Mark Dickinson added the comment: LGTM. (For real this time :-). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-04 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Please don't take my word for it, but my understanding is that this issue doesn't apply to 3.4+ since module globals are no longer set to None during interpreter shutdown. (So all the checks against None could even be deleted.) -- __

[issue19655] Replace the ASDL parser carried with CPython

2014-04-04 Thread Eli Bendersky
Eli Bendersky added the comment: On Fri, Apr 4, 2014 at 6:10 AM, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > Now make fails when system Python is older than 3.4. > > This is why the .h & .c files are checked in - someone just building Python doesn't need them regenerated

[issue10976] json.loads() raises TypeError on bytes object

2014-04-04 Thread Hanxue Lee
Hanxue Lee added the comment: This seems to be an issue (bug?) for Python 3.3 When calling json.loads() with a byte array, this is the error json.loads(response.data, 'latin-1') TypeError: can't use a string pattern on a bytes-like object When I decode the byte array to string json.loads(re

[issue21076] Turn signal.SIG* constants into enums

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1f5b5d7997f by Victor Stinner in branch 'default': Issue #21076: sigpending() is not available on Windows http://hg.python.org/cpython/rev/b1f5b5d7997f -- ___ Python tracker

[issue21117] inspect.signature: inaccuracies for partial functions

2014-04-04 Thread Yury Selivanov
Yury Selivanov added the comment: Any comments on the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21076] Turn signal.SIG* constants into enums

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset df5120efb86e by Victor Stinner in branch 'default': Issue #21076: the C signal module has been renamed to _signal http://hg.python.org/cpython/rev/df5120efb86e -- ___ Python tracker

[issue15139] Speed up threading.Condition wakeup

2014-04-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue20942] _frozen_importlib should not have a __file__ attribute

2014-04-04 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue20942] _frozen_importlib should not have a __file__ attribute

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset fef890bd60b1 by Brett Cannon in branch '3.4': Issue #20942: PyImport_ImportFrozenModuleObject() no longer sets http://hg.python.org/cpython/rev/fef890bd60b1 New changeset a11ec7aaac10 by Brett Cannon in branch 'default': merge of fix for issue #2094

[issue20969] Author of EPUB version of Python docs is set to Unknown instead of PSF

2014-04-04 Thread Georg Brandl
Georg Brandl added the comment: The repository is http://hg.python.org/cpython. If you make a patch, please set the appropriate values in Doc/conf.py, not the makefiles. -- nosy: +georg.brandl ___ Python tracker

[issue21154] Small fix in 2.7.6 lang ref

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6809b434752a by Benjamin Peterson in branch '2.7': note that the hash of an arbitrary object is only derived from its address (closes #21154) http://hg.python.org/cpython/rev/6809b434752a -- nosy: +python-dev resolution: -> fixed stage: -

[issue21122] CPython fails to build modules with LLVM LTO on Mac OS X

2014-04-04 Thread Jonas Wagner
Jonas Wagner added the comment: I confirm that this also works with my self-compiled Clang 3.4. -export_dynamic was the missing option. Is a good place to document this? Otherwise, I think this issue can be closed. Thanks a lot for the help! -- ___

[issue21076] Turn signal.SIG* constants into enums

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/4131/steps/compile/logs/stdio gcc -pthread -Xlinker -export-dynamic -o Modules/_testembed Modules/_testembed.o libpython3.5dm.a -lpthread -ldl -lutil -lm libpython3.5dm.a(config.

[issue15139] Speed up threading.Condition wakeup

2014-04-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: In our 2.7 branches, this approach has been superseded with a natively impolemented _Condition class. This is even more efficient. It is available if the underlying Lock implementation is based on pthread locks (not semaphores). --

[issue21076] Turn signal.SIG* constants into enums

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9239171e429 by Giampaolo Rodola' in branch 'default': fix #21076: turn signal module constants into enums http://hg.python.org/cpython/rev/c9239171e429 -- nosy: +python-dev ___ Python tracker

[issue16475] Support object instancing and recursion in marshal

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue13968] Support recursive globs

2014-04-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue19655] Replace the ASDL parser carried with CPython

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now make fails when system Python is older than 3.4. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue21154] Small fix in 2.7.6 lang ref

2014-04-04 Thread Armin Rigo
New submission from Armin Rigo: The docs still say that the default __hash__() is equal to id(), but that's not the case since Python 2.7. -- assignee: docs@python components: Documentation files: lang-ref-fix.diff keywords: patch messages: 215517 nosy: arigo, docs@python priority: norm

[issue19505] OrderedDict views don't implement __reversed__

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Done. Thank you Raymond for your review. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue20636] Better repr for tkinter widgets

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 66770f126c71 by Serhiy Storchaka in branch 'default': Issue #20636: Improved the repr of Tkinter widgets. http://hg.python.org/cpython/rev/66770f126c71 -- nosy: +python-dev ___ Python tracker

[issue19505] OrderedDict views don't implement __reversed__

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset cee010fecdf5 by Serhiy Storchaka in branch 'default': Issue #19505: The items, keys, and values views of OrderedDict now support http://hg.python.org/cpython/rev/cee010fecdf5 -- nosy: +python-dev ___ Pyth

[issue17522] Add api PyGILState_Check

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: I tried using the --install-script hook of the bdist_rpm command to update the INSTALLED_FILES listing to wrap them in quotes, but that doesn't help: http://paste.jaraco.com/uNMrQ I also delved into the RPM docs, which don't provide any guidance other than to

[issue17969] multiprocessing crash on exit

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8410] Fix emulated lock to be 'fair'

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8410] Fix emulated lock to be 'fair'

2014-04-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Closing this issue. It is largely superseded. For our Python 2.7 branches, we have a custom "GIL" lock which can have different inherent semantics from the common "Lock". In particular, we can implement a "fair" PyGIL_Handoff() function to be used to

[issue17969] multiprocessing crash on exit

2014-04-04 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Closing this as won-t fix. Exiting with running threads is a can of worms. -- status: open -> closed ___ Python tracker ___ ___

[issue16475] Support object instancing and recursion in marshal

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue17522] Add api PyGILState_Check

2014-04-04 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue21130] equivalent functools.partial instances should compare equal

2014-04-04 Thread Thomas Heller
Thomas Heller added the comment: My usecase is: I create kind of bound methods with functools.partial. Apologies for the confusion by using the word 'equivalent'; what I mean is that partial instances should (IMO) compare equal when they contain the same function and args/keywords which compar

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Jason R. Coombs
Jason R. Coombs added the comment: The attached script (issue21153.py) replicates the failure in a Unix environment with the 'rpm' command present. -- Added file: http://bugs.python.org/file34721/issue21153.py ___ Python tracker

[issue21153] bdist_rpm fails if project contains files with spaces in the names

2014-04-04 Thread Jason R. Coombs
New submission from Jason R. Coombs: In https://bitbucket.org/pypa/setuptools/issue/178, Eduard reported an issue that setuptools fails to install due to files in its structure with spaces in the filenames. These files have been around for some time (over two years in Distribute), but are now

[issue21149] logging._removeHandlerRef is not threadsafe during interpreter shutdown

2014-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6deab7204e6 by Vinay Sajip in branch '2.7': Issue #21149: Improved thread-safety in logging cleanup during interpreter shutdown. http://hg.python.org/cpython/rev/b6deab7204e6 New changeset b5c91b61991a by Vinay Sajip in branch '3.4': Issue #21149:

[issue21128] testing stdlib and compatibility with pypy

2014-04-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm wondering why resource warnings are not raised in CPython? ./python -Werror -bb -m test.regrtest -uall test_argparse test_file test_httpservers -- ___ Python tracker __

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-04 Thread Andreas Schwab
Andreas Schwab added the comment: There is nothing that fails. The emulator has always correctly implemented the insn. -- ___ Python tracker ___ ___

[issue20969] Author of EPUB version of Python docs is set to Unknown instead of PSF

2014-04-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: The PSF is not the author of the docs. Perhaps something like "Python documentation authors". -- nosy: +pitrou ___ Python tracker ___ _

  1   2   >