[issue4202] Multiple interpreters and readline module hook functions.

2012-10-26 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- versions: -Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2, Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4202

[issue16328] win_add2path.py sets wrong user path

2012-10-26 Thread Tim Golden
Changes by Tim Golden m...@timgolden.me.uk: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16328 ___ ___

[issue16328] win_add2path.py sets wrong user path

2012-10-26 Thread Tim Golden
Tim Golden added the comment: [this response appears to have got lost in an email black hole somewhere] I assume that $PYTHONPATH is actually referring to sys.exec_prefix (and not the PYTHONPATH env var which has nothing to do with this). In any case c:\python27\scripts is still the place for

Re: [issue16328] win_add2path.py sets wrong user path

2012-10-26 Thread Tim Golden
I assume that $PYTHONPATH is actually referring to sys.exec_prefix (and not the PYTHONPATH env var which has nothing to do with this). In any case c:\python27\scripts is still the place for scripts. There is a c:\python27\tools\scripts (which you're welcome to add to your %PATH% if you find the

[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': http://www.webmproject.org/docs/container/#naming -- components: Library (Lib) files: webm.diff keywords: patch messages: 173843 nosy: giampaolo.rodola priority: normal severity: normal status: open title: mimetypes does not support webm type

[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: (patch in attachment) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16329 ___ ___ Python-bugs-list mailing

[issue16329] mimetypes does not support webm type

2012-10-26 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: How do we know if the webm file is video+audio or audio only?. Mimetypes are different. :-? -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16329

[issue16329] mimetypes does not support webm type

2012-10-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'd say we can't but I suppose the same problem might exist for other mime types as well. Given that we can't inspect file content the only choice we have is either decide to not support a certain mime type or assume the most common scenario, which in case

[issue16329] mimetypes does not support webm type

2012-10-26 Thread R. David Murray
R. David Murray added the comment: I suppose this is a flaw in the mimetype API. At some point perhaps we should fix it, but in the meantimedoes anyone have a pointer to an actual IANA submission for this mime type? I think we can probably no longer wait for official IANA approval, but

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2012-10-26 Thread Daniel Oźminkowski
Daniel Oźminkowski added the comment: Python 2.7.3 WinXP Professional 2002 + SP3 Visual Studio C++ Express 2008 I bumped into this error trying to install fabric. One of the installation steps is compiling pycrypto. After looking into C:\Program Files\Microsoft Visual Studio

[issue15494] Move test/support.py into a test.support subpackage

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: So IIUC the package will contain __init__.py (what is now support.py), script_helper, and pkg_helper. One reason why I proposed to merge script_helper with support.py is that functions like assert_python*() are used in several modules already, and are generic

[issue8713] multiprocessing needs option to eschew fork() under Linux

2012-10-26 Thread Richard Oudkerk
Richard Oudkerk added the comment: For updated code see http://hg.python.org/sandbox/sbt#spawn This uses _posixsubprocess and closefds=True. -- hgrepos: +157 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8713

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-26 Thread Lucas Maystre
Lucas Maystre added the comment: Alright, here's a version with more tests (unittest.mock is awesome!). I think it tests exactly what it should (and no more), i.e. that the arguments are correctly passed to `open`. -- Added file: http://bugs.python.org/file27729/filetype11175.patch

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-26 Thread Petri Lehtinen
Petri Lehtinen added the comment: LGTM. Let's wait for Steven's comments as he's the maintainer of argparse. -- keywords: +needs review stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11175

[issue16328] win_add2path.py sets wrong user path

2012-10-26 Thread Emil Styrke
Emil Styrke added the comment: Ok, thanks for clearing that up. And yes, I meant the pythonpath variable in the script, which seems to be derived from sys.executable. But in that case, it's unfortunate that the c:\python27\scripts dir is not created during install. I did win_add2path right

[issue11175] allow argparse FileType to accept encoding and errors arguments

2012-10-26 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: -berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11175 ___ ___

[issue16271] weird dual behavior with changing __qualname__; different values observed through attribute and descriptor

2012-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Was does qualname need to be on the struct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16271 ___ ___

[issue16330] Use surrogate-related macros

2012-10-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: A set of macros to work with surrogates was introduced in 3.3: Py_UNICODE_IS_SURROGATE, Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE, Py_UNICODE_JOIN_SURROGATES, Py_UNICODE_HIGH_SURROGATE, and Py_UNICODE_LOW_SURROGATE. Using this macros

[issue16239] PEP8 arithmetic operator examples

2012-10-26 Thread Peter Würtz
Peter Würtz added the comment: x * 2 - 1 is less clear than x*2 - 1 I don't feel this. Anyone else feel this? I strongly feel so. And if you don't take my word for it, just open any math book or look at any formula and recognize that it is the general consensus that the elements of a

[issue16271] weird dual behavior with changing __qualname__; different values observed through attribute and descriptor

2012-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: s/Was/Why/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16271 ___ ___ Python-bugs-list mailing list

[issue16206] dict() docs should display multiple signatures

2012-10-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 361beec678e1 by Ezio Melotti in branch '2.7': #16206: Improve examples about dict construction. http://hg.python.org/cpython/rev/361beec678e1 New changeset eb999002916c by Ezio Melotti in branch '3.2': #16206: Improve examples about dict

[issue16264] test_logging failure on Windows 7 buildbot

2012-10-26 Thread Vinay Sajip
Vinay Sajip added the comment: (note: SocketHandler's implementation looks grotesque. Enough said). Care to be a little more constructive in your criticism? I'm quite open to improving it, if you have any suggestions for doing so. It's a very basic exponential back-off approach - the only

[issue16304] re: Match Objects always have a boolean value of True

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +ezio.melotti stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16304 ___

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16312 ___ ___

[issue16317] Mention lzma module in tutorial

2012-10-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2fc18ba8ca4a by Ezio Melotti in branch '3.3': #16317: mention lzma in the tutorial. Patch by Serhiy Storchaka. http://hg.python.org/cpython/rev/2fc18ba8ca4a New changeset f2f615b5718a by Ezio Melotti in branch 'default': #16317: merge with 3.3.

[issue16317] Mention lzma module in tutorial

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- nosy: +chris.jerdonek title: It would be nice if documentation pages linked to other versions of the same document - documentation pages should link to other versions of the same page ___

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: Can you give an example of what you would like the API to look like (i.e. what you would like to be able to type from the command-line if, say, configuring logging as in the SO post)? I'm not sure I understand why a wrapper script isn't a good enough

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-26 Thread Michael Foord
Michael Foord added the comment: I would do this with a module level (global) flag as to whether the initial set up has been done and a BaseTestCase class that checks this flag and calls a set up function if it hasn't been done yet (and then sets the flag). --

[issue16312] New command line option supported by unittest.main() for running initialization code before tests

2012-10-26 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16312 ___ ___

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
New submission from Yury Selivanov: This patch adds a dropdown to python documentation top toolbar: https://dl.dropbox.com/u/21052/python/p3_doc_dd.png This patch version is for python 3.3 3.4 docs theme, but I can quickly make patches for 3.2-style and below. JavaScript that monitors

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16331 ___ ___

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: Thanks for the patch. What happens if the module doesn't exist in a previous version or if it has a different name? It's probably not necessary to include all those versions. -- nosy: +ezio.melotti stage: - patch review versions: +Python 2.7 -Python

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: What happens if the module doesn't exist in a previous version or if it has a different name? As I said in the first message: 2) Before making a redirect, is checks that the doc page exists for the selected python version, and if not, then it simply

[issue9192] Add a a way to determine float format

2012-10-26 Thread Mark Dickinson
Mark Dickinson added the comment: What use-cases did you have in mind for this? (I assume that something motivated this report.) It seems to me that there's not actually much to say about the float format: the only format that Python realistically supports these days is the IEEE 754

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: I left a review on rietveld. FWIW we discussed this already somewhere, and IIRC the two main issues were: 1) mapping new/renamed/delete files between versions; 2) making this work while building the docs locally; Redirecting to 'http://docs.python.org/{version}'

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: See #8040. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16331 ___ ___ Python-bugs-list mailing list

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: 1) mapping new/renamed/delete files between versions; I think that this dropdown is mostly like to be used to switch between somewhat recent python versions, like '3.2' - '3.3', '2.7' - '3.3', and not between '2.4' - '3.4' And most of the internet links

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: I think that this dropdown is mostly like to be used to switch between somewhat recent python versions, like '3.2' - '3.3', '2.7' - '3.3', and not between '2.4' - '3.4' I mostly want to switch between 2.x and 3.x, and several modules got renamed between

[issue14901] Python Windows FAQ is Very Outdated

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14901 ___

[issue10936] Simple CSS fix for left margin at docs.python.org

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 3.4 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10936 ___ ___

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: I mostly want to switch between 2.x and 3.x, and several modules got renamed between these versions. There are also new modules on each release (5 new ones in 3.3). To make that work we'll need to have a modules mapping between 2nd and 3rd versions. It

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Éric Araujo
Éric Araujo added the comment: If you want to work on this you should also consider that the URLs used on docs.python.org don't necessary match the directory structure present when building the doc locally. I think this is irrelevant; this feature is intended for the web site, not for

[issue16325] PEP 8 refers to reference to PEP 8

2012-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Where there's conflict, Guido's style rules for the purposes of this PEP. I think this sentence should go. The only way that I can make sense of it is that Guido's and Barry's documents have rules that are not in PEP 8 and that if they conflict, Guido's wins.

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, I'm not sure what we should do with #8040. I searched for the existing issue before creating a new one, but obviously failed. Should we just close #8040 and point it to #16331? -- ___ Python tracker

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Éric Araujo
Éric Araujo added the comment: Typically we close the newer issue as duplicate of the existing one, unless the new has much more discussion or patches. I would close this one. About renamed modules: there’s a mapping in lib2to3 that contains the info. --

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, Ezio, This one has a patch attached with a relevant discussion review, so I'd close #8040. But if you guys decide to close this one and switch to #8040 - i'm fine. -- ___ Python tracker

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: As I said on #16331, it would be nice to have it, but it shouldn't block a patch that works for the website only (having it there is still better than not having it at all). What I meant to say is that taking this into account while writing the code is a good

[issue6478] time.tzset does not reset _strptime's locale time cache

2012-10-26 Thread Berker Peksag
Berker Peksag added the comment: Here is the second patch with Alexander Belopolsky's comments addressed. -- nosy: +berker.peksag versions: +Python 3.3, Python 3.4 -Python 3.1 Added file: http://bugs.python.org/file27732/issue6478.patch ___ Python

[issue6478] time.tzset does not reset _strptime's locale time cache

2012-10-26 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The patch looks good, but I have a few comments on the test: 1. Does it work on Windows? It seems to rely on Olson's TZ names. 2. Please use @run_with_tz decorator. -- ___ Python tracker

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-26 Thread Berker Peksag
New submission from Berker Peksag: See: http://docs.python.org/whatsnew/2.6.html#pep-3110-exception-handling-changes Patch attached. -- assignee: docs@python components: Documentation files: subprocess-exception-2.7.patch keywords: patch messages: 173881 nosy: berker.peksag,

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a69b4077afb by Ezio Melotti in branch '2.7': #16332: use except OSError as e in subprocess docs. Patch by Berker Peksag. http://hg.python.org/cpython/rev/7a69b4077afb -- nosy: +python-dev ___ Python

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - pending type: - enhancement ___ Python tracker

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: I recommend closing this as a duplicate. -- nosy: +chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16331 ___

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16332 ___ ___

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: yselivanov: please resubmit the patch to the original issue. -- nosy: +loewis resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16331

[issue16331] Add a version switcher to python docs site

2012-10-26 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- superseder: - documentation pages should link to other versions of the same page ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16331 ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: [on yselivanov's patch] I think the menu should drop versions that are not maintained anymore, i.e. anything older than 2.5 (including). If that sounds too harsh, a single item older could be added that always navigates to the version selection page. With

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Eric, Ezio, I'd like to make the version dropdown to be configurable. The question is--I can add an option (set to False by default) to conf.py. Will you have a way to override it on the 'docs.python.org'? -- nosy: +yselivanov

[issue16307] multiprocess.pool.map_async callables not working

2012-10-26 Thread Janne Karila
Janne Karila added the comment: The length assertion protects the test from breaking with IndexError. How about this? Though, it looks like two test cases to me. +self.pool.map_async(int, ['1'], +callback=call_args.append, +

[issue16271] weird dual behavior with changing __qualname__; different values observed through attribute and descriptor

2012-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Here's the other option. -- Added file: http://bugs.python.org/file27734/qualname2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16271 ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Georg Brandl
Georg Brandl added the comment: A few comments: * If the issue with patch is closed as duplicate, the patch should be attached to the superseder. * The patch looks awfully long for such a simple option list. (e.g., get_version() is just lambda x: x[:3], no need for a function to do that.) *

[issue16333] Trailing whitespace in json dump when using indent

2012-10-26 Thread Zach Mathew
New submission from Zach Mathew: When using the indent option in json.JSONEncoder, extra trailing whitespace (preceding the newline) is added to list and dict items. For example: import json json.dumps(['foo', 'bar'], indent=1) '[\n foo, \n bar\n]' Notice the blank space between foo, and

[issue16243] Add example for inspect module doc

2012-10-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d3b616fc702 by Andrew Svetlov in branch '3.3': Issue #16243: add example for inspect.formatargspec http://hg.python.org/cpython/rev/9d3b616fc702 New changeset a0337031a6b7 by Andrew Svetlov in branch 'default': Merge issue #16243: add example for

[issue16243] Add example for inspect module doc

2012-10-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Berker. I feel the patch is good enough to close the issue. If anybody want to add some value please reopen. -- nosy: +asvetlov resolution: - fixed stage: - committed/rejected status: open - closed ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: If the issue with patch is closed as duplicate, the patch should be attached to the superseder. Attached now. Although, please don't use it. I'll upload an updated version soon. The patch looks awfully long for such a simple option list. (e.g.,

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Attaching a new patch, with all previous issues resolved. Version dropdown can be enabled by the new 'pydoc_versionswitcher' config property (False by default). Please review and test (I've done lots of testing by injecting the JS on live python docs site,

[issue9767] Failures in json doc examples

2012-10-26 Thread R. David Murray
R. David Murray added the comment: See issue 16333 for the bug report against the json trailing whitespace. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9767 ___

[issue16333] Trailing whitespace in json dump when using indent

2012-10-26 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch. I think we'll need a fix for the C version, too (unless it doesn't have the bug). -- nosy: +r.david.murray stage: - patch review versions: -Python 2.6, Python 3.1, Python 3.5 ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Adding 'py2_version_switch.patch' patch. Applies on 2.7 -- Added file: http://bugs.python.org/file27738/py2_version_switch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8040

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: Added file: http://bugs.python.org/file27739/py3_2_version_switch.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8040 ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Adding 'py3_2_version_switch.patch'. Applies on 3.2 Both patches (for 2.7 3.2) are almost the same as the original patch. Conflicts were trivial. -- ___ Python tracker rep...@bugs.python.org

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: And 'py3_version_switch.2.patch' is for 3.3/master. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8040 ___

[issue16334] Faster unicode-escape and raw-unicode-escape codecs

2012-10-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch optimizes unicode-escape and raw-unicode-escape codecs. Coders still slower than in 3.2, but much faster than in 3.3. Further speedup is possible with the use of stringlib, but I think that this is enough. The code unified and

[issue16335] Integer overflow in unicode-escape decoder

2012-10-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Size of parsed Unicode character name casted to int in unicode-escape decoder. This can cause integer overflow. -- components: Interpreter Core, Unicode files: decode_unicode_escape_overflow.patch keywords: patch messages: 173902 nosy:

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Changes by Yury Selivanov yselivanov...@gmail.com: -- versions: +Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8040 ___ ___

[issue16333] Trailing whitespace in json dump when using indent

2012-10-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16333 ___ ___

[issue16333] Trailing whitespace in json dump when using indent

2012-10-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16333 ___ ___

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: Both patches (for 2.7 3.2) are almost the same as the original patch. Conflicts were trivial. For future reference, it's okay (and perhaps preferable) to upload a patch just for the default branch when no substantive changes are needed for other

[issue8040] documentation pages should link to other versions of the same page

2012-10-26 Thread Yury Selivanov
Yury Selivanov added the comment: Found a bug: documentation pages have two toolbars - top and bottom, and as I hadn't noticed the latter, I used a placeholder with #id. This is now fixed. I'm attaching a new version of patch: 'py3_version_switch.3.patch'. I also have updated patches for 3.2

[issue6478] time.tzset does not reset _strptime's locale time cache

2012-10-26 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review. 1. Does it work on Windows? It seems to rely on Olson's TZ names. Is `time.tzset()` function only available on Unix? See: http://docs.python.org/dev/library/time.html#time.tzset 2. Please use @run_with_tz decorator. I will update my

[issue15494] Move test/support.py into a test.support subpackage

2012-10-26 Thread Nick Coghlan
Nick Coghlan added the comment: Whereas I actively want to avoid *deliberately* making test.support even more of an incoherent mess. I'm still utterly astonished you're actively promoting the idea. Please stop telling me to write awful code. -- ___

[issue15494] Move test/support.py into a test.support subpackage

2012-10-26 Thread Ezio Melotti
Ezio Melotti added the comment: Please stop telling me to write awful code. I'm not telling you to write awful code, I'm telling you that IME having to deal with a single file is easier, so that's what I would personally prefer. Clearly if other developers disagree and/or if there is too

[issue15494] Move test/support.py into a test.support subpackage

2012-10-26 Thread R. David Murray
R. David Murray added the comment: Let's not argue over generalities. Let's wait and argue over a specific patch proposal. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15494 ___

[issue13510] Clarify that readlines() is not needed to iterate over a file

2012-10-26 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13510 ___ ___ Python-bugs-list mailing list

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset 937fa81500e2 by Trent Nelson in branch '2.7': Issue #16274: Fix test_asyncore on Solaris. http://hg.python.org/cpython/rev/937fa81500e2 -- ___ Python tracker rep...@bugs.python.org

[issue15746] test_winsound bombing out on 2003 buildslave

2012-10-26 Thread Trent Nelson
Trent Nelson added the comment: We avoided this by adding -u-audio to the affected slave. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15746

[issue16274] test_asyncore failing on Solaris 10 2.7 (nitrogen/s10)

2012-10-26 Thread Trent Nelson
Changes by Trent Nelson tr...@snakebite.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16274 ___

[issue3132] implement PEP 3118 struct changes

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

[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access

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

<    1   2