[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. --

[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 rep...@bugs.python.org http://bugs.python.org/issue20175 ___

[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 rep...@bugs.python.org

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23910 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org

[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

[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 rep...@bugs.python.org http://bugs.python.org/issue23910 ___

[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

[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. -- ___

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23910 ___ ___ Python-bugs-list mailing

[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 rep...@bugs.python.org

[issue21859] Add Python implementation of FileIO

2015-04-10 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21859 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org http://bugs.python.org/issue23910 ___

[issue23528] Limit decompressed data when reading from GzipFile

2015-04-10 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - duplicate stage: patch review - resolved status: open - closed superseder: - Limit decompressed data when reading from LZMAFile and BZ2File ___ Python tracker rep...@bugs.python.org

[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

[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 rep...@bugs.python.org

[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

[issue23910] C implementation of namedtuple (WIP)

2015-04-10 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23910 ___ ___ Python-bugs-list

[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 rep...@bugs.python.org

[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

[issue21416] argparse should accept bytes arguments as originally passed

2015-04-10 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21416 ___

[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

[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