[issue13691] pydoc help (or help('help')) claims to run a help utility; does nothing

2012-01-01 Thread Devin Jeanpierre
New submission from Devin Jeanpierre jeanpierr...@gmail.com: What follows is a copy-paste of a shell session. Notice that at the end, rather than being inside the online help utility, I'm still in the interactive interpreter. I was able to duplicate this on python3.2, python2.7, and python2.6

[issue13683] Docs in Python 3:raise statement mistake

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 420e01156272 by Sandro Tosi in branch '3.2': Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte http://hg.python.org/cpython/rev/420e01156272 -- nosy: +python-dev

[issue13683] Docs in Python 3:raise statement mistake

2012-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13683

[issue13690] Add DEBUG flag to documentation of re.compile

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9aebb4d07ddf by Sandro Tosi in branch '2.7': Issue #13690: add re.DEBUG; patch by Filip Gruszczyński http://hg.python.org/cpython/rev/9aebb4d07ddf New changeset f4a9c7cf98dd by Sandro Tosi in branch '3.2': Issue

[issue13690] Add DEBUG flag to documentation of re.compile

2012-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python, sandro.tosi resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2, Python 3.3

[issue13692] 2to3 mangles from . import frobnitz

2012-01-01 Thread Henrik Holmboe
New submission from Henrik Holmboe hen...@holmboe.se: It seems that 2to3 mangles:: from . import frobnitz into:: from ... import frobnitz This was noticed in the port of ipython to py3k. See https://github.com/ipython/ipython/issues/1197 -- components: 2to3 (2.x to 3.x conversion

[issue13692] 2to3 mangles from . import frobnitz

2012-01-01 Thread Thomas Kluyver
Thomas Kluyver tak...@gmail.com added the comment: A couple of things to note: - This was with the Python 3.1 implementation of 2to3 - the problem doesn't appear with the Python 3.2 version. - The import statement in question was inside a method definition. I wonder if the extra two dots

[issue13645] import machinery vulnerable to timestamp collisions

2012-01-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You could add the requisite path_size() method to get the value, and assume 0 means unsupported I thought: - calling two methods means two stat calls per file, this could be slightly inefficient - if future extensions of the import mechanism

[issue13680] Aifc comptype write fix

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a9cdc3ff2b8e by Sandro Tosi in branch '3.2': Issue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk http://hg.python.org/cpython/rev/a9cdc3ff2b8e -- nosy: +python-dev

[issue13680] Aifc comptype write fix

2012-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13680

[issue13693] email.Header.Header incorrect/non-smart on international charset address fields

2012-01-01 Thread kxroberto
New submission from kxroberto kxrobe...@users.sourceforge.net: the email.* package seems to over-encode international charset address fields - resulting even in display errors in the receivers reader - , when message header composition is done as recommended in

[issue13640] add mimetype for application/vnd.apple.mpegurl

2012-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I've also added 'm3u' which is the companion of 'm3u8'. -- nosy: +sandro.tosi resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue13640] add mimetype for application/vnd.apple.mpegurl

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7926f594e333 by Sandro Tosi in branch 'default': Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai http://hg.python.org/cpython/rev/7926f594e333 -- nosy:

[issue10839] email module should not allow some header field repetitions

2012-01-01 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: I think really ill/strange is that kind of item _assignments_ do _add_ multiple. If msg[field] = xywould just add-first/replace-frist , and only msg.add_/.append(field, xy) would add multiples that would be clear and

[issue2481] locale.strxfrm does not work with Unicode strings

2012-01-01 Thread Jay Freeman (saurik)
Jay Freeman (saurik) sau...@saurik.com added the comment: Given that Python 3.x is still not ready for general use (and when this is discussed people make it quite clear that this is to be expected, and that a many year timeline was originally proposed for the Python 3.0 transition), it seems

[issue13645] import machinery vulnerable to timestamp collisions

2012-01-01 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: The patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13645 ___

[issue13693] email.Header.Header incorrect/non-smart on international charset address fields

2012-01-01 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: now I tried to render this address field header u'Name abc\u03a3@xy, abc@ewf, Nameß weofij@fjeio' with h = email.Header.Header(continuation_ws='') h.append ... / email.Header.make_header via these chunks: [('Name ', us-ascii),

[issue13676] sqlite3: Zero byte truncates string contents

2012-01-01 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Attached an updated patch. The custom text_factory case is now fixed, and bytes, bytearray and custom factory are all tested. I also added back the pysqlite_unicode_from_string() function, as this makes the patch a bit smaller. It also seems

[issue13676] sqlite3: Zero byte truncates string contents

2012-01-01 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: Removed file: http://bugs.python.org/file24122/sqlite3_zero_byte_v3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13676 ___

[issue13676] sqlite3: Zero byte truncates string contents

2012-01-01 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: (Whoops, I didn't mean to change the magic source coding comment. Updating the patch once again.) -- Added file: http://bugs.python.org/file24123/sqlite3_zero_byte_v3.patch ___ Python tracker

[issue13594] Aifc markers write fix

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c7a4405835e8 by Sandro Tosi in branch '3.2': Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk http://hg.python.org/cpython/rev/c7a4405835e8 -- nosy: +python-dev

[issue13594] Aifc markers write fix

2012-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13594

[issue13676] sqlite3: Zero byte truncates string contents

2012-01-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Attached an updated patch. The custom text_factory case is now fixed, and bytes, bytearray and custom factory are all tested. Thanks, looks good to me. Antoine: Do you happen to know what's the status of the OptimizeUnicode thingie? Has it

[issue13641] decoding functions in the base64 module could accept unicode strings

2012-01-01 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for the patch, Berker. It seems a bit too simple, though. You should add some tests in Lib/test/test_base64.py and run them (using ./python -m test -v test_base64), this will allow you to see if your changes are correct. --

[issue13302] Clarification needed in C API arg parsing

2012-01-01 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b2b7104691c9 by Sandro Tosi in branch '2.7': Issue #13302: backport part of 3ed28f28466f http://hg.python.org/cpython/rev/b2b7104691c9 -- nosy: +python-dev ___ Python

[issue13302] Clarification needed in C API arg parsing

2012-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Thanks Antoine for the pointer. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue2481] locale.strxfrm does not work with Unicode strings

2012-01-01 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: saurik: can you propose a patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2481 ___

[issue13694] asynchronous connect in asyncore.dispatcher does not set addr

2012-01-01 Thread Matt Joiner
New submission from Matt Joiner anacro...@gmail.com: Patch attached -- components: Library (Lib) files: dispatcher_connect_addr.patch keywords: patch messages: 150449 nosy: anacrolix priority: normal severity: normal status: open title: asynchronous connect in asyncore.dispatcher does

[issue2481] locale.strxfrm does not work with Unicode strings

2012-01-01 Thread Jay Freeman (saurik)
Jay Freeman (saurik) sau...@saurik.com added the comment: I have attached a tested patch against Python-2.7.2.tgz (as I do not know how to use hg currently). It should be noted that I also am not 100% certain how the Python build environment works, but the way I added the wcsxfrm test was to

[issue13695] type specific to type-specific

2012-01-01 Thread Boštjan Mejak
New submission from Boštjan Mejak bostjan.me...@gmail.com: Please visit the following link and fix the below text: http://docs.python.org/library/unittest.html#unittest.TestCase.assertEqual Changed in version 2.7: Added the automatic calling of type-specific equality function. Just add the