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

2014-02-21 Thread Larry Hastings
Larry Hastings added the comment: I just put the third preview up. There are no diffs between that asyncio and the one in default. Is this torrent coming to a close? We really should keep the changes from rc2 to final to a bare minimum. -- ___

[issue20714] Allow for ]] in CDATA in minidom

2014-02-21 Thread Éric Araujo
Éric Araujo added the comment: Does the XML spec allow that? -- nosy: +eric.araujo title: Please allow for ]] in CDATA in minidom.py - Allow for ]] in CDATA in minidom versions: +Python 3.5 -Python 2.7, Python 3.3 ___ Python tracker

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

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: Is this torrent coming to a close? We really should keep the changes from rc2 to final to a bare minimum. I agree. We may improve the documentation, but such commits doesn't need to be cherry-picked. Many people read the documentation online

[issue19748] test_time failures on AIX

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 502c8b7e8ad2 by Victor Stinner in branch 'default': Issue #19748: On AIX, time.mktime() now raises an OverflowError for year http://hg.python.org/cpython/rev/502c8b7e8ad2 -- nosy: +python-dev ___ Python

[issue19748] test_time failures on AIX

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: With the latest patch, test_time passes. Ok, thanks for your tests. But time.ctime() is still wrong. Can you please try the following examples with the latest Python version (502c8b7e8ad2) and then retry with pylocaltime_aix.patch? time.ctime(-2**29) 'Sat

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-02-21 Thread Matthew Iversen
Matthew Iversen added the comment: Sorry, I referenced http://bugs.python.org/issue12169 before. distutils multipart/form-data encoding still breaks the spec for MIME, which demands CRLF line endings. Especially since it is now sending HTTP 1.1 requests which should conform. The patch /

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

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I copy the nosy list from issue #6560 which added the recvmsg() and sendmsg() methods. -- nosy: +baikie, brett.cannon, brian, exarkun, giampaolo.rodola, jackdied, janssen, jcea, ncoghlan, neologix, pitrou, python-dev, rosslagerwall, schmichael,

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-02-21 Thread Éric Araujo
Éric Araujo added the comment: Some clarifications: * distutils2/packaging is now abandoned. * distutils can get bug fixes, unless they break e.g. work-arounds that have been working in setuptools or setup.py scripts for years. * distutils can get new features in 3.5. For this issue, I think

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

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I sent an email to Floris Bruynooghe, owner of the buildbot: Hi, I noticed Timeout (1:00:00)! errors on your buildbot SPARC Solaris 10 OpenCSW 3.x. It looks like the buildbot takes 10 hour for one build, whereas my PC takes less than 10 minutes (especially

[issue20717] test_4_daemon_threads() fails randomly on x86 Windows Server 2003 [SB] 3.x

2014-02-21 Thread STINNER Victor
New submission from STINNER Victor: The test test_4_daemon_threads() does crash randomly on the buildbot x86 Windows Server 2003 [SB] 3.x. It may be an old bug which was not seen before because it was hidden by another bug (#19424 which is now fixed). Charles-François Natali repeated that

[issue20717] test_4_daemon_threads() fails randomly on x86 Windows Server 2003 [SB] 3.x

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue on my Windows XP and Windows 7 virtual machines. -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20717

[issue20718] OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures

2014-02-21 Thread STINNER Victor
New submission from STINNER Victor: OpenBSD failures: http://bugs.python.org/issue20669#msg211493 AIX failures: http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1760/steps/test/logs/stdio == ERROR:

[issue20718] OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: These tests are skipped on Mac OS X: see issue #12958. We may skip also these tests on AIX and OpenBSD? (Copy the nosy list from issue #6560 which added the recvmsg() and sendmsg() methods.) -- nosy: +baikie, brett.cannon, brian, exarkun,

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

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I opened the issue #20718 to track the FD pass failures. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___

[issue20114] Sporadic failure of test_semaphore_tracker() of test_multiprocessing_forkserver on FreeBSD 9 buildbot

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: It is probably harmless then. It makes the buildbot red :-( I would like to see green buildbots :-) Similar failure on the buildbot SPARC Solaris 10 OpenCSW 3.x. A build takes between 9 and 10 hours on this buildbot.

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Nick Coghlan
Nick Coghlan added the comment: Patrick, could you let us know exactly which version of Windows exhibited the problem? I also had no issues when testing the 3.4b3 installer on Windows 7 64-bit a few weeks ago, and I don't believe I have adjusted the UAC settings on that machine. --

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
New submission from STINNER Victor: I read somewhere that python.org has a new website and the new website has gzip compression enabled which makes some urllib tests failing. It's probably related.

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Also, what kind of account exactly is attempting to perform the installation? -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20641

[issue20720] test_create_server() of test_asyncio failure on x86 Windows Server 2008 [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
New submission from STINNER Victor: It looks like the overlapped AcceptEx() operation was cancelled by something. But when the test_asyncio was replayed in verbose mode, the test passed. Is it possible that a local firewall or antivirus cancelled the operation? It would be surprising since

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20FreeBSD%206.4%203.x/builds/4531/steps/test/logs/stdio == ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase)

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/2166/steps/test/logs/stdio == ERROR: testPythonOrg (test.test_robotparser.NetworkTestCase)

[issue20714] Allow for ]] in CDATA in minidom

2014-02-21 Thread Artur R. Czechowski
Artur R. Czechowski added the comment: Eric, I'm not sure what exactly your concern is, but I'll try to address two issues I can see. First: both strings ![CDATA[ and ![CDATA[]] are a correct and valid examples of CDATA usage as per specification[1]. Second: is it allowed to have two

[issue20653] Pickle enums by name

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: __reduce_ex__ is not the preferred method: it's only necessary if you want so special-case according to the prototocol number. In most cases, this is not necessary so it is simpler to define __reduce__ and not __reduce_ex__. So I think the patch really should

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

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: Discussion started on PyDev. While working on that I realized/remembered that the main reason to get this in now is that without it a user *cannot* change how pickling works -- (s)he can write the methods, but they will be ignored. --

[issue20653] Pickle enums by name

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: Many comments, Eli's and Serhey's code changes incorporated. -- Added file: http://bugs.python.org/file34173/issue20653.stoneleaf.02.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653

[issue20653] Pickle enums by name

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: Antoine, If the mixed-in class defines __reduce_ex__, and the Enum class defines __reduce__, pickle will see that the Enum class has both, and will call the _ex__ method. It is, therefore, the preferred method (at least by pickle, which is what we are

[issue20653] Pickle enums by name

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: If the mixed-in class defines __reduce_ex__, and the Enum class defines __reduce__, pickle will see that the Enum class has both, and will call the _ex__ method. Ah, I understand your concern. You are using preferred in a different sense. The pickle docs

[issue20653] Pickle enums by name

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: Yeah, I was confused by that when I first read it as well. The 2.7 docs are even worse in that regard (so there has been some progress :). -- ___ Python tracker rep...@bugs.python.org

[issue20653] Pickle enums by name

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yeah, I was confused by that when I first read it as well. The 2.7 docs are even worse in that regard (so there has been some progress :). The docs are actually correct. They may be confusing because the customization possibilities are more numerous than

[issue7291] urllib2 cannot handle https with proxy requiring auth

2014-02-21 Thread Vackar Afzal
Vackar Afzal added the comment: I've found that for the Python2.6.x patch to play nicely with the popular rquests library, I've had to set some defaults on the modified __init__ function so that it reads as follows: def __init__(self, *args, **kwargs): _orig_init(self, *args,

[issue20714] Allow for ]] in CDATA in minidom

2014-02-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20714 ___

[issue20721] 3.4 cherry-pick: 005d0678f93c Update pip to 1.5.4

2014-02-21 Thread Donald Stufft
New submission from Donald Stufft: Please cherry-pick 005d0678f93c into 3.4.0. It upgrades pip to 1.5.4, the only change is a fix for an errant deprecation warning which was displaying all the time instead of only when you used the deprecated feature. Sorry for making you need to cherry-pick

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread Ned Deily
Ned Deily added the comment: It looks like the new python.org web server configuration was just changed to no longer gzip robots.txt so the test is no longer failing for me. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread Ned Deily
Ned Deily added the comment: ... or, more likely, that a robots.txt file is now in place. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20719 ___

[issue20722] newline is (partially) independent of universal newlines; needs to be made more clear in docs

2014-02-21 Thread Devin Jeanpierre
New submission from Devin Jeanpierre: http://docs.python.org/3.4/library/functions.html#open says newline controls how universal newlines mode works (it only applies to text mode). My reading of this when I saw it was that newline= doesn't do anything unless universal newlines mode is

[issue20484] test_pydoc can alter execution environment causing subsequent test failures

2014-02-21 Thread Ned Deily
Ned Deily added the comment: Here's another example of an odd test failure apparently caused by test_pydoc side effects, this using current default tip (same results with the current cherry pick for 3.4.0rc2): ./bin/python3.4 -m test -w -uall,-largefile test_pydoc test_unicode [1/2]

[issue20484] test_pydoc can alter execution environment causing subsequent test failures

2014-02-21 Thread Ned Deily
Ned Deily added the comment: Eric, can you take a look at this? It is playing minor havoc with regression testing for 3.4.0. -- nosy: +larry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20484

[issue20722] newline is (partially) independent of universal newlines; needs to be made more clear in docs

2014-02-21 Thread Thomas Wouters
Thomas Wouters added the comment: Additionally, the deprecation notice for 'U' in the table of modules should mention that the 'U' mode, not universal newlines, is deprecated because it is unnecessary. Or 'controlled by the newline argument' perhaps. -- nosy: +twouters

[issue20653] Pickle enums by name

2014-02-21 Thread Eli Bendersky
Eli Bendersky added the comment: Many comments, Eli's and Serhey's code changes incorporated. Looks better, thanks. I left some comments in Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653

[issue8168] python3 py_compile does not ignore UTF-8 BOM characters

2014-02-21 Thread koobs
koobs added the comment: Breadcrumb: this was reported against 3.2 and 3.1, but never backported to the latter. -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8168 ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2014-02-21 Thread Vackar Afzal
Vackar Afzal added the comment: Also needed to make another minor update to the monkey patch. Have uploaded the new files as new_http_proxy_patch.py for use with python 2.6.x -- Added file: http://bugs.python.org/file34174/new_http_proxy_patch.py ___

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-02-21 Thread R. David Murray
R. David Murray added the comment: Upon consideration, I think you are right: we should add a FAQ and link it from the tutorial. -- resolution: invalid - stage: committed/rejected - needs patch status: closed - open title: Tutorial section 9.4 - Tutorial section 9.4 and FAQ: how to

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: WITHOUT the patch to timemodule.c: time.ctime(-2**29) 'Fri Dec 26 21:11:28 1952' time.ctime(2**29) 'Mon Jan 5 10:48:32 1987' ERROR: test_mktime (test.test_time.TimeTestCase) -- Traceback

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: WITH the patch: time.ctime(-2**29) Traceback (most recent call last): File stdin, line 1, in module OverflowError: ctime() timestamp argument out of range time.ctime(2**29) 'Mon Jan 5 10:48:32 1987' OK (skipped=8) 1 test OK. --

[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: The docs are quite clear about that: inspect.ismethod(object) Return true if the object is a bound method written in Python. In other words, this is not a bug, and there's probably code in the wild relying on it. -- nosy: +ncoghlan, pitrou

[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

2014-02-21 Thread Nick Coghlan
Nick Coghlan added the comment: Right, the lower level APIs in the inspect module *aren't* designed to hide the implementation details from introspection code, they're there as helpers to let introspection code decide what assumptions are valid. For true Python code, you can do many more

[issue19748] test_time failures on AIX

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: WITHOUT the patch to timemodule.c: time.ctime(-2**29) 'Fri Dec 26 21:11:28 1952' Oh, in this case, pylocaltime_aix.patch is wrong. There was a bug in mktime(), but ctime() works fine. File /home/dje/src/cpython/Lib/test/test_time.py, line 354, in

[issue20723] Make test (Python 3.3.4)

2014-02-21 Thread Daniel
New submission from Daniel: 5 Error to make test with Python v.3.3.4 -- files: makeTest-python3-3-4.log messages: 211867 nosy: datienzalopez priority: normal severity: normal status: open title: Make test (Python 3.3.4) type: compile error versions: Python 3.3 Added file:

[issue20723] Make test (Python 3.3.4)

2014-02-21 Thread R. David Murray
R. David Murray added the comment: It looks like these are due to the python.org web site change. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20723 ___

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

2014-02-21 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: Turns out that the timeout is configured in the buildmaster's master.cfg which Antoine Pitrou has kindly done. It should also run tests a bit more parallel now which will hopefully reduce the 10h runtime a bit, but it remains a slow box. -- nosy:

[issue20720] test_create_server() of test_asyncio failure on x86 Windows Server 2008 [SB] 3.x buildbot

2014-02-21 Thread Guido van Rossum
Guido van Rossum added the comment: I suspect it's just a race in the test. This happened to me recently too when I ran the tests on my Windows 7 laptop, and upon the second try it passed, so I just figured it was a race. After all the test does use run_briefly(), which might as well be

[issue20720] test_create_server() of test_asyncio failure on x86 Windows Server 2008 [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: After all the test does use run_briefly(), which might as well be renamed run_with_race_condition(). Oh, it means that the Future/Task exception was never retrieved is a just a consequence of the failed assertion. IMO the run_briefly() should be avoided,

[issue20720] test_create_server() of test_asyncio failure on x86 Windows Server 2008 [SB] 3.x buildbot

2014-02-21 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed. I suppose all tests currently using run_briefly() should be modified to use run_until() with a lambda and a timeout. The timeout must be (a) large enough to never fail on a buildbot, yet (b) small enough that when a test is actually failing we don't

[issue19748] test_time failures on AIX

2014-02-21 Thread David Edelsohn
David Edelsohn added the comment: time.localtime(-2) time.struct_time(tm_year=1969, tm_mon=12, tm_mday=31, tm_hour=15, tm_min=59, tm_sec=58, tm_wday=2, tm_yday=365, tm_isdst=0) time.localtime(-1) time.struct_time(tm_year=1969, tm_mon=12, tm_mday=31, tm_hour=15, tm_min=59, tm_sec=59,

[issue20630] Add sorting helpers for collections containing None values

2014-02-21 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20630 ___ ___ Python-bugs-list

[issue20653] Pickle enums by name

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: Antoine commented: -- The pickle docs don't mention __reduce_ex__ as being preferred, as in you should use this one, on the contrary. Are we reading the same docs? http://docs.python.org/dev/library/pickle.html#object.__reduce_ex__

[issue20653] Pickle enums by name

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Antoine commented: -- The pickle docs don't mention __reduce_ex__ as being preferred, as in you should use this one, on the contrary. Are we reading the same docs? Are we reading the same comments? --

[issue20653] Pickle enums by name

2014-02-21 Thread Ethan Furman
Ethan Furman added the comment: On 02/21/2014 11:26 AM, Antoine Pitrou wrote: Are we reading the same comments? LOL, apparently not. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20653

[issue20632] Define a new __key__ protocol

2014-02-21 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20632 ___ ___ Python-bugs-list

[issue20632] Define a new __key__ protocol

2014-02-21 Thread Stefan Behnel
Changes by Stefan Behnel sco...@users.sourceforge.net: -- nosy: +scoder ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20632 ___ ___

[issue20723] Make test (Python 3.3.4)

2014-02-21 Thread Ned Deily
Ned Deily added the comment: I believe these failures have been corrected for all active branches in the changes for Issue20695. -- nosy: +ned.deily resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - test_urllibnet.urlretrieveNetworkTests fails

[issue20628] Improve doc for csv.DictReader 'fieldnames' parameter

2014-02-21 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: csv.DictReader - Improve doc for csv.DictReader 'fieldnames' parameter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20628 ___

[issue11588] Add necessarily inclusive groups to argparse

2014-02-21 Thread paul j3
paul j3 added the comment: This patch uses: tests = self._registries['cross_tests'].values() to get a list of functions to run at the end of '_parse_known_args'. I replaced all of the mutually_exclusive_group tests (3 places) in the ArgumentParser with a static function defined in class

[issue20636] Better repr for tkinter widgets

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like this. It would make naming widgets more useful. I checked one Idle dialog and nothing is named. I suspect this is typical. The proposed change would break a doctest that follows the fix in the doctest manual. --- C() # the default repr() for

[issue20683] Add example to tutorial namespace doc, section 9.2

2014-02-21 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- title: [doc] Ease comprehension of section 9.2 of docs for Python 2 and 3 with example - Add example to tutorial namespace doc, section 9.2 versions: +Python 2.7, Python 3.4 ___ Python tracker

[issue20114] Sporadic failure of test_semaphore_tracker() of test_multiprocessing_forkserver on FreeBSD 9 buildbot

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5057eaff9d68 by Richard Oudkerk in branch 'default': Issue #20114: Double timeout in test_semaphore_tracker() to reduce http://hg.python.org/cpython/rev/5057eaff9d68 -- nosy: +python-dev ___ Python

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have default UAC on win7, 64 bit, installed from user account, gave admin password when requested, and did not see an error message (but have not tried to use pip either). 'pip' at command line is not recognized, but I don't know if it should be or if I

[issue20484] test_pydoc can alter execution environment causing subsequent test failures

2014-02-21 Thread Eric Snow
Eric Snow added the comment: Sorry for the delay. It will likely be tomorrow before I can take a look but I'll do so as soon as possible. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20484

[issue20690] IDLE Indents convert to spaces and then throws error

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Questions about how to use python (or Idle) are better directed to python-list or similar forums. In this case, you are asking how to edit a file with tabs in Idle, which converts tabs to spaces on entry. Idle editor windows have a Format menu with Tabify and

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that the tutorial should somewhere make it clear (possibly with a FAQ link) that int literals must be parenthesized or spaced before .name attribute access because literal.name is parsed as (literal.)name. That is a consequence of float literals not

[issue11188] test_time error on AIX

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00e94e454813 by Victor Stinner in branch 'default': Issue #11188, #19748: mktime() returns -1 on error. On Linux, the tm_wday field http://hg.python.org/cpython/rev/00e94e454813 -- ___ Python tracker

[issue19748] test_time failures on AIX

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00e94e454813 by Victor Stinner in branch 'default': Issue #11188, #19748: mktime() returns -1 on error. On Linux, the tm_wday field http://hg.python.org/cpython/rev/00e94e454813 -- ___ Python tracker

[issue19748] test_time failures on AIX

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: time.mktime(time.localtime(-1)) Traceback (most recent call last): File stdin, line 1, in module OverflowError: mktime argument out of range Oh yes, I now remember it. Sorry, it was 3 years ago: http://bugs.python.org/issue11188#msg128541 The problem is to

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Nick Coghlan
Nick Coghlan added the comment: Try pip3, Terry - there's an error in rc1 that means it doesn't install the unversioned command (this is planned to be fixed in rc2). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20641

[issue20719] test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: It looks like the new python.org web server configuration was just changed to no longer gzip robots.txt so the test is no longer failing for me. If I check HTTP headers of http://www.python.org/robots.txt using a small Python script sending GET /robots.txt

[issue20719] testPythonOrg() of test_robotparser fails with the new ww.python.org website

2014-02-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: test_robotparser failure on SPARC Solaris 10 (cc%2C 64b) [SB] 3.x buildbot - testPythonOrg() of test_robotparser fails with the new ww.python.org website ___ Python tracker

[issue20632] Define a new __key__ protocol

2014-02-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is a very nice idea, but does it have to be part of the interpreter core, or could it simply be supplied by a decorator in the functools module? (the main advantage of having it in the interpreter is speed) -- nosy: +pitrou

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6aa3fa646e2 by Yury Selivanov in branch 'default': inspect.signature: Check for function-like objects before builtins. Issue #17159 http://hg.python.org/cpython/rev/d6aa3fa646e2 -- ___ Python tracker

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-21 Thread Yury Selivanov
Yury Selivanov added the comment: Stefan, I committed one more fix in signature -- now cython functions should be finally supported. I'm not sure if Larry accepts this in 3.4.0 though, but I'll create an issue for that. -- ___ Python tracker

[issue1508475] transparent gzip compression in urllib

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I updated issue1508475.diff for Python 3.4 and removed the change in urllib: http_client_gzip.patch. The patch only changes http.client to support server sending gzip data. For example, the new python.org website serves gzip data even if the Accept-Encoding

[issue20724] 3.4 cherry-pick: d6aa3fa646e2 inspect.signature: Check for function-like objects before builtins

2014-02-21 Thread Yury Selivanov
New submission from Yury Selivanov: Another tweak in signature. Fixes #17159 once and for all (and will save Stefan from adding ugly hacks in Cython). I'm not sure if it is a release blocker or can wait till 3.4.1; all I can say is that the change is relatively simple, as it shouldn't matter

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-21 Thread Yury Selivanov
Yury Selivanov added the comment: I'm closing this issue. Please do not reopen it, and create a new one if necessary. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17159

[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: The premise of the builtins signature project is that we should work toward eliminating unnecessary differences between functions coded in Python and those coded otherwise. Part of inspect.signature is a clause to remove the first parameter of the underlying

[issue20719] testPythonOrg() of test_robotparser fails with the new www.python.org website

2014-02-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea title: testPythonOrg() of test_robotparser fails with the new ww.python.org website - testPythonOrg() of test_robotparser fails with the new www.python.org website ___ Python tracker

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: pip3 is not recognized either. There is a bunch of stuff added to 3.4 site_packages: easy_install, pip, pip1.5.2..., setuptools, setuptools2-1..., There is a py.exe but no pip.xxx in c:/windows. -- ___ Python

[issue20719] testPythonOrg() of test_robotparser fails with the new www.python.org website

2014-02-21 Thread Ned Deily
Ned Deily added the comment: Interesting. As of last night, I'm no longer seeing 'gzip' encoding and the test passes for me. But I see some of the buildbots intermittently failing. Looking at the headers for www.python.org/robots.txt, it appears that the file is being served from a varnish

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

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: The buildbot now runs tests with -j16 (hum, I fact there are -j1 and -j16 in the command line), it looks faster: between 3 and 4 hours per build. The current build is running since less than 1 hour, but the test output already contains Timeout (9:55:00)!.

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Mark Lawrence
Mark Lawrence added the comment: Surely tools like this would still be installed in c:\Python34\Scripts and not c:\Windows ? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20641

[issue20717] test_4_daemon_threads() fails randomly on x86 Windows Server 2003 [SB] 3.x

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: The test failed also on AMD64 Windows7 SP1 3.x buildbot: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4144/steps/test/logs/stdio == FAIL: test_4_daemon_threads

[issue20717] test_4_daemon_threads() fails randomly on x86 Windows Server 2003 [SB] 3.x

2014-02-21 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20717 ___ ___ Python-bugs-list

[issue20725] Fail to build on Windows x64 with VS Express

2014-02-21 Thread Tom Brander
New submission from Tom Brander: Trying to build a Win 32 version using VS express on Win 7 (since it cannot do x64) Rev 89320 tried to build python 3.4 from source using VS 2010 express no dice. It complains about solutions folder that is not supported in VS 2010 express. While this is

[issue20726] inspect: Make Signature instances picklable

2014-02-21 Thread Yury Selivanov
New submission from Yury Selivanov: There is no reason for Signature objects to be not picklable. Patch is attached (it will require merging #19573 before). -- assignee: yselivanov files: sig_picklable_01.patch keywords: patch messages: 211903 nosy: larry, ncoghlan, yselivanov priority:

[issue20725] Fail to build on Windows x64 with VS Express

2014-02-21 Thread Zachary Ware
Zachary Ware added the comment: Hi Tom, Your issue is very strange; I use VS 2010 Express on a regular basis and have never had the error shown in your log. The solution folder thing is no big deal; it's annoying that it reminds you about it every time you open the solution, but just

[issue20641] Python installer needs elevated rights to install pip

2014-02-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Mark: the installation of py.exe in c:\windows is correct, see PEP 397. Note that this is not at all the issue reported here. Terry: Whether or not pip3 is found on the path is not the issue reported here, either. The OP mentioned a permission error,

[issue20693] Sidebar scrolls down 2x as fast as page content

2014-02-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b514339e41ef by Benjamin Peterson in branch '2.7': use sphinx from its own virtualenv (closes #20693) http://hg.python.org/cpython/rev/b514339e41ef -- nosy: +python-dev resolution: - fixed stage: needs patch - committed/rejected status:

[issue20727] Improved roundrobin itertools recipe

2014-02-21 Thread David Lindquist
New submission from David Lindquist: The roundrobin example in the Recipes section of the itertools documentation (http://docs.python.org/3/library/itertools.html#itertools-recipes) is overly complex. Here is a more straightforward implementation: def roundrobin(*iterables):

[issue20721] 3.4 cherry-pick: 005d0678f93c Update pip to 1.5.4

2014-02-21 Thread Larry Hastings
Larry Hastings added the comment: ok -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20721 ___ ___

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

2014-02-21 Thread Larry Hastings
Larry Hastings added the comment: Okay, I'm accepting this. I really just wanted to get more eyes on it, and I'm happy to see that python-dev was pretty unanimous. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20679

[issue17159] Remove explicit type check from inspect.Signature.from_function()

2014-02-21 Thread Larry Hastings
Larry Hastings added the comment: Stefan: does the checkin in d6aa3fa646e2 fix your problem? I'm willing to cherry-pick for this but I'd prefer to only have to do it once. -- ___ Python tracker rep...@bugs.python.org

[issue20724] 3.4 cherry-pick: d6aa3fa646e2 inspect.signature: Check for function-like objects before builtins

2014-02-21 Thread Larry Hastings
Larry Hastings added the comment: I'm waiting to hear back from scoder about whether or not this really fixes his problem before I cherry-pick. I'm still willing to do it for tagging for rc2 (about 20 hours from now) if I can hear back during that time. -- nosy: +scoder

  1   2   >