[issue16344] Traceback Internationalization Proposal

2012-10-27 Thread Mariano Reingart
New submission from Mariano Reingart: I'm opening this ticket to organize patches for a proposal of a GETTEXT-based message translation for exception/tracebacks as described in: This requires the patch in issue #16343 Attached

[issue16329] mimetypes does not support webm type

2012-10-27 Thread Chris Rebert
Chris Rebert added the comment: AFAICT, there is currently no entry for WebM in IANA's registry (http://www.iana.org/assignments/media-types/index.html ). A bug in WebM's tracker regarding its MIME type(s) was closed over a year ago as WONTFIX (http://code.google.com/p/webm/issues/detail?id=15

[issue16341] In examples, "except:" should use new syntax

2012-10-27 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16343] PyUnicode_FromFormatV() doesn't support utf-8 text

2012-10-27 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue16343] PyUnicode_FromFormatV() doesn't support utf-8 text

2012-10-27 Thread Mariano Reingart
New submission from Mariano Reingart: Working in an internationalization proposal I've stopped at #9769 where multi byte encodings (like utf-8) is not supported by PyUnicode_FromFormatV() Beside my proposal, I think utf-8 should

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: (I'd fix it myself if I could ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue16322] time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding

2012-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: It seems that the docs site has old jquery - 1.4, and current JS script uses $.get, which got support for 'error' callbacks only in 1.5 So right now, if a URL doesn't exist for the version the user is about to switch to, it just fails with a JS error. I'm att

[issue16342] setup.py not compiling with NDEBUG in non-debug builds

2012-10-27 Thread Ned Deily
Ned Deily added the comment: I can't reproduce this on 10.8 with Apple clang 4.1. Your compile options look a little funky, including a missing -fwrapv. It looks like that option and -DNDEBUG are normally passed from ./configure into the Makefile through the OPT variable. Are you by any cha

[issue16341] In examples, "except:" should use new syntax

2012-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- assignee: -> docs@python components: +Documentation -Library (Lib) ___ Python tracker ___ ___ Python-

[issue16342] setup.py not compiling with NDEBUG in non-debug builds

2012-10-27 Thread Brett Cannon
New submission from Brett Cannon: Discovered on OS X 10.8 with clang 3.1, I'm having build failures for _json, _md5, _sha1, _sha256, _sha3, and _sha512 because _PyUnicode_CheckConsistency() is only defined when defined(Py_DEBUG) && !defined(Py_LIMITED_API) even though it is only used in assert

[issue16239] PEP8 arithmetic operator examples

2012-10-27 Thread Guido van Rossum
Guido van Rossum added the comment: Corrected to: Yes:: i = i + 1 submitted += 1 x = x*2 - 1 hypot2 = x*x + y*y c = (a+b) * (a-b) No:: i=i+1 submitted +=1 x = x * 2 - 1 hypot2 = x * x + y * y c = (a + b) * (a - b) -- res

[issue16239] PEP8 arithmetic operator examples

2012-10-27 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: ezio.melotti -> gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue16239] PEP8 arithmetic operator examples

2012-10-27 Thread Guido van Rossum
Guido van Rossum added the comment: Wow. Someone edited that to be completely against my guidance. I'll fix it according to my intentions. -- ___ Python tracker ___ __

[issue16341] In examples, "except:" should use new syntax

2012-10-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- components: +Library (Lib) nosy: +docs@python ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16332] Use new exception handling syntax in Subprocess documentation

2012-10-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Related issue #16341. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue16341] In examples, "except:" should use new syntax

2012-10-27 Thread Jesús Cea Avión
New submission from Jesús Cea Avión: In python 2.7 documentation, doing "grep -i 'except.*,.*:' *rst" shows quite a few "old style" "except:". I think that "except X, e:" should be transformed to "except X as e:", for clarity, as done in issue #16332. The only thing is that this syntax, used i

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2012-10-27 Thread Jeff McNeil
Jeff McNeil added the comment: Gave this a go myself... $ ./python Python 3.4.0a0 (default:57a33af85407, Oct 27 2012, 21:26:30) [GCC 4.4.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> socket.getfqdn() 'host.domain.com' >>> $ hostname -

[issue16316] Support xz compression in mimetypes module

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: LGTM. -- nosy: +eric.araujo, r.david.murray versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue8401] Strange behavior of bytearray slice assignment

2012-10-27 Thread Ezio Melotti
Ezio Melotti added the comment: Updated patch against default. -- keywords: +needs review Added file: http://bugs.python.org/file27753/issue8401.diff ___ Python tracker ___ __

[issue8401] Strange behavior of bytearray slice assignment

2012-10-27 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file16945/issue8401.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12890] cgitb displays tags when executed in text mode

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e4574595674 by R David Murray in branch '3.3': #12890: skip tests which fail on windows until fixed or rewritten. http://hg.python.org/cpython/rev/0e4574595674 New changeset 57a33af85407 by R David Murray in branch 'default': merge #12890: skip tes

[issue12890] cgitb displays tags when executed in text mode

2012-10-27 Thread R. David Murray
R. David Murray added the comment: I put in a skip until we either fix the tests or rewrite them as suggested in issue 15749. -- ___ Python tracker ___ _

[issue15749] cgitb prints html for text when display disabled.

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e4574595674 by R David Murray in branch '3.3': #12890: skip tests which fail on windows until fixed or rewritten. http://hg.python.org/cpython/rev/0e4574595674 New changeset 57a33af85407 by R David Murray in branch 'default': merge #12890: skip tes

[issue16325] PEP 8 refers to reference to PEP 8

2012-10-27 Thread Ezio Melotti
Ezio Melotti added the comment: I applied the patch and removed the two sentences: http://hg.python.org/peps/rev/be77365934e7 -- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed type: behavior -> enhancement __

[issue12890] cgitb displays tags when executed in text mode

2012-10-27 Thread R. David Murray
R. David Murray added the comment: The tests fail on Widows7 on the buildbots. (They work fine in my XP Windows VM.) -- assignee: eric.araujo -> status: closed -> open ___ Python tracker

[issue9017] doctest option flag to enable/disable some chunk of doctests?

2012-10-27 Thread Ezio Melotti
Ezio Melotti added the comment: I'm going to close this as rejected, because the feature doesn't seem too useful, there are available workarounds, and the addition of the ENABLE/DISABLE flags might add confusions. -- nosy: +ezio.melotti resolution: -> rejected stage: needs patch -> co

[issue15889] regrtest --start option raises AttributeError in many scenarios

2012-10-27 Thread R. David Murray
R. David Murray added the comment: Thanks, Chris. -- nosy: +r.david.murray resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.4 ___ Python tracker ___

[issue15889] regrtest --start option raises AttributeError in many scenarios

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6d04f5cff31 by R David Murray in branch '3.2': #15889: make regrtest --start succeed in more cases. http://hg.python.org/cpython/rev/f6d04f5cff31 New changeset 19f205e3111c by R David Murray in branch '3.3': merge #15889: make regrtest --start succ

[issue15749] cgitb prints html for text when display disabled.

2012-10-27 Thread R. David Murray
R. David Murray added the comment: Issue 12890 fix is now committed. Perhaps I should have worked with yours instead...but I didn't. The test solution in that patch, calling python in a separate process, is conceptually simpler but will take more time to run. I'm on the fence as to which on

[issue15749] cgitb prints html for text when display disabled.

2012-10-27 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16337] typo in documentation regarding "Bytearray Objects", chapter 4.8.2

2012-10-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.4 ___ Python tracker

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

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: 2.5 is neither supported anymore, nor should we make it look like it is :) -- ___ Python tracker ___ __

[issue16337] typo in documentation regarding "Bytearray Objects", chapter 4.8.2

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0e20651 by Ezio Melotti in branch '3.3': #16337: fix typo. http://hg.python.org/cpython/rev/a0e20651 New changeset fd3bc0323505 by Ezio Melotti in branch 'default': #16337: merge with 3.3. http://hg.python.org/cpython/rev/fd3bc0323505

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: And if you guys can - please re-run the docs generation script manually... As it's showing an incorrect version everywhere. Thanks! -- ___ Python tracker _

[issue16239] PEP8 arithmetic operator examples

2012-10-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: And last bit - are you sure we shouldn't add the switch for 2.5? -- ___ Python tracker ___ ___ Python

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should also apply patch for 2.6, right? -- ___ Python tracker ___ ___ Python-bugs-list mai

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

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: Indeed RELEASE is not defined anywhere. I was confusing JS variables and Jinja template variables: DOCUMENTATION_OPTIONS.VERSION is in fact what Sphinx calls "release". So the fix should be to use VERSION as release and VERSION[:3] as version. Thanks for catc

[issue1294] Management of KeyboardInterrupt in cmd.py

2012-10-27 Thread Philip Zerull
Philip Zerull added the comment: Hello, Being of a similar mindset to draghuram on the do_KeyboardInterrupt idea and thought I'd implement it as a subclass. While this probably wasn't fully implemented correctly, I think it provides an interesting solution to stephbul's frustrations and won

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

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ca30af90c11 by Ezio Melotti in branch '2.7': #8040: fix the version. http://hg.python.org/cpython/rev/7ca30af90c11 New changeset 36a35b86e3b0 by Ezio Melotti in branch '3.2': #8040: fix the version. http://hg.python.org/cpython/rev/36a35b86e3b0 Ne

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Ezio, Georg's modification introduced one more bug: 1. Documentation for py2 seems to be missing DOCUMENTATION_OPTIONS.RELEASE 2. DOCUMENTATION_OPTIONS.VERSION is in a wrong format for the rest of the script, i.e. 3.3.0 and not 3.3. Before, in my version the

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

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset c3adbe20bb4b by Ezio Melotti in branch '2.7': #8040: enable the versionswitcher for the autobuild-dev target. http://hg.python.org/cpython/rev/c3adbe20bb4b New changeset 740be7346c92 by Ezio Melotti in branch '3.2': #8040: enable the versionswitcher

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

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 006f9ade82f2 by Ezio Melotti in branch '2.7': #8040: add a version switcher to the documentation. Patch by Yury Selivanov. http://hg.python.org/cpython/rev/006f9ade82f2 New changeset 35a2a0e166d0 by Ezio Melotti in branch '3.2': #8040: add a versio

[issue16340] Decoding error at install time when byte-compiling venv scripts

2012-10-27 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: Not at all. I have installed Python into "C:\Program Files (x86)\Python33". Also made a copy into "D:\Python33" and got the same results. The problem is in file contents (pyc/pyo files are binary, utf-8 fails to decode them), not in filenames. --

[issue16323] Wrong C API documentation for locale encoding

2012-10-27 Thread STINNER Victor
STINNER Victor added the comment: "Encode a Unicode object to the current locale encoding. The encoder is strict if *errors* is equal to ``strict``, otherwise it uses the ``'surrogateescape'`` error handler (:pep:`383`)." Hum, this is not correct. There are three valid values: - NULL: strict

[issue16340] Decoding error at install time when byte-compiling venv scripts

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Are you installing in a path with non-ASCII characters? -- title: Decoding error in venv when byte-compiling stdlib -> Decoding error at install time when byte-compiling venv scripts ___ Python tracker

[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: Also current title is a bit wrong, since decoding error happens in runtime each time venv is invoked, while the source of the problem happens while byte-compiling stdlib at install time once. -- ___ Python track

[issue12890] cgitb displays tags when executed in text mode

2012-10-27 Thread R. David Murray
R. David Murray added the comment: Committed with Ezio's <\p> and with simplification of the tests by using script_helper. Thanks, Jeff! -- nosy: +r.david.murray resolution: -> fixed status: open -> closed versions: +Python 3.4 ___ Python tracker

[issue12890] cgitb displays tags when executed in text mode

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 715e5b337c91 by R David Murray in branch '2.7': #12890: don't emit tags in text mode when logdir specified. http://hg.python.org/cpython/rev/715e5b337c91 New changeset abbfb89055d3 by R David Murray in branch '3.2': #12890: don't emit tags in text

[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Konstantin Zemlyak
Konstantin Zemlyak added the comment: If option to precompile python files is checked in installer, pydoc.py gets compiled into binary files Lib\venv\scripts\nt\__pycache__\pydoc.cpython33.pyc and Lib\venv\scripts\nt\__pycache__\pydoc.cpython33.pyo. --

[issue16340] Decoding error in venv when byte-compiling stdlib

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Which file exactly causes the error? If it’s pydoc.py, it’s strange because the source is ASCII. Are you installing in a path with non-ASCII characters? -- nosy: +eric.araujo, vinay.sajip title: Error: 'utf-8' codec can't decode byte 0x9e in position 0:

[issue16340] Error: 'utf-8' codec can't decode byte 0x9e in position 0: invalid start byte

2012-10-27 Thread Konstantin Zemlyak
New submission from Konstantin Zemlyak: When installing python 3.3 under windows and checking "Compile .py files to byte code after installation" Lib/venv/scripts/nt/pydoc.py gets precompiled as well. This causes venv module to abort with "Error: 'utf-8' codec can't decode byte 0x9e in positio

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2012-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> rejected stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Py

[issue16323] Wrong C API documentation for locale encoding

2012-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor, you forgot to update the documentation. -- nosy: +haypo ___ Python tracker ___ ___ Python-

[issue16326] distutils build_ext fails to set library_dirs in 2.7.2 on Linux

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Would you like to work on a patch? -- stage: -> test needed versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread R. David Murray
R. David Murray added the comment: Committed. Also deleted the paragraph from the devguide faq, since it is no longer needed. -- status: open -> closed ___ Python tracker ___ _

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b1ead5cecae by R David Murray in branch '2.7': #15043: Improve test_gdb support of gdb >= 7.4. http://hg.python.org/cpython/rev/1b1ead5cecae -- ___ Python tracker ___

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b71cda2f48c6 by R David Murray in branch '3.2': #15043: Improve test_gdb support of gdb >= 7.4. http://hg.python.org/cpython/rev/b71cda2f48c6 New changeset 6f064689b8c0 by R David Murray in branch '3.3': merge #15043: Improve test_gdb support of gdb

[issue16323] Wrong C API documentation for locale encoding

2012-10-27 Thread Berker Peksag
Berker Peksag added the comment: Also, the documentation for PyUnicode_DecodeLocaleAndSize() is wrong. Patch attached. Related changeset: http://hg.python.org/cpython/rev/07802351ccad -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file27750/issue16323.patch

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: I'm not very attached to it, so I'm fine with closing. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue16339] Document "exec(stmt, global_dict, local_dict)" form in Python 2?

2012-10-27 Thread Mark Dickinson
New submission from Mark Dickinson: In Python 2, the 'exec' statement supports 'exec'-ing a (statement, globals, locals) tuple: >>> exec("print 2", {}, {}) 2 This doesn't seem to be documented at http://docs.python.org/reference/simple_stmts.html#the-exec-statement. If I understand correctly

[issue15957] README.txt points to broken "contributing" url in python wiki

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d328dcd07449 by Éric Araujo in branch 'python3': Merge fixes for #16107 and #15957 from default http://hg.python.org/distutils2/rev/d328dcd07449 -- ___ Python tracker

[issue16107] distutils2.version doesn't str() "1.0.post1" correctly

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d328dcd07449 by Éric Araujo in branch 'python3': Merge fixes for #16107 and #15957 from default http://hg.python.org/distutils2/rev/d328dcd07449 -- ___ Python tracker

[issue13614] setup.py register fails if long_description contains ReST

2012-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +malthe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue15961] Missing return value in ``system_message``

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Found it! I will backport the fix to distutils now. -- resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> setup.py register fails if long_description contains ReST

[issue1492704] distinct error type if shutil.copyfile() fails because of src and dst are the same file

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: I think it should be documented and tested that this change is backward-compatible, as the new error class inherits from the one previously used. -- ___ Python tracker ___

[issue3636] Managing dual 2.x and 3.0 installations on Windows

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Now fixed thanks to PEP 397. http://docs.python.org/py3k/whatsnew/3.3.html#pep-397-python-launcher-for-windows -- nosy: +eric.araujo resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.3 -Python 3

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

2012-10-27 Thread Berker Peksag
Berker Peksag added the comment: > 2. Please use @run_with_tz decorator. Done. Patch attached. -- Added file: http://bugs.python.org/file27749/issue6478_v2.patch ___ Python tracker _

[issue16338] pysnmp/asyncore - timeout ineffective?

2012-10-27 Thread Trenton Craig
New submission from Trenton Craig: I have an application that is set to use pysnmp to obtain sysDescription and system names from devices on our network. Currently, we are using python 2.6.2, due to the limitations of the box (solaris), and it works fine. However, our new environment uses pyt

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread R. David Murray
R. David Murray added the comment: It does seem to be possible to do this at command invocation. Patch attached. -- keywords: +patch nosy: +r.david.murray status: closed -> open Added file: http://bugs.python.org/file27748/test_gdb_security.patch ___

[issue15957] README.txt points to broken "contributing" url in python wiki

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue15957] README.txt points to broken "contributing" url in python wiki

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 421e74040326 by Éric Araujo in branch 'default': Fix link in README (#15957). Patch by Cliff Dyer. http://hg.python.org/distutils2/rev/421e74040326 -- nosy: +python-dev ___ Python tracker

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Unless Georg would still like this, I retract the proposal. Ezio: > Disabling `...` sounds OK to me (I don't think we have many left, if any). I think some of them crept up in logging and unittest docs, but they are easy to find with Doc/tools/rst-lint.py ---

[issue16163] Wrong name in Lib/pkgutil.py:iter_importers

2012-10-27 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file27487/pkgutil-name.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue16163] Wrong name in Lib/pkgutil.py:iter_importers

2012-10-27 Thread Berker Peksag
Berker Peksag added the comment: I've attached a new patch. -- Added file: http://bugs.python.org/file27747/pkgutil-name-with-test_v2.diff ___ Python tracker ___

[issue16108] Include maintainer information in register/upload

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Would that result in displaying both author and maintainer info on the PyPI page? For what cases is it useful? Questions about author/maintainer come up from time to time. The way I understand it, the goal of these fields is to give contact information to the

[issue16107] distutils2.version doesn't str() "1.0.post1" correctly

2012-10-27 Thread Éric Araujo
Éric Araujo added the comment: Fixed. Vinay, you probably want to apply this to your forked version module too. -- nosy: +vinay.sajip resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16107] distutils2.version doesn't str() "1.0.post1" correctly

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e98237abde9 by Éric Araujo in branch 'default': Fix stringification of final versions (#16107). http://hg.python.org/distutils2/rev/6e98237abde9 -- nosy: +python-dev ___ Python tracker

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Maybe it's a good idea to modify `url_re` from /\.org\/(py3k|dev|((release\/)?\d\.\d[\w\d\.]*))\// to /\.org\/(\d|py3k|dev|((release\/)?\d\.\d[\w\d\.]*))\// To be prepared for PEP 430. -- ___ Python tracker

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Looks good, let's commit it? ;) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: Now it should be the right one. -- Added file: http://bugs.python.org/file27746/versionswitcher.5.patch ___ Python tracker ___

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

2012-10-27 Thread Georg Brandl
Changes by Georg Brandl : Removed file: http://bugs.python.org/file27745/versionswitcher.5.patch ___ Python tracker ___ ___ Python-bugs-list ma

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Georg, Are you sure you've attached the right one? I don't see a change in the version_switch.js... -- ___ Python tracker ___

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

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: My bad, you're right. Next try attached. -- Added file: http://bugs.python.org/file27745/versionswitcher.5.patch ___ Python tracker ___ ___

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

2012-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: > Attaching a simplified version of the patch. I'm OK, but you actually reduced the functionality with saving those 500 bytes. In 'py3_version_switch.3.patch', JS sets the current selected option text to show the the *full* release number. I.e. if you are on

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

2012-10-27 Thread Michael Foord
Michael Foord added the comment: @piotr Yes, protecting the set up with a lock would be easy, although unittest doesn't directly support running tests in parallel anyway. -- ___ Python tracker

[issue16337] typo in documentation regarding "Bytearray Objects", chapter 4.8.2

2012-10-27 Thread Winfried Plappert
New submission from Winfried Plappert: In the online documentation at http://docs.python.org/py3k/library/stdtypes.html?highlight=bytearray%20objects%20copying%20existing%20binary%20data%20via%20buffer%20protocol and the PDF version 3.3.0, page 46, both in chapter 4.8.2: Bullet 4 is "bytearray

[issue16307] multiprocess.pool.map_async callables not working

2012-10-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: Applied. Thank you for your contribution! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16307] multiprocess.pool.map_async callables not working

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1bccec4ff980 by Hynek Schlawack in branch '3.3': #16307: Fix multiprocessing.Pool.map_async not calling its callbacks http://hg.python.org/cpython/rev/1bccec4ff980 -- nosy: +python-dev ___ Python tracker

[issue10836] urllib.request.urlretrieve calls URLError with 3 args

2012-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: This has been backported. 3.2 5e71f2712076 3.3 30547e2cd04d -- assignee: -> orsenthil resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue16300] Windows raises ValueError for file:///file/not/exists instead of URLError

2012-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: Buildbot issues are taken care. They are green for while. Tests have been backported 3.3 and 3.2 as well. 3.2 5e71f2712076 3.3 30547e2cd04d -- resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue16250] URLError invoked with reason as filename

2012-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all versions now. -- assignee: -> orsenthil resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue16301] localhost() and thishost() in urllib/request.py

2012-10-27 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in 3.3 and 3.2 3.2 5e71f2712076 3.3 30547e2cd04d -- resolution: -> fixed status: open -> closed versions: -Python 2.7 ___ Python tracker _

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

2012-10-27 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Chris The example given by Holger Krekel (http://stackoverflow.com/a/13094042/95735) showing how it can be done with pytest is exactly the thing I had in mind. It would be good to have this feature incorporated into unittest. @Michael I guess checking this

[issue16250] URLError invoked with reason as filename

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3fb84c1da8c5 by Senthil Kumaran in branch '2.7': Add some tests in 2.7 for Issue #16250 http://hg.python.org/cpython/rev/3fb84c1da8c5 -- ___ Python tracker ___

[issue16336] Check input in surrogatepass error handler

2012-10-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch fixes input checking in surrogatepass error handler. Also it fixes 10% speed regression introduced by changeset 74d65c746f63. -- components: Interpreter Core, Unicode files: codecs_surrogatepass_2.patch keywords: patch messages: 1

[issue16250] URLError invoked with reason as filename

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5e71f2712076 by Senthil Kumaran in branch '3.2': Issue #16250: Fix URLError invocation with proper args. http://hg.python.org/cpython/rev/5e71f2712076 New changeset 30547e2cd04d by Senthil Kumaran in branch '3.3': Issue #16250: Fix URLError invocati

[issue16307] multiprocess.pool.map_async callables not working

2012-10-27 Thread Hynek Schlawack
Hynek Schlawack added the comment: LGTM. Presuming you want to submit more patches in future, please take the time to sign a Python contributor agreement: http://www.python.org/psf/contrib/ . You'll get a pretty star next to your name in the bug tracker in return. ;) -- _

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

2012-10-27 Thread Georg Brandl
Georg Brandl added the comment: Attaching a simplified version of the patch. -- Added file: http://bugs.python.org/file27743/versionswitcher.4.patch ___ Python tracker ___ ___

  1   2   >