[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Ned Deily
Ned Deily added the comment: The installer script wasn't broken, neither was the dmg buildbot. I'm still not seeing how this change qualifies as one that should be allowed in after rc1. Perhaps if there were a bug tracker issue that justified it. Still I'll see what I can do to implement

[issue20666] asyncio/OpenBSD: make concurrent.futures dependency optional

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: I'd prefer not to add a bad hack to support such a broken platform. If it doesn't have semaphores, not much Python code will run. Oh, in fact concurrent.futures and multiprocessing are available on OpenBSD 5.5 (see the new buildbot created yesterday).

[issue20564] locks cannot be interrupted on OpenBSD

2014-02-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: test_threadsignals.py failed on OpenBSD because too slow ( 3sec) - locks cannot be interrupted on OpenBSD ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20564

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Ned Deily
Ned Deily added the comment: Also Martin should give his blessing wrt the Windows installer builds. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20661 ___

[issue20564] locks cannot be interrupted on OpenBSD

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a3d54bb04cbb by Victor Stinner in branch 'default': Issue #20564: Skip tests on lock+signals on OpenBSD http://hg.python.org/cpython/rev/a3d54bb04cbb -- nosy: +python-dev ___ Python tracker

[issue20667] asyncio: KqueueEventLoopTests.test_read_pty_output() of test_asyncio hangs on OpenBSD 5.4

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2498889ad8d by Victor Stinner in branch 'default': Issue #20667: KqueueEventLoopTests.test_read_pty_output() hangs also on OpenBSD 5.5. http://hg.python.org/cpython/rev/b2498889ad8d -- ___ Python

[issue20564] locks cannot be interrupted on OpenBSD

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: @Remi: You may report the feature request to OpenBSD kernel if you want. Until OpenBSD implements it, the test is now skipped in Python. -- resolution: - fixed status: open - closed ___ Python tracker

[issue20649] Minor grammatical mistake for asyncio dev docs

2014-02-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- stage: committed/rejected - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20649 ___

[issue20649] Minor grammatical mistake for asyncio dev docs

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b09a2cf1744 by Victor Stinner in branch 'default': Close #20649: Fix typo in asyncio doc. Patch written by Brett Cannon. http://hg.python.org/cpython/rev/6b09a2cf1744 -- nosy: +python-dev resolution: - fixed stage: needs patch -

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: You may also cherry-pick d548829765cd and b2498889ad8d, skip tests on OpenBSD. And: changeset: 89246:6b09a2cf1744 tag: tip user:Victor Stinner victor.stin...@gmail.com date:Tue Feb 18 09:22:00 2014 +0100 files:

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Georg Brandl
Georg Brandl added the comment: The change was requested by doko for Debian/Ubuntu. As for changing it after rc1, I agree it is unfortunate. But it doesn't affect the distributed content, only how the release is built, which I think is exactly what *can* go in the rc phase. The Python

[issue20656] OpenBSD: timeval.tv_sec type is long, not time_t

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c186975ee43 by Victor Stinner in branch 'default': Issue #20656: Restore explicit downcast in select_select(). http://hg.python.org/cpython/rev/6c186975ee43 -- ___ Python tracker rep...@bugs.python.org

[issue20564] locks cannot be interrupted on OpenBSD

2014-02-18 Thread Remi Pointel
Remi Pointel added the comment: You may report the feature request to OpenBSD kernel if you want. Until OpenBSD implements it, the test is now skipped in Python. Yes, it's done yet. However, it's good to skip it until it's implemented. -- ___

[issue20493] asyncio: OverflowError('timeout is too large')

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79e5bb0d9b8e by Victor Stinner in branch 'default': Issue #20493: Document that asyncio should not exceed one day http://hg.python.org/cpython/rev/79e5bb0d9b8e -- nosy: +python-dev ___ Python tracker

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 79e5bb0d9b8e by Victor Stinner in branch 'default': Issue #20493: Document that asyncio should not exceed one day http://hg.python.org/cpython/rev/79e5bb0d9b8e -- ___ Python tracker

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-18 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%203.x/builds/14/steps/test/logs/stdio == ERROR: testCmsgTrunc1 (test.test_socket.RecvmsgSCMRightsStreamTest)

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Ned Deily
Ned Deily added the comment: It does affect the distributed content in that the installer scripts for OS X and Windows are part of the source release and both Martin and I try very hard to build installers from unmodified source. And the OS X installers are built from a known vanilla

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Georg Brandl
Georg Brandl added the comment: I see. I don't want to make your life miserable, so let's make a compromise and keep it for 3.4.1, and Debian will have to patch it locally for 3.4.0. -- resolution: - rejected status: open - closed ___ Python

[issue20667] asyncio: KqueueEventLoopTests.test_read_pty_output() of test_asyncio hangs on OpenBSD 5.4

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: test_asyncio now pass on OpenBSD 5.5. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20667 ___

[issue20670] 3.4 cherry-pick: 2dd4922c9371 set line and column numbers for keyword-only arg nodes (#20619)

2014-02-18 Thread STINNER Victor
New submission from STINNER Victor: New changeset 2dd4922c9371 by Benjamin Peterson in branch 'default': set line and column numbers for keyword-only arg nodes (closes #20619) http://hg.python.org/cpython/rev/2dd4922c9371 -- assignee: larry messages: 211497 nosy: haypo, larry priority:

[issue20619] lineno and col_offset attributes of _ast.arg objects are not set

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: I created #20670 to ask to add it to 3.4.0 RC2. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20619 ___

[issue16733] Solaris ctypes_test failures

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: Any progress on this issue? There are still failures on Solaris buildbots. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16733 ___

[issue19748] test_time failures on AIX

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: @David Edelsohn: Can you please test attached patch on AIX? It should fix test_mktime and test_ctime. -- keywords: +patch Added file: http://bugs.python.org/file34130/pylocaltime_aix.patch ___ Python tracker

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: If I add a sleep of 1 second before stdin.write(), the test always fail with OSError(22, Invalid parameter). So it becomes obvious that the write fails if the process already exited. Attached patch should fix the issue. Can someone review it? The test fails

[issue20671] test_create_at_shutdown_with_encoding() of test_io hangs on SPARC Solaris 10 OpenCSW 3.x

2014-02-18 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20OpenCSW%203.x/builds/813/steps/test/logs/stdio [162/389/1] test_io Timeout (1:00:00)! Current thread 0x0001 (most recent call first): File

[issue20672] test_list() of test_tarfile fails on

2014-02-18 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1728/steps/test/logs/stdio == FAIL: test_list (test.test_tarfile.Bz2ListTest)

[issue20672] test_list() of test_tarfile fails on

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: Another different failure. http://buildbot.python.org/all/builders/System%20Z%20Linux%203.x/builds/1302/steps/test/logs/stdio == FAIL: test_list_command_verbose

[issue20661] 3.4 cherry-pick: eef7899ea7ab use system doc toolchain instead of checking out of svn

2014-02-18 Thread Ned Deily
Ned Deily added the comment: Thanks, Georg. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20661 ___ ___ Python-bugs-list mailing list

[issue15871] Online docs: make index search always available.

2014-02-18 Thread Ezio Melotti
Ezio Melotti added the comment: This seems to have been fixed/improved already. A search for random now returns the random module as first result and random.random as second. Searching for print returns the pprint module first, and then the print function. With str or list the results are a

[issue20672] test_list() of test_tarfile fails on

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Another different failure. This is issue20220. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20672 ___

[issue19769] test_venv: test_with_pip() failure on AMD64 Windows Server 2008 [SB] 3.x buildbot

2014-02-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19769 ___

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: putenv(=value) does nothing: it doesn't create a variable with an empty name. You can test with the attach test_empty_env_var.py script (written for Linux). Attached reject_empty_env_var.patch patch modifies posix.putenv() to raise a ValueError if the name is

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-18 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file34133/reject_empty_env_var.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20658

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: The workaround of this bug is to avoid os.environ['']=value. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20658 ___

[issue20672] test_list() of test_tarfile fails on

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This failure can be reproduced on Linux: LANG=en_US.ISO8859-1 ./python -Wall -m test.regrtest -vG -m test_list test_tarfile Tarfile use filesystem encoding by default (and UTF-8 on Windows). This test expected the UTF-8 encoding. Here is a patch which

[issue20671] test_create_at_shutdown_with_encoding() of test_io hangs on SPARC Solaris 10 OpenCSW 3.x

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Build #810 and earlier did not hanged. Build #811 (http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20OpenCSW%203.x/builds/811) hanged on test_multiprocessing_spawn, build #812

[issue19748] test_time failures on AIX

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue11188? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19748 ___

[issue20510] Test cases in test_sys don't match the comments

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 63f0a1e95d2b by Zachary Ware in branch '2.7': Issue #20510: Rewrote test_exit in test_sys to match existing comments http://hg.python.org/cpython/rev/63f0a1e95d2b New changeset fa81f6ddd60e by Zachary Ware in branch '3.3': Issue #20510: Rewrote

[issue20510] Test cases in test_sys don't match the comments

2014-02-18 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the report and patch! And btw, you are right to avoid while we're in there changes in general, but modernizing the test suite gets a little bit of leniency in that regard. It wouldn't have been appropriate to venture outside of test_exit in

[issue20622] Python3.3 venv pip fails to run if path contains spaces

2014-02-18 Thread R. David Murray
R. David Murray added the comment: The interpreter is a compiled C binary, not a shell script. Thus the limitations of the !# hack do no apply to the interpreter itself. -- nosy: +r.david.murray resolution: - invalid status: open - closed ___

[issue20622] Python3.3 venv pip fails to run if path contains spaces

2014-02-18 Thread R. David Murray
R. David Murray added the comment: s/shell script/script/ (A python script is not technically a shell script, but it uses the same !# mechanism to launch the binary (the interpreter) that reads the contents of the file and executes it.) -- ___

[issue20649] Minor grammatical mistake for asyncio dev docs

2014-02-18 Thread Brett Cannon
Brett Cannon added the comment: Actually Mike wrote the patch, not me. And why did you flip the Stage to needs patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20649 ___

[issue20628] csv.DictReader

2014-02-18 Thread R. David Murray
R. David Murray added the comment: Well, there is a reason why the term 'sequence' was used. It covers lists, tuples...and anything else that implements the Sequence ABC (http://docs.python.org/library/collections.html#collections-abstract-base-classes). The word 'sequence' could be made a

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM. Please commit in both repos and add to the list of cherrypicks for Larry. On Tue, Feb 18, 2014 at 1:40 AM, STINNER Victor rep...@bugs.python.orgwrote: STINNER Victor added the comment: If I add a sleep of 1 second before stdin.write(), the test

[issue20622] Python3.3 venv pip fails to run if path contains spaces

2014-02-18 Thread Éric Araujo
Éric Araujo added the comment: Wow that is a very compelling argument that I am hesitant to raise a counter point against. I was not making an argument to describe a choice made by Python developers, but describing how unix shells have been working for the last decades. The behavior you

[issue20622] Python3.3 venv pip fails to run if path contains spaces

2014-02-18 Thread Éric Araujo
Éric Araujo added the comment: another program specified shebang → another program specified using a shebang -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20622 ___

[issue15871] Online docs: make index search always available.

2014-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: We have collectively spent much time creating reasonably good module and term indexes and more improvements can and will be made. I strongly feel that they should be made as easily searchable and usable as the full text searches that are generally less useful

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20673 ___

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: This is a proxy issue for: https://code.google.com/p/tulip/issues/detail?id=81 -- assignee: yselivanov messages: 211523 nosy: yselivanov priority: normal severity: normal status: open title: asyncio: Add support for UNIX Domain Sockets. versions:

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread Yury Selivanov
Yury Selivanov added the comment: Two new cherry-picks: changeset: 89253:d6c7d1f18915 tag: tip user:Yury Selivanov yseliva...@sprymix.com date:Tue Feb 18 12:21:57 2014 -0500 files: Misc/NEWS description: Misc/NEWS: Add a news item for UNIX Sockets support in

[issue20673] asyncio: Add support for UNIX Domain Sockets.

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20673 ___ ___

[issue20674] Update comments in dictobject.c

2014-02-18 Thread Raymond Hettinger
New submission from Raymond Hettinger: The hash function comments in Objects/dictobject.c no longer match the implementation: /* Major subtleties ahead: Most hash

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d610a2740b5f by Zachary Ware in branch '3.3': Issue #20609: Fix building 64-bit binaries on 32-bit Windows. http://hg.python.org/cpython/rev/d610a2740b5f New changeset 69d13cdc4eeb by Zachary Ware in branch 'default': Issue #20609: Merge with 3.3.

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-18 Thread Zachary Ware
Zachary Ware added the comment: Fixed, thanks for the report! -- assignee: - zach.ware resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20609

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: Here is a patch for DictReader that adds a mod link to the sequence abstract as requested. Please review this if you could and let me know what you think. Note: This patch is for python 3 and if you like how I have done it on here I will go ahead and create a

[issue20675] 3.4 cherry-pick: 69d13cdc4eeb fix 64-bit build on 32-bit Windows

2014-02-18 Thread Zachary Ware
New submission from Zachary Ware: I broke cross-building 64-bit binaries on 32-bit Windows in issue #19788, 69d13cdc4eeb fixes it. -- assignee: larry components: Build, Windows messages: 211529 nosy: larry, zach.ware priority: release blocker severity: normal stage: commit review

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a63327162063 by Yury Selivanov in branch 'default': Mangle __parameters in __annotations__ dict properly. Issue #20625. http://hg.python.org/cpython/rev/a63327162063 -- nosy: +python-dev ___ Python

[issue15871] Online docs: make index search always available.

2014-02-18 Thread Georg Brandl
Georg Brandl added the comment: What a waste indeed. After all, when I want to search I only ever want one single match to be displayed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15871

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- assignee: - yselivanov resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20625 ___

[issue20628] csv.DictReader

2014-02-18 Thread R. David Murray
R. David Murray added the comment: I'd like to combine the two approaches: mention that fieldnames is a sequence (with the link) as soon as fieldnames is introduced in the paragraph, analogous to what you did in the first patch. Whether you then make what becomes the second occurrence of the

[issue20676] 3.4 cherry-pick: a63327162063 Mangle __parameters in __annotations__ dict properly

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: Revision: a63327162063 Larry, please consider including this in 3.4. It's a small bug, that was in python since the time annotations were introduced. It's a shame that it was undiscovered for such a long time, and I think it should absolutely be fixed in

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman srodman7...@gmail.com: Removed file: http://bugs.python.org/file34109/DictReader_DictWriter_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20628 ___

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman srodman7...@gmail.com: Removed file: http://bugs.python.org/file34135/DictReader_python3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20628 ___

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: Ok, I have take the approach I used with the original patch and applied it to this one, listing that fieldnames is a sequence. Then, I added a link to the collections abstract on that instance of the word sequence. I did this for both DictReader and DictWriter

[issue20628] csv.DictReader

2014-02-18 Thread R. David Murray
R. David Murray added the comment: This looks pretty good. In the DictReader part, it might be good to add something analogous to the DictWriter clarifying what the order of the sequence means. Something like a :mod:`sequence collections.abc` whose elements are associated with the fields of

[issue20677] Minor typo in enum docs

2014-02-18 Thread flashk
New submission from flashk: On line 142 in the enum library documentation, I believe the text is missing you. It should be changed from: If have an enum member and need its name or value: to: If you have an enum member and need its name or value: -- assignee: docs@python components:

[issue20648] 3.4 cherry-pick: multiple changesets for asyncio

2014-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: This one needs to be CP'ed together with Yuri's UNIX sockets one. changeset: 89257:f81106f36656 tag: tip user:Guido van Rossum gu...@python.org date:Tue Feb 18 10:24:30 2014 -0800 summary: asyncio: Make tests pass on Windows.

[issue20631] python readline module crashing on NULL access

2014-02-18 Thread Todd Fiala
Todd Fiala added the comment: Cleaned up the proposed patch a bit. Moves HIST_ENTRY* into a tighter block and removes the second call to history_get() since the value is already stashed in the NULL-checked local. -- Added file:

[issue20653] Pickle enums by name

2014-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: For the record I'm against it, but I don't have time to explain until after 3.4 has been released. -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653

[issue20653] Pickle enums by name

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is sad. Because after a release, change it will be much harder. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653 ___

[issue20653] Pickle enums by name

2014-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: It should not be changed after the release either. On Tue, Feb 18, 2014 at 11:57 AM, Serhiy Storchaka rep...@bugs.python.orgwrote: Serhiy Storchaka added the comment: This is sad. Because after a release, change it will be much harder. --

[issue20653] Pickle enums by name

2014-02-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Feb 18, 2014, at 07:57 PM, Serhiy Storchaka wrote: This is sad. Because after a release, change it will be much harder. OTOH, if default-pickling-by-name could be overridden, so can default-pickling-by-value. --

[issue20653] Pickle enums by name

2014-02-18 Thread Ethan Furman
Ethan Furman added the comment: And it is now possible to override and pickle by name if your custom subclass so chooses. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653 ___

[issue12691] tokenize.untokenize is broken

2014-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I fixed the assert and dropped first iter compat-mode token bugs one-by-one by writing narrow unittests that fail and code that makes them pass. I am now working on the '\' continuation issue. That is the subject of #9974, which has a nearly identical patch.

[issue20653] Pickle enums by name

2014-02-18 Thread Ethan Furman
Ethan Furman added the comment: Patch allows subclass to override __reduce_ex__, which is useful if a mixed-in type does not have proper pickle support. -- Added file: http://bugs.python.org/file34138/issue20653.stoneleaf.01.patch ___ Python tracker

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Changes by Sean Rodman srodman7...@gmail.com: Removed file: http://bugs.python.org/file34136/DictReader_DictWriter_python3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20628 ___

[issue20628] csv.DictReader

2014-02-18 Thread Sean Rodman
Sean Rodman added the comment: What about if I put The *fieldnames* parameter is a :mod:`sequence collections.abc` whose elements are associated with the fields of the input data in order. These elements become the keys of the resulting dictionary. It contains all of the information that you

[issue20660] Starting a second multiprocessing.Manager causes INCREF on all object created by the first one.

2014-02-18 Thread Richard Oudkerk
Richard Oudkerk added the comment: On Unix, using the fork start method (which was the only option till 3.4), every sub process will incref every shared object for which its parent has a reference. This is deliberate because there is not really any way to know which shared objects a

[issue9974] tokenizer.untokenize not invariant with line continuations

2014-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: The \ continuation bug is one of many covered by #12691 and its patch, but this came first and it focused on only this bug. With respect to this issue, the code patches are basically the same; I will use tests to choose between them. On #12691, Gareth notes

[issue20653] Pickle enums by name

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 587fd4b91120 by Ethan Furman in branch 'default': Close issue20653: allow Enum subclasses to override __reduce_ex__ http://hg.python.org/cpython/rev/587fd4b91120 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue20653] Pickle enums by name

2014-02-18 Thread Ethan Furman
Ethan Furman added the comment: Proposal to switch to pickle by name rejected, but Enum now allows __reduce_ex__ to be overwridden in subclasses. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org

[issue20678] re does not allow back references in {} matching operator

2014-02-18 Thread steven Michalske
New submission from steven Michalske: When writing a regular expression to match the following text. d = num interesting lines: 3 1 2 3 foo # I only want to match the interesting lines. m = re.match(.+?: (\d+)\n((?:.+\n){\1}), d) print(m) # prints: None # Expected a match object.

[issue20679] 3.4 cherry-pick: 587fd4b91120 improve Enum subclass behavior

2014-02-18 Thread Ethan Furman
New submission from Ethan Furman: 587fd4b91120: Better pickle support for Enum subclasses. -- assignee: larry messages: 211552 nosy: ethan.furman, larry priority: release blocker severity: normal stage: commit review status: open title: 3.4 cherry-pick: 587fd4b91120 improve Enum

[issue15871] Online docs: make index search always available.

2014-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe I somewhere proposed that there be an option to get more *if one wanted more*. The real waste is not using the available index resources. -- ___ Python tracker rep...@bugs.python.org

[issue20678] re does not allow back references in {} matching operator

2014-02-18 Thread Matthew Barnett
Matthew Barnett added the comment: I don't know of any regex implementation that lets you do that. -- type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20678 ___

[issue20653] Pickle enums by name

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ha! You just has committed a patch which I write right now. Thank you Guido for your time machine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83013a7be836 by Victor Stinner in branch '3.3': Issue #19612: On Windows, subprocess.Popen.communicate() now ignores http://hg.python.org/cpython/rev/83013a7be836 New changeset 423cb79640eb by Victor Stinner in branch 'default': (Merge 3.3) Issue

[issue20625] Argument names in __annotations__ are not mangled for functions defined inside class scope

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5202aca8a673 by Victor Stinner in branch 'default': Issue #20625: Fix compilation issue http://hg.python.org/cpython/rev/5202aca8a673 -- ___ Python tracker rep...@bugs.python.org

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: LGTM. Thanks for the review. Please commit in both repos and add to the list of cherrypicks for Larry. Both repos? You mean Tulip? This issue is specific to subprocess not asyncio (asyncio.subprocess). This sporadic bug is not new. IMO it exists since

[issue20680] Pickle socket enums by names

2014-02-18 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: As far as socked enums are platform depending, pickling them by value makes not much sense. Here is a patch which makes AddressFamily and SocketType members be pickled by name. -- components: Library (Lib) files: socket_enums_pickle_by_name.patch

[issue12691] tokenize.untokenize is broken

2014-02-18 Thread Gareth Rees
Gareth Rees added the comment: Thanks for your work on this, Terry. I apologise for the complexity of my original report, and will try not to do it again. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12691

[issue20510] Test cases in test_sys don't match the comments

2014-02-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about following test? with self.assertRaises(SystemExit) as cm: sys.exit() self.assertIsNone(cm.exception.code) -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org

[issue20677] Minor typo in enum docs

2014-02-18 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20677 ___ ___

[issue6839] zipfile can't extract file

2014-02-18 Thread Adam Polkosnik
Adam Polkosnik added the comment: It might not be a regular security issue, but it is not extracting some files that it should. There's a possible scenario, where it can be a security issue. -- ___ Python tracker rep...@bugs.python.org

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry, forget everything I said. (That includes the LGTM, sadly -- as I wrote earlier I don't know this code very well.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19612

[issue20628] csv.DictReader

2014-02-18 Thread R. David Murray
R. David Murray added the comment: Yes, that does sound better. If you can make an equivalent 2.7 patch I will apply them. -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20628

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe() on Windows 8

2014-02-18 Thread STINNER Victor
STINNER Victor added the comment: Sorry, forget everything I said. (That includes the LGTM, sadly -- as I wrote earlier I don't know this code very well.) Don't worry, I'm confident in my change :) -- ___ Python tracker rep...@bugs.python.org

[issue20681] asyncio: New error handling API

2014-02-18 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20681 ___

[issue20681] asyncio: New error handling API

2014-02-18 Thread Yury Selivanov
New submission from Yury Selivanov: This is a proxy issue for https://code.google.com/p/tulip/issues/detail?id=80 -- assignee: yselivanov messages: 211566 nosy: gvanrossum, haypo, yselivanov priority: normal severity: normal status: open title: asyncio: New error handling API type:

[issue20681] asyncio: New error handling API

2014-02-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c1de1ebb894 by Yury Selivanov in branch 'default': asyncio: New error handling API. Issue #20681. http://hg.python.org/cpython/rev/7c1de1ebb894 -- nosy: +python-dev ___ Python tracker

  1   2   >