[issue20570] Bundle pip 1.5.3 in Python 3.4rc2

2014-02-17 Thread Larry Hastings
Larry Hastings added the comment: When you land this fix, please create the separate 3.4 cherry-pick issue. Those issues are helping me a lot with keeping track of everything. -- ___ Python tracker rep...@bugs.python.org

[issue8478] tokenize.untokenize first token missing failure case

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c896d292080a by Terry Jan Reedy in branch '2.7': Untokenize: An logically incorrect assert tested user input validity. http://hg.python.org/cpython/rev/c896d292080a New changeset 51e5a89afb3b by Terry Jan Reedy in branch '3.3': Untokenize: An

[issue12691] tokenize.untokenize is broken

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c896d292080a by Terry Jan Reedy in branch '2.7': Untokenize: An logically incorrect assert tested user input validity. http://hg.python.org/cpython/rev/c896d292080a New changeset 51e5a89afb3b by Terry Jan Reedy in branch '3.3': Untokenize: An

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

2014-02-17 Thread Ned Deily
Ned Deily added the comment: According to the Open Group Base Specification (Issue 7 2013 Issue): The setenv() function shall fail if: [EINVAL] The envname argument points to an empty string or points to a string containing an '=' character. So it seems to me that the issue here is that

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

2014-02-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20660 ___ ___ Python-bugs-list mailing list

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

2014-02-17 Thread Ned Deily
Ned Deily added the comment: OTOH, the specification for putenv, which is what is actually used by posixmodule.c, does not contain that requirement. http://pubs.opengroup.org/onlinepubs/9699919799/functions/putenv.html http://pubs.opengroup.org/onlinepubs/9699919799/functions/setenv.html

[issue20620] Update the min()/max() docs for the new default argument

2014-02-17 Thread Larry Hastings
Larry Hastings added the comment: key and default are keyword-only arguments, the signature should have a '*'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20620 ___

[issue20210] Provide configure options to enable/disable Python modules and extensions

2014-02-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +doko, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20210 ___ ___

[issue20212] distutils: fix build_ext check to find whether we're building Python or not

2014-02-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +doko, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20212 ___ ___

[issue20211] setup.py: do not add invalid header locations

2014-02-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +doko, haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20211 ___ ___

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

2014-02-17 Thread Ned Deily
Ned Deily added the comment: Georg, why do you want to cherry-pick this for 3.4.0? As noted in Issue20644, it definitely breaks OS installer builds and it may break Windows installer builds as well. We would need to address those problems as wee before rc2, which seems to me to make this

[issue20655] test_subprocess is not executed in python -m test.test_asyncio

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset b3987d758e49 by Victor Stinner in branch 'default': Issue #20655: Fix test_asyncio, run also subprocess tests. Patch written by http://hg.python.org/cpython/rev/b3987d758e49 -- nosy: +python-dev ___

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

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: changeset: 89237:b3987d758e49 tag: tip user:Victor Stinner victor.stin...@gmail.com date:Tue Feb 18 00:11:21 2014 +0100 files: Lib/test/test_asyncio/tests.txt description: Issue #20655: Fix test_asyncio, run also subprocess tests.

[issue20655] test_subprocess is not executed in python -m test.test_asyncio

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Vajrasky for your fix. You may open a new issue for permanent_fix_for_executing_test_asyncio_in_bundle.patch. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

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

2014-02-17 Thread STINNER Victor
New submission from STINNER Victor: On old FreeBSD versions and on the latest OpenBSD (5.4), the multiprocessing module is not available because POSIX semaphores are not supported by the OS. See issues #5725 and #10348 to use SysV semaphores. #10348 was closed because implementing SysV

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

2014-02-17 Thread Westley Martínez
Changes by Westley Martínez aniko...@gmail.com: -- nosy: +anikom15 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100942 ___ ___ Python-bugs-list

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

2014-02-17 Thread STINNER Victor
New submission from STINNER Victor: test_read_pty_output() hangs on OpenBSD 5.4, as it hangs on Mac OS older than 10.9 and FreeBSD. Attached patch skips the test. See also issue #20666: asyncio is not available yet on OpenBSD. -- messages: 211458 nosy: haypo priority: normal severity:

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

2014-02-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: asyncio: test_read_pty_output() of test_asyncio hangs on OpenBSD 5.4 - asyncio: KqueueEventLoopTests.test_read_pty_output() of test_asyncio hangs on OpenBSD 5.4 ___ Python tracker

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

2014-02-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file34123/read_pty_openbsd.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20667

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

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: Python 3.3 is in OpenBSD since 5.4. Oh, it looks like select.select() works fine when I install Python 3.3 from OpenBSD. It's maybe a regression of Python 3.4? -- ___ Python tracker rep...@bugs.python.org

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2014-02-17 Thread Geoffrey Spear
Geoffrey Spear added the comment: Attached patch to ignore OSError attempting to F_NOTIFY on a machine without dnotify but with sys/fcntl.h including #defines for F_NOTIFY and DN_MULTISHOT. The test as written attempts to skip the test, but fails when the header doesn't match the actual

[issue20265] Bring Doc/using/windows up to date

2014-02-17 Thread Westley Martínez
Westley Martínez added the comment: I personally like this page about environment variables: http://www.computerhope.com/issues/ch000549.htm It is clear, concise, and has pretty pictures. However, it does not address Windows 8. Since Windows 8 is becoming more popular everyday, and since it

[issue20564] test_threadsignals.py failed on OpenBSD because too slow ( 3sec)

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: So this looks like a bug. Or a different design choice? It looks like the kernel restarts the wait if it was interrupted. ignore interruptions other than cancelation http://ftp.cc.uoc.gr/mirrors/OpenBSD/src/lib/librthread/rthread_sem.c test that

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

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset d548829765cd by Victor Stinner in branch 'default': Issue #20667: test_asyncio: Skip KqueueEventLoopTests.test_read_pty_output() on http://hg.python.org/cpython/rev/d548829765cd -- nosy: +python-dev ___

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

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, we have a new OpenBSD 5.5 buildbot and it looks like test_asyncio is running on it. So let's try this new buildbot with my fix! I keep the issue open until I get feedback from the buildbot and then I will port the change to Tulip.

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

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 79ccf36b0fd0 by Victor Stinner in branch 'default': Close #20656: Fix select.select() on OpenBSD 64-bit http://hg.python.org/cpython/rev/79ccf36b0fd0 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open -

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

2014-02-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, it looks like concurrent.futures and asyncio now works on OpenBSD 5.5: http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%203.x/builds/10/steps/test/logs/stdio (at least tests are running) OpenBSD 5.5 added support of POSIX semaphores? --

[issue20402] List comprehensions should be noted in for loop documentation

2014-02-17 Thread Westley Martínez
Westley Martínez added the comment: I'm curious what the best way to do this would be. Obviously the simplest would just be 'See also list comprehensions.' However since this is a tutorial, I was thinking of adding something like this: 'In other languages, for loops are often used to fill a

[issue20146] UserDict module docs link is obsolete

2014-02-17 Thread Westley Martínez
Changes by Westley Martínez aniko...@gmail.com: -- nosy: +westley.martinez ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20146 ___ ___

[issue20640] Adds idle test for configHelpSourceEdit

2014-02-17 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Patch for adding configHelpsourceEdit test for python 3.3.I have hand tested it along with tests and it works well. Also removes certain pep8 violation in configHelpSourceEdit Adds a mock Entry class to idle_test/mock_tk (required for a .focus_set())

[issue16224] tokenize.untokenize() misbehaves when moved to compatiblity mode

2014-02-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: While I am closing this as a duplicate, I will use some of your patch, including one test, and credit you as well. Switching from 5-tuples to 2-tuples, as in one of your test cases, is not currently a supported use case, Compat currently re-iterates the

[issue12691] tokenize.untokenize is broken

2014-02-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem of the first iterator pair token being discarded is the subject of #8478. Consider that part of this issue as being closed as a duplicate. The issue of a string being returned if there is no encoding should have been opened as a separate issue,

[issue20654] Pydoc (and help) fails with socket.AddressFamily

2014-02-17 Thread Vajrasky Kok
Vajrasky Kok added the comment: Thanks for the review, Serhiy! Here is the patch addressing Serhiy's concern. -- Added file: http://bugs.python.org/file34126/pydoc_display_enum_member_value_0_v3.patch ___ Python tracker rep...@bugs.python.org

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2014-02-17 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: needs patch - patch review versions: -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7247 ___

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

2014-02-17 Thread Guido van Rossum
Guido van Rossum 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. Maybe the dummy_threading module can be used instead? -- ___ Python tracker

[issue20649] Minor grammatical mistake for asyncio dev docs

2014-02-17 Thread Mike Short
Changes by Mike Short bmsh...@gmail.com: -- keywords: +patch nosy: +Mike.Short Added file: http://bugs.python.org/file34127/asyncio-dev.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20649

[issue20640] Adds idle test for configHelpSourceEdit

2014-02-17 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: Corresponding patch for 2.7 -- Added file: http://bugs.python.org/file34128/test-config-helpsource-27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20640

[issue9974] tokenizer.untokenize not invariant with line continuations

2014-02-17 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: - terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9974 ___ ___

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

2014-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: For now, can we just add to the asyncio docs that timeouts shouldn't exceed one day? Then we can fix it later without breaking expectations. -- ___ Python tracker rep...@bugs.python.org

[issue8478] tokenize.untokenize first token missing failure case

2014-02-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2517a37c13a by Terry Jan Reedy in branch '2.7': Issue #8478: Untokenizer.compat now processes first token from iterator input. http://hg.python.org/cpython/rev/c2517a37c13a New changeset b6d6ca792b64 by Terry Jan Reedy in branch '3.3': Issue

[issue16223] untokenize returns a string if no encoding token is recognized

2014-02-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: The no encoding issue was mentioned in #12691, but needed to be opened in a separate issue, which is this one. The doc, as opposed to the docstring, says Converts tokens back into Python source code. Python 3.3 source code is defined in the reference manual

[issue20668] Remove dependency on tests.txt when running test_asyncio suite

2014-02-17 Thread Vajrasky Kok
New submission from Vajrasky Kok: We can run the whole asyncio tests by using this command: ./python -m test.test_asyncio But this way depends on the Lib/test/test_asyncio/tests.txt which contains all the tests that need to be executed. The problem is the core developer may forget to modify

[issue20668] Remove dependency on tests.txt when running test_asyncio suite

2014-02-17 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, LGTM. Please commit and add to issue 20648. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20668 ___

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

2014-02-17 Thread Georg Brandl
Georg Brandl added the comment: Well, I thought the installer script can surely be fixed in time. If not, I agree that this shouldn't be picked yet. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20661

<    1   2