[issue13433] String format documentation contains error regarding %g

2011-11-21 Thread Christian Iversen
Christian Iversen c...@sikkerhed.org added the comment: Certainly, I don't think we should be peppering the docs with warnings and notes, either. However, the elements in question _already have_ notes. I propose that the note for %g (4) simply be updated for clarity. Something like this,

[issue13437] Provide links to the source code for every module in the documentation

2011-11-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: There are usually two cases that lead me to check the code: 1) The documentation is incomplete, not clear, missing, or plain wrong; 2) I want to check how something is implemented, mostly just out of curiosity; Regarding the first case, in

[issue13443] wrong links and examples in the functional HOWTO

2011-11-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13443 ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Is Python supposed to support characters outside U+-U+10 range? No, they should be rejected. Allowing them in some specific places might cause them to leak somewhere else and cause problems, so I'd rather stick with that range

[issue9530] integer undefined behaviors

2011-11-21 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I'd be happy to re-run the tests sometime. Yes, please! Alternatively, if there are easy instructions for us to re-run these tests, that would be valuable, too. Do I understand correctly that you have a publicly available extension to

[issue13170] distutils2 test failures

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c1b1b537196d by Éric Araujo in branch 'default': Remove usage of stdlib shutil. http://hg.python.org/distutils2/rev/c1b1b537196d -- ___ Python tracker

[issue11751] Increase distutils.filelist / packaging.manifest test coverage

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 723517bf6708 by Éric Araujo in branch 'default': Make test_manifest pass on 2.4 and 2.5 (fixes #11751). http://hg.python.org/distutils2/rev/723517bf6708 -- ___ Python

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a19dad38d4e8 by Victor Stinner in branch 'default': Issue #13441: _PyUnicode_CheckConsistency() dumps the string if the maximum http://hg.python.org/cpython/rev/a19dad38d4e8 --

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: No, they should be rejected. Allowing them in some specific places might cause them to leak somewhere else and cause problems, so I'd rather stick with that range and reject all the chars U+10 everywhere. That's why I added

[issue13387] suggest assertIs(type(obj), cls) for exact type checking

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Your latest proposal is better. I would prefer mentioning subclasses, but don’t feel strongly about it. One markup nit: I’d use ``code`` instead of (ab)using :func:; the doc for assertIs is just a few paragraphs above, it won’t be hard to

[issue11751] Increase distutils.filelist / packaging.manifest test coverage

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Did the second idea as suggested by Ezio. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13402] Document absoluteness of sys.executable

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch looks good, but are you 100% sure that sys.executable is always absolute? (On all OSes, under multiprocessing, etc?) -- ___ Python tracker rep...@bugs.python.org

[issue12890] cgitb displays p tags when executed in text mode

2011-11-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23091/head-cgitb-display.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue12890] cgitb displays p tags when executed in text mode

2011-11-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23731/head-cgitb-display-tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue13402] Document absoluteness of sys.executable

2011-11-21 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Éric Araujo wrote: Patch looks good, but are you 100% sure that sys.executable is always absolute? (On all OSes, under multiprocessing, etc?) Well, its value is computed by a function named Py_GetProgramFullPath(), so I'm quite sure. I had a

[issue12890] cgitb displays p tags when executed in text mode

2011-11-21 Thread Jeff McNeil
Changes by Jeff McNeil j...@jmcneil.net: Added file: http://bugs.python.org/file23743/head-cgitb-display.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ah, thanks for clarifying, I didn’t understand what you meant with local/global but now I see it’s about absolute imports and explicit relative imports. (I don’t remember ever reading that terminology before looking at fix_import.) I’m adding

[issue13418] Embedded Python memory leak

2011-11-21 Thread Asesh
Asesh aseshsh...@gmail.com added the comment: @Martin v. Löwis (loewis): thanks, I will try to do so in my free time -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13418 ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d1b3b1d00811 by Victor Stinner in branch 'default': Another temporary hack to debug the issue #13441 http://hg.python.org/cpython/rev/d1b3b1d00811 -- ___ Python tracker

[issue13316] build_py_2to3 does not convert when there was an error in the last run

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: It does stop with an error message. But when I reinvoke the command, converting is skipped (because the file is already copied). Then that’s the bug: In case of error, the file in the build dir should be removed. By the way, I think this

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I dumped some values to try to debug this issue. Last failure in test__locale.test_lc_numeric_basic() on localeconv(): [ 25/361] test_float Decode localeconv() decimal_point: {0x2c} (len=1) Decode

[issue12618] py_compile cannot create files in current directory

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch Meador, I hadn’t realized we had no tests for py_compile (it is however used in test_import and test_compileall). I think it would be nice to commit the tests first (except for the one that’s the object of this bug report)

[issue12277] Missing comma in os.walk docs

2011-11-21 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: That is simply idiotic. Your way of fixing things is idiotic. When you clearly see the missing comma and you fix it everywhere else but 2.6 because 2.6 only receives security fixes as if adding a comma to the documentation would create a

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset acda16de630c by Victor Stinner in branch 'default': Remove temporary hacks for the issue #13441 http://hg.python.org/cpython/rev/acda16de630c -- ___ Python tracker

[issue9321] CGIHTTPServer cleanup htbin

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Google does find matches for “CGI /htbin”. Given that CGI is an obsolete technology anyway, I don’t see value in removing that, and propose that we reject this request. -- nosy: +eric.araujo versions: +Python 3.3 -Python 3.2

[issue12277] Missing comma in os.walk docs

2011-11-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: It's not because of the security risk, but simply because the docs for 2.6 are not rebuilt automatically anymore. So, even if we fix it on 2.6, no one will see the change unless someone goes and triggers a full doc rebuild manually. A

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Here is a more complete output. localeconv() fails in the hu_HU locale for the thousands_sep field: localeconv() returns b'\xa0' which is decoded as the wchar_t* string: {U+3020} (len=1). This is an invalid character

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: -pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13441 ___ ___ Python-bugs-list mailing

[issue13444] closed stdout causes error on stderr when the interpreter unconditionally flushes on shutdown

2011-11-21 Thread Ronny Pfannschmidt
New submission from Ronny Pfannschmidt ronny.pfannschm...@gmail.com: not sure if this is to be considered a bug, but python3.2 tries to flush sys.stdout on shutdown, even if its closed $ python3.2 -c 'import sys;sys.stdout.close()' Exception ValueError: 'I/O operation on closed file.' in

[issue12890] cgitb displays p tags when executed in text mode

2011-11-21 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23737/head-cgitb-display.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue12890] cgitb displays p tags when executed in text mode

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Latest patch is good to go. -- versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue13420] newer() function in dep_util.py discard changes in the same second

2011-11-21 Thread David Amian
David Amian dam...@emergya.com added the comment: 2011/11/18 Éric Araujo rep...@bugs.python.org Éric Araujo mer...@netwok.org added the comment: I've a project, in the setup.py file, I've a function called update_prefix, that updates the 'path_project' variable with prefix arguments

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Lauren Foutz
New submission from Lauren Foutz lauren.fo...@gmail.com: Before the pysqlite module was made standard it could be edited to link with Berkeley DB SQL instead of SQLite. I am requesting that the Python build add the ability to link with BDBSQL instead of SQLite. -- components: Build

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Lauren Foutz
Lauren Foutz lauren.fo...@gmail.com added the comment: Before the pysqlite module was made standard it could be edited to link with Berkeley DB SQL instead of SQLite. I am requesting that the Python build add the ability to link with BDBSQL instead of SQLite. Below is a description of how to

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ghaering versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13445 ___ ___

[issue13446] imaplib, fetch: improper behaviour on read-only selected mailboxes

2011-11-21 Thread Charalampos Nikolaou
New submission from Charalampos Nikolaou char.nikol...@gmail.com: I would like to report a misbehaviour on the fetch command of imaplib when used with mailboxes that have been opened as read-only. In such cases, when you fetch a message (using for instance RFC822), the mail is not marked as

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d6d15fcf5eb6 by Victor Stinner in branch 'default': Issue #13441: Reenable strxfrm() tests on Solaris http://hg.python.org/cpython/rev/d6d15fcf5eb6 -- ___ Python tracker

[issue13447] Add tests for Tools/scripts/reindent.py

2011-11-21 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: When people find bugs in reindent.py (#12930 is a recent one), we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. I find both of these

[issue12930] reindent.py inserts spaces in multiline literals

2011-11-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks, I’ll make time to review the change this week. -- dependencies: +Add tests for Tools/scripts/reindent.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12930

[issue13447] Add tests for Tools/scripts/reindent.py

2011-11-21 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: +1 What you describe sounds all good to me, except that I would keep all tests in the same dir (i.e. Tools/tests (or Tools/test?)) instead of having different test dirs for each subdir (so test_pygettext.py would go in Tools/tests and not

[issue12156] test_multiprocessing.test_notify_all() timeout (1 hour) on FreeBSD 7.2

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I tried test_multi_sem-1.diff on x86 FreeBSD 7.2 3.x buildbot: the patch works as expected, the test suite is skipped. A minor nit: can you write the number of semaphore in the skip message? Except of this nit, the patch looks

[issue6135] subprocess seems to use local 8-bit encoding and gives no choice

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Firstly, I don't think it makes any sense to set encoding information globally for the Popen object. As a simple example, consider using Python to write a test suite for the iconv command line tool: there's only one Popen instance (for the

[issue12277] Missing comma in os.walk docs

2011-11-21 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: The reason is simply that 2.6 basically unmaintained. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12277

[issue9530] integer undefined behaviors

2011-11-21 Thread John Regehr
John Regehr reg...@cs.utah.edu added the comment: Hi Mark, yes you can run the overflow checker but easy instructions depends on whether you feel like building your own LLVM. It is not at all difficult, but it's certainly not as easy as apt-get install Patch and instructions are here:

[issue8270] Should socket.PF_PACKET be removed, in favor of socket.AF_PACKET?

2011-11-21 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: There are now more protocol families defined (PF_RDS, PF_CAN), etc. Since both AF_ and PF_ are valid (see http://en.wikipedia.org/wiki/Berkeley_sockets#Protocol_and_address_families for more information), and there is so much code out

[issue12759] (?P=) input for Tools/scripts/redemo.py raises unnhandled exception

2011-11-21 Thread Masha Katsman
Masha Katsman mkats...@yahoo.com added the comment: I am working on the patch. The fix is ready. Will be delivered shortly. It is also broken when I specify (?P) pattern -- nosy: +mashayk ___ Python tracker rep...@bugs.python.org

[issue12759] (?P=) input for Tools/scripts/redemo.py raises unnhandled exception

2011-11-21 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12759 ___ ___

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: It's stupid that the imaginary unit in Python is denoted by a j just for ambiguity reasons that i can be mistaken with a 1 or an l. It's true that 1 and l can look the same in some fonts, but that is *certainly not true* for the small

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- resolution: remind - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562 ___

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Please fix this in Python 3.3 and don't forget to fix the complex() function/method as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- resolution: wont fix - remind status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562 ___

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Boštjan Mejak
Changes by Boštjan Mejak bostjan.me...@gmail.com: -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562 ___ ___

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Please stop re-opening this thread. The reasons it will not be fixed have been laid out. -- nosy: +brian.curtin -gvanrossum resolution: remind - wont fix status: open - closed ___ Python tracker

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Boštjan Mejak
Boštjan Mejak bostjan.me...@gmail.com added the comment: Make the output of a complex expression include spaces around the operator. So, for example, (1+2j) should be outputted as (1 + 2j). Make this happen in Python 3.3. -- nosy: +gvanrossum resolution: wont fix - remind status:

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ac2c4c62b486 by Antoine Pitrou in branch '3.2': Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is http://hg.python.org/cpython/rev/ac2c4c62b486 New changeset 3cd1985ed04f by Antoine Pitrou

[issue13417] faster utf-8 decoding

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8e6c4acaf530 by Antoine Pitrou in branch 'default': Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case. http://hg.python.org/cpython/rev/8e6c4acaf530 -- nosy: +python-dev

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I'm -1 on this change. I think all the core devs who have commented on it here are -1 or -0. If you really want to lobby for this change, I suggest starting a discussion on python-dev. My position is that I think it would indeed look nicer,

[issue13417] faster utf-8 decoding

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for the review, patch committed now (with bogus comments removed). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: @eric.smith: +1 @Retro: If you are intent on pushing this, please take it to python-id...@python.org. However, judging from the response in this ticket and #10562, you won't get much traction. -- nosy: +eric.snow

[issue13411] Hashable memoryviews

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 215690b782f8 by Antoine Pitrou in branch 'default': Issue #13411: memoryview objects are now hashable when the underlying object is hashable. http://hg.python.org/cpython/rev/215690b782f8 -- nosy:

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: @brian.curtin: +1 @Retro: as noted in #10621, please take this to python-id...@python.org -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10562

[issue13411] Hashable memoryviews

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Fixed, thanks. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411

[issue13402] Document absoluteness of sys.executable

2011-11-21 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13402 ___ ___ Python-bugs-list

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13445 ___ ___ Python-bugs-list

[issue10562] Change 'j' for imaginary unit into an 'i'

2011-11-21 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: This will not be fixed. For one thing, the letter 'i' or upper case 'I' look too much like digits. The way numbers are parsed either by the language parser (in source code) or by the built-in functions (int, float, complex) should not be

[issue12618] py_compile cannot create files in current directory

2011-11-21 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12618 ___ ___ Python-bugs-list

[issue10557] Malformed error message from float()

2011-11-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10557 ___

[issue10621] 1 + 2j -- (1 + 2j) and not (1+2j)

2011-11-21 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: @Retro, stop reopening bugs. This is very much a matter of personal taste and the existing way is fine. -- resolution: remind - rejected status: open - closed ___ Python tracker

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 08953a04b2e6 by Antoine Pitrou in branch 'default': Issue #12328: Under Windows, refactor handling of Ctrl-C events and http://hg.python.org/cpython/rev/08953a04b2e6 -- nosy: +python-dev

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've re-added the fast uncontended path in semaphore.c and committed sigint_event.patch. Now I'm gonna take a look at pipe_poll_fix.patch... -- stage: - patch review versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2

[issue13448] PEP 3155 implementation

2011-11-21 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Here is an issue covering PEP 3155 implementation. Hopefully a review link will appear in front of the hg repo URL. -- components: Interpreter Core hgrepos: 91 messages: 148087 nosy: ncoghlan, pitrou priority: normal severity: normal

[issue13448] PEP 3155 implementation

2011-11-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- keywords: +patch Added file: http://bugs.python.org/file23744/baec10c6dcd4.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448 ___

[issue11149] [PATCH] Configure should enable -fwrapv for clang

2011-11-21 Thread Joshua Root
Joshua Root josh+pyt...@root.id.au added the comment: The fix that was committed doesn't work if CC is a full path like /usr/bin/clang. -- nosy: +jmr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11149

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Support for Berkeley DB (the bsddb) was removed from the standard library in Python 3 and replaced by a third-party module (bsddb3) listed in PyPI which is better able to keep up with changes in the various BDB releases.

[issue13448] PEP 3155 implementation

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I just have a comment: XXX should be replaced in Python 3.3a0 3200 XXX. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448

[issue13445] Enable linking the module pysqlite with Berkeley DB SQL instead of SQLite

2011-11-21 Thread Lauren Foutz
Lauren Foutz lauren.fo...@gmail.com added the comment: Berkeley DB SQL is a separate library from Berkeley DB. It is an SQL engine that uses the same API as SQLite and uses Berkeley DB as its backend. The modules that support Berkeley DB lack all of the SQL features and cannot be used to

[issue13371] Some Carbon extensions don't build on OSX 10.7

2011-11-21 Thread Ned Deily
Ned Deily n...@acm.org added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13371 ___ ___ Python-bugs-list mailing list

[issue13245] sched.py kwargs addition and default time functions

2011-11-21 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I think this should go in. I'm going to provide a slighly modified version of the attached patch which includes document changes and get rid of some unit tests which are not really necessary in my opinion. -- nosy:

[issue13245] sched.py kwargs addition and default time functions

2011-11-21 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Updated patch in attachment. -- Added file: http://bugs.python.org/file23745/issue13245.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13245

[issue13449] sched - provide an async argument for run() method

2011-11-21 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: If True it would run the scheduled functions due to expire soonest (if any) and then return. This would make sched module usable into asynchronous applications. -- messages: 148095 nosy: giampaolo.rodola priority: normal

[issue13449] sched - provide an async argument for run() method

2011-11-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file23746/sched-async.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13449 ___

[issue13450] fix ''.format_map test

2011-11-21 Thread akira
New submission from akira 4kir4...@gmail.com: It seems that some assertions in Lib/test/test_unicode.py:UnicodeTest.test_format_map do not implement their intent e.g., self.assertRaises(TypeError, '{'.format_map) self.assertRaises(TypeError, '}'.format_map)

[issue13449] sched - provide an async argument for run() method

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think this would be better served by a separate method. You could call it e.g. run_nowait(). -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13449

[issue13450] fix ''.format_map test

2011-11-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +eric.smith, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13450 ___ ___

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-21 Thread akira
Changes by akira 4kir4...@gmail.com: -- title: fix ''.format_map test - add assertions to implement the intent in ''.format_map test ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13450 ___

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-21 Thread akira
Changes by akira 4kir4...@gmail.com: Removed file: http://bugs.python.org/file23747/correct-assertions-in-test_format_map.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13450 ___

[issue13405] Add DTrace probes

2011-11-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23717/7c1b63f949e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-21 Thread akira
Changes by akira 4kir4...@gmail.com: Added file: http://bugs.python.org/file23748/correct-assertions-in-test_format_map.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13450 ___

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f29d7d597fae by Victor Stinner in branch '3.2': Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() http://hg.python.org/cpython/rev/f29d7d597fae New changeset bc53c11804ab by Victor Stinner in branch

[issue13405] Add DTrace probes

2011-11-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Removed file: http://bugs.python.org/file23718/62e7091812bc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23749/c64a284f4309.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0cd197f13400 by Victor Stinner in branch '2.7': Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() http://hg.python.org/cpython/rev/0cd197f13400 -- ___ Python

[issue8646] PyUnicode_EncodeDecimal is undocumented

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I added tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() in Python 2.7, 3.2 and 3.3 (see also issue #13093). -- ___ Python tracker rep...@bugs.python.org

[issue13093] Redundant code in PyUnicode_EncodeDecimal()

2011-11-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I fixed the issue in Python 2.7, 3.2 and 3.3. See also the changeset 849e9277906a (Python 3.3). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13450] add assertions to implement the intent in ''.format_map test

2011-11-21 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- assignee: - eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13450 ___ ___

[issue13405] Add DTrace probes

2011-11-21 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: New changeset. New probes: - gc-start, gc-done: Signal Garbage Collection operations. The first get the generation to scan, the second gets the number of objects collected. - line: Called in every Python line. Parameters: module, function,

[issue13451] sched.py: speedup cancel() method

2011-11-21 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: snippet # bench.py import sched, time events = [] scheduler = sched.scheduler(time.time, time.sleep) for x in range(4000): scheduler.enter(1, 1, lambda: None, ()) t = time.time() for x in scheduler._queue: scheduler.cancel(x)

[issue12759] (?P=) input for Tools/scripts/redemo.py raises unnhandled exception

2011-11-21 Thread Masha Katsman
Masha Katsman mkats...@yahoo.com added the comment: The problem with the above expression is that it does not specify a group name. The expression itself is not right. So, it blows up when it tries to parse the name. I put the check for the empty name before any processing is done. --

[issue13451] sched.py: speedup cancel() method

2011-11-21 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Can you post your other patch too? I would like to review both at the same time. -- assignee: - rhettinger components: +Library (Lib) priority: normal - low type: - performance ___

[issue13441] TestEnUSCollation.test_strxfrm() fails on Solaris

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6f9af4e3c1db by Victor Stinner in branch 'default': Issue #13441: Disable temporary the check on the maximum character until http://hg.python.org/cpython/rev/6f9af4e3c1db --

  1   2   >