[issue12275] urllib.request.HTTPRedirectHandler won't redirect to a URL with only path but not domain

2015-04-10 Thread Martin Panter
Martin Panter added the comment: Already fixed in 3.2 it seems -- nosy: +vadmium resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue versions: -Python 3.3 __

[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2015-04-10 Thread Martin Panter
Martin Panter added the comment: Looks like this was a 3.2 regression, but was fixed in Issue 13696. -- nosy: +vadmium resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue __

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue23887] HTTPError doesn't have a good "repr" representation

2015-04-10 Thread Martin Panter
Martin Panter added the comment: Perhaps it would be more appropriate to set the BaseException.args attribute, or chain to its __init__() method, then you wouldn’t need a custom __repr__(). -- nosy: +vadmium ___ Python tracker

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2015-04-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated to the tip. -- Added file: http://bugs.python.org/file38895/io_clinic_2.patch ___ Python tracker ___ _

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23452] Build errors using VS Express 2013 in win32 mode

2015-04-10 Thread Zachary Ware
Zachary Ware added the comment: Unfortunately, I don't have any ideas. Mark, is this still happening? If so, I think your real solution is going to be to install VS2015 CTP 6 (and later the real thing, in whatever the free flavor is). Same for #23449. -- ___

[issue9740] Client support for HTTP 1.1 persistent connections throughout the standard library

2015-04-10 Thread Martin Panter
Martin Panter added the comment: Tweaking the title to exclude servers. Persistent connections have apparently been supported in the low-level server for ages, since Issue 430706, and now that the close_connection flag is documented (Issue 23410), someone implementing a server should be able t

[issue23912] Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup

2015-04-10 Thread James Edwards
New submission from James Edwards: There's inconsistent leading whitespace between the two classes in the 4th code snippet of the "Special Method Lookup" section. https://docs.python.org/3/reference/datamodel.html#special-method-lookup The (very substantial :) included patch makes both classes

[issue21416] argparse should accept bytes arguments as originally passed

2015-04-10 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue23911] Move path-based bootstrap code to a separate frozen file.

2015-04-10 Thread Eric Snow
New submission from Eric Snow: The bootstrap code has a clear division between the core import functionality and the path-based import machinery. The attached patch makes that division explicit by moving the latter into its own module. The module is also frozen, necessarily. In addition to

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

2015-04-10 Thread Zachary Ware
Zachary Ware added the comment: Is this still a problem? I haven't noticed it on docs.python.org in quite some time. Ezio, can you still reproduce? -- status: open -> pending ___ Python tracker _

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue23909] highlight query string does not work on docs.python.org/2

2015-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89d47911209b by Benjamin Peterson in branch '2.7': highlight is now highlighted (closes #23909) https://hg.python.org/cpython/rev/89d47911209b -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue23529] Limit decompressed data when reading from LZMAFile and BZ2File

2015-04-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you very much for being so perseverant! The patch is now pushed into the default branch. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue23529] Limit decompressed data when reading from LZMAFile and BZ2File

2015-04-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62723172412c by Antoine Pitrou in branch 'default': Issue #23529: Limit the size of decompressed data when reading from https://hg.python.org/cpython/rev/62723172412c -- nosy: +python-dev ___ Python track

[issue23528] Limit decompressed data when reading from GzipFile

2015-04-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Limit decompressed data when reading from LZMAFile and BZ2File ___ Python tracker

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Eric V. Smith
Eric V. Smith added the comment: I haven't seen thought it through, just that it seems very similar to a C namedtuple. -- ___ Python tracker ___

[issue21859] Add Python implementation of FileIO

2015-04-10 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Joe Jevnik
Joe Jevnik added the comment: would the idea be to deprecate namedtuple in favor of a public structseq that is exposed through collections, or change structseq to fit the namedtuple API? -- ___ Python tracker

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Eric V. Smith
Eric V. Smith added the comment: Have you thought of just exposing Object/structseq.c? Before you put much time into this, I'd get Raymond's acceptance of whatever approach you want to take. It might be best to raise it on python-ideas. -- ___ Pytho

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Joe Jevnik
Joe Jevnik added the comment: Ideally, namedtuple is used to make your code cleaner, using "magic" indecies is less clear than using a named index in a lot of cases. Because namedtuple is mainly to make the code more readable, I don't think that it should have an impact on the runtime performa

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Eric V. Smith
Eric V. Smith added the comment: What's the motivating use case for this? -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Joe Jevnik
New submission from Joe Jevnik: I am working on implementing nameduple in C; I am almost there; however, on the path of moving to full compatibility, I ran into a refcount issue somewhere. Hopefully someone can help me work this out. To describe the issue, When I run the collections tests I mo

[issue23899] HTTP regression in distutils uploads to chishop

2015-04-10 Thread Donald Stufft
Donald Stufft added the comment: I wonder if it's this? https://github.com/python/cpython/commit/453f86c6977bab18fe4a9c58a4155253375adc8e#diff-ff7dba04c5ad252aa440598d6c88067a -- ___ Python tracker ___