[issue23470] OpenBSD buildbot uses wrong stdlib

2015-02-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Looks as OpenBSD buildbot imports xml.sax.saxutils from wrong place. http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%202.7/builds/511/steps/test/logs/stdio == ERROR: test_xmlgen

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-16 Thread Daniel
New submission from Daniel: Via Chrome on Android 4.4. -- assignee: docs@python components: Documentation messages: 236095 nosy: docs@python, stringsonfire priority: normal severity: normal status: open title: 404 Not Found when downloading Python 3.4.3rc1 Documentation type: behavior ve

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-16 Thread SilentGhost
SilentGhost added the comment: This is the page: https://docs.python.org/3/download.html also true about the 3.5 at https://docs.python.org/3.5/download.html All the links in the table result in 404. Clearly the files are not at https://docs.python.org/3/archives/ -- nosy: +SilentGhost

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-16 Thread STINNER Victor
STINNER Victor added the comment: I confirm that all links on this page lead to HTTP 404 errors: https://docs.python.org/3/download.html Same error for "dev" (3.5) version: https://docs.python.org/dev/download.html Python 2 doc can be downloaded: https://docs.python.org/2/download.html ---

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-16 Thread Berker Peksag
Berker Peksag added the comment: I thought this was fixed by issue 22484 -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bug

[issue20015] Allow 1-character ASCII unicode where 1-character str is required

2015-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is your decision Guido and Benjamin? -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-b

[issue23446] Use PyMem_New instead of PyMem_Malloc

2015-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset d83884b3a427 by Serhiy Storchaka in branch '2.7': Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer https://hg.python.org/cpython/rev/d83884b3a427 New changeset 036a2aceae93 by Serhiy Storchaka in branch '3.4': Issue #234

[issue23434] RFC6266 support (Content-Disposition for HTTP)

2015-02-16 Thread Myroslav Opyr
Myroslav Opyr added the comment: Hi David, According to "Test Cases for HTTP Content-Disposition header field" overview [1], this is not about email headers, but only about HTTP headers. It look like email standards and http standars are different in this area. I do know that my patch is poor

[issue16361] HTTPS/TLS Problem in Python 3.3

2015-02-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Python 3.3 no longer receives Windows releases, so closing this issue as out of date. Phil, if the issue persists in a newer Python version, please re-report. -- resolution: -> out of date status: open -> closed __

[issue18295] Possible integer overflow in PyCode_New()

2015-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is possible to reproduce original bug without hacking the code object or bytecode: >>> eval('lambda %s, *args, **kwargs: (lambda:args)' % (', '.join('a%d'%i for i >>> in range(253)),))(*range(256))() (253, 254, 255) >>> eval('lambda %s, *args, **kwargs: (

[issue23446] Use PyMem_New instead of PyMem_Malloc

2015-02-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23457] make test failures

2015-02-16 Thread David Edelsohn
David Edelsohn added the comment: A Python3 installation will not overwrite a Python2 installation because they are different major releases and not completely compatible. If Firefox needs Python2, you should build the latest, stable release of Python 2.7. I previously used AIX workstations,

[issue23467] Improve byte formatting compatibility between Py2 and Py3

2015-02-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue18986] Add a case-insensitive case-preserving dict

2015-02-16 Thread Demian Brecht
Demian Brecht added the comment: Some refactoring that I'm working on for http.client could use this (currently I have it as part of my patch set). I haven't run into any issues using it and it's definitely useful. Would be nice to get this merged. -- nosy: +demian.brecht

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-02-16 Thread Demian Brecht
Demian Brecht added the comment: > Maybe join them with tabs rather than spaces then, since it was previously > "\r\n\t". This way it is even closer to before. After thinking about this a little more, I think I'd prefer to keep spaces rather than tabs. The reason being is that, in my mind, now

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2015-02-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2015-02-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue21257] Document parse_headers function of http.client

2015-02-16 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23450] Possible loss of data warnings building 3.5 Visual Studio Windows 8.1 64 bit

2015-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset a84ae2ccd220 by Serhiy Storchaka in branch 'default': Issue #23450: Fixed possible integer overflows. https://hg.python.org/cpython/rev/a84ae2ccd220 New changeset 1eee26b74e4b by Serhiy Storchaka in branch 'default': Issue #23450: Silenced compiler

[issue23450] Possible loss of data warnings building 3.5 Visual Studio Windows 8.1 64 bit

2015-02-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue18932] Optimize selectors.EpollSelector.modify()

2015-02-16 Thread Charles-François Natali
Charles-François Natali added the comment: Does anyone have a realistic use case where modify() is actually a non-negligible part? -- ___ Python tracker ___ _

[issue22980] C extension naming doesn't take bitness into account

2015-02-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, PEP 3149 claims EXT_SUFFIX will always contain the ABI tag, but configure.ac makes it Linux-specific (?!): AC_SUBST(EXT_SUFFIX) case $ac_sys_system in Linux*|GNU*) EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};; *) EXT_SUFFIX=${SHLIB_SUFFIX};;

[issue20598] argparse docs: '7'.split() is confusing magic

2015-02-16 Thread Julian Berman
Julian Berman added the comment: +1 to lists all over, this is just confusing. -- nosy: +Julian ___ Python tracker ___ ___ Python-bugs

[issue22980] C extension naming doesn't take bitness into account

2015-02-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch adding the bitness to the ABI tag under Linux. This is permitted by PEP 3149: """Python implementations MAY include additional flags in the file name tag as appropriate""". -- Added file: http://bugs.python.org/file38155/abi_bitness.pat

[issue22107] tempfile module misinterprets access denied error on Windows

2015-02-16 Thread Roger Upole
Roger Upole added the comment: os.access doesn't check filesystem permissions, so the patch will not catch the condition that creates the problem. -- ___ Python tracker ___

[issue23466] PEP 461: Inconsistency between str and bytes formatting of integers

2015-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. The difference between string and bytes formatting is that %c with out of the range integer raises OverflowError for str and TypeError for bytes. May be ValueError is more suitable in both cases. -- keywords: +patch stage: -> patch

[issue23450] Possible loss of data warnings building 3.5 Visual Studio Windows 8.1 64 bit

2015-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset f47d683b6c9e by Serhiy Storchaka in branch 'default': Fixed sizeof tests for ElementTree (issue #23450). https://hg.python.org/cpython/rev/f47d683b6c9e -- ___ Python tracker

[issue19985] Not so correct error message when initializing Struct with ill argument

2015-02-16 Thread Martin Panter
Martin Panter added the comment: Closely related: * Issue 16349: document byte string format argument support * Issue 21071: should the Struct.format property be bytes or text? -- nosy: +vadmium ___ Python tracker

[issue20015] Allow 1-character ASCII unicode where 1-character str is required

2015-02-16 Thread Guido van Rossum
Guido van Rossum added the comment: Let's not do this. The time to meddle with Python 2.7 details is long gone. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue20015] Allow 1-character ASCII unicode where 1-character str is required

2015-02-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21548] pydoc -k IndexError on empty docstring

2015-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- nosy: +serhiy.storchaka stage: patch review -> commit review ___ Python tracker ___ ___ P

[issue22107] tempfile module misinterprets access denied error on Windows

2015-02-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is best that we can do. How else we can check filesystem permissions? Only trying to create a file, But we just tried this and it failed. -- ___ Python tracker __

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-02-16 Thread Demian Brecht
Changes by Demian Brecht : -- versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list m

[issue21548] pydoc -k IndexError on empty docstring

2015-02-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9436f43b6df2 by Benjamin Peterson in branch '3.4': fix pydoc.apropos and pydoc.synopsis on modules with empty docstrings (#21548) https://hg.python.org/cpython/rev/9436f43b6df2 New changeset 534b26837a13 by Benjamin Peterson in branch 'default': mer

[issue22555] Tracking issue for adjustments to binary/text boundary handling

2015-02-16 Thread Nick Coghlan
Nick Coghlan added the comment: Slavek et al - you folks may be interested in this one, as it tracks several issues that I consider relevant to the Python 2 -> 3 migration effort. Redoing the list in a way that should render the strike-throughs for closed issues: * Improved Windows console Un

[issue23471] 404 Not Found when downloading Python 3.4.3rc1 Documentation

2015-02-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2015-02-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Let's just Won't Fix this. Use a contextlib.ExitStack. -- ___ Python tracker ___ ___ Python-bugs-l

[issue12782] Multiple context expressions do not support parentheses for continuation across lines

2015-02-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-16 Thread Martin Panter
Martin Panter added the comment: I don’t have a Solaris to test this, but maybe changing the first half of the test to the following would work: dir = tempfile.TemporaryDirectory() self.addCleanup(dir.cleanup) # In case removal after chdir() fails self.addCleanup(os.chdir, os.getcwd()) os.chdi

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-02-16 Thread Martin Panter
Martin Panter added the comment: But it is not natural to do things like this (based on headers sent by Firefox): putheader("User-Agent", "Mozilla/5.0", "(X11;", "Linux", "x86_64;", "rv:25.0)", "Gecko/20100101", "Firefox/25.0") putheader("Accept-Encoding", "gzip,", "deflate") A way to properly

[issue23410] Document more BaseHTTPRequestHandler attributes

2015-02-16 Thread Martin Panter
Martin Panter added the comment: Posting patch v3. It is based on Demian’s suggested wording for the requestline attribute, but adjusted to match the other entries, and to mention the empty string. -- Added file: http://bugs.python.org/file38157/http-attributes.v3.patch __

[issue23237] Interrupts are lost during readline PyOS_InputHook processing (reopening)

2015-02-16 Thread Michiel de Hoon
Changes by Michiel de Hoon : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-02-16 Thread Demian Brecht
Demian Brecht added the comment: > But it is not natural to do things like this (based on headers sent by > Firefox) Good point. > Otherwise, retaining the one_value.encode('latin-1') call is confusing when > later on it rejects non-ASCII-encoded characters. I’m a little torn on this one giv

[issue23410] Document more BaseHTTPRequestHandler attributes

2015-02-16 Thread Demian Brecht
Demian Brecht added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue23410] Document more BaseHTTPRequestHandler attributes

2015-02-16 Thread Demian Brecht
Demian Brecht added the comment: Added Library component as there are a few newly added tests as well though and cosmetic changes were made to server.py. -- components: +Library (Lib) ___ Python tracker __

[issue23410] Document more BaseHTTPRequestHandler attributes

2015-02-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail