[issue13429] provide __file__ to extension init function

2011-11-19 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: I'm aware that these things happen, that's why I said it. Actually, wouldn't it rather be *correct* for __file__ to be set to the same file path for all modules that an extension module creates in its init function? That would

[issue13429] provide __file__ to extension init function

2011-11-19 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Updated patch that does not reset _Py_ModuleImportContext after use. -- Added file: http://bugs.python.org/file23728/ext_module_init_file_path_2.patch ___ Python tracker

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-11-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 34fcc0d5c3c5 by Charles-François Natali in branch 'default': Issue #13215: multiprocessing.Connection: don't hammer the remote end with http://hg.python.org/cpython/rev/34fcc0d5c3c5 -- nosy: +python-dev

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Stefan Behnel
New submission from Stefan Behnel sco...@users.sourceforge.net: This is a follow-up to issue 13429, which deals with setting __file__ on newly created extension modules earlier than it is currently the case. Currently, the module init function of extension modules lacks a way to find out the

[issue13429] provide __file__ to extension init function

2011-11-19 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Replying to myself: I think the right fix for Python 4 would be to simply pass a context struct into the module init function. Actually, this doesn't have to wait for Python 4. Changing the module init function to take a parameter

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This approach is not correct C. You may pass an incorrect number of arguments only if the function is declared with an ellipsis, else the behavior is undefined (6.5.5.2p6). Your proposed approach works with most implementations of C, but

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: FWIW, I think that a PEP will be needed to redesign the module initialization for Python 4. Hopefully, this time people will then identify all requirements before the PEP is accepted (which unfortunately didn't happen for PEP 3121).

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: Yes, that's unfortunate. I found the same paragraph in section 6.5.2.2p6 of the C99 standard now, so it seems that this idea isn't suitable for the Py3.x series. There's no Python 4 target version in the bug tracker, BTW. :)

[issue13402] Document absoluteness of sys.executable

2011-11-19 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13402 ___ ___ Python-bugs-list

[issue13403] Option for XMLPRC Server to support HTTPS

2011-11-19 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13403 ___ ___ Python-bugs-list

[issue13407] tarfile.getnames misses members again

2011-11-19 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13407 ___ ___ Python-bugs-list

[issue13432] Encoding alias unicode

2011-11-19 Thread kxroberto
New submission from kxroberto kxrobe...@users.sourceforge.net: unicode seems not to be an official unicode encoding name alias. Yet it is quite frequent on the web - and obviously means UTF-8. (search 'text/html; charset=unicode' in Google) Chrome and IE display it as UTF-8. (Mozilla as ASCII,

[issue13432] Encoding alias unicode

2011-11-19 Thread kxroberto
Changes by kxroberto kxrobe...@users.sourceforge.net: -- components: +Unicode nosy: +ezio.melotti type: - feature request versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue13432] Encoding alias unicode

2011-11-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Sorry, but it's not obviously that Unicode means UTF-8. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13432 ___

[issue13432] Encoding alias unicode

2011-11-19 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Definitely; this will just serve to create more confusion for beginners over what a Unicode string is: unicodestring.encode('unicode') - WTF? -- nosy: +georg.brandl resolution: - rejected status: open - closed

[issue13430] Add a curry function to the functools module

2011-11-19 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: @markonervo: Have you tried the pointfree library: http://pypi.python.org/pypi/pointfree/ ? I think it's exactly what you're asking for. The only case I've ever needed currying was managing callback soup in async code. And even then,

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Christian Iversen
New submission from Christian Iversen c...@sikkerhed.org: The documentation for string format options state that both %f, %g and %e default to 6 digits after the decimal point. In fact, %g always seems to use 5 digits by default: %g % 2.1234567 '2.12346' %f % 2.1234567 '2.123457' %e %

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

2011-11-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Alright, I got tired of seeing the FreeBSD buildbots consistently choke on test_multiprocessing, so here's a simple patch that skips the test if the OS doesn't support a reasonable number (30) of semaphores. -- keywords:

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Yep, there's an oddity here that's directly inherited from C's sprintf family of functions, namely that in %e-style formatting you give the number of digits after the point (= one less than the total number of significant digits), and in

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Christian Iversen
Christian Iversen c...@sikkerhed.org added the comment: That was exactly the page I was looking at, and after some discussion on #python, I can see how they differ. Perhaps this could be clarified in the documentation? It's very easy to miss as it is now. Maybe a note describing that %g is

[issue13397] Option for XMLRPC clients to automatically transform Fault exceptions into standard exceptions

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

[issue12258] Clean up bytes I/O in get_compiler_versions

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

[issue11908] Weird `slice.stop or sys.maxint`

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

[issue1047540] Turtle.py hangs Idle

2011-11-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Can you still reproduce this? I tried on winxp with Python 3.2 and following the steps in msg82419 (or even if I open IDLE from cmd as msg82553 suggests) I get a popup error that says IDLE's subprocess didn't make connection. If I open

[issue10318] make altinstall installs many files with incorrect shebangs

2011-11-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Éric, what's the status of this? -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10318 ___

[issue9750] sqlite3 iterdump fails on column with reserved name

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9750 ___ ___

[issue1047397] cgitb failures

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -BreamoreBoy versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1047397 ___

[issue7267] format method: c presentation type broken

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7267 ___ ___

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Maybe a note describing that %g is different from the others in this regard? -1 from me; I don't really see that that would improve the documentation. Maybe that's just me, but I expect reference documentation to be clean, and

[issue5066] IDLE documentation for Unix obsolete/incorrect

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: needs patch - patch review versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5066

[issue11842] slice.indices with negative step and default stop

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy stage: - needs patch versions: +Python 2.7, Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11842 ___

[issue7695] missing termios constants

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - patch review versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7695 ___

[issue13424] Add examples for open’s new opener argument

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

[issue7695] missing termios constants

2011-11-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo versions: -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7695 ___

[issue12907] Update test coverage devguide page

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eli.bendersky, eric.araujo, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12907 ___

[issue12908] Update dev-in-a-box for new coverage steps

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eli.bendersky, eric.araujo, ezio.melotti, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12908 ___

[issue12907] Update test coverage devguide page

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

[issue6733] curses line wrap broken when mixing full- and half-width unicode characters

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6733 ___ ___

[issue2527] Pass a namespace to timeit

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2527 ___ ___

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13431 ___

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-11-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Benjamin, thanks for the report. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13434] time.xmlrpc.com dead

2011-11-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: time.xmlrpc.com seems dead (no DNS entry), which leads to failures on one of the stable buildbots (redirecting DNS catchall?): == ERROR: test_current_time

[issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

2011-11-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset de1ecda2afa2 by Mark Dickinson in branch '2.7': Issue #12245: Document sys.float_info.rounds better. http://hg.python.org/cpython/rev/de1ecda2afa2 New changeset 795c184b0282 by Mark Dickinson in branch '3.2': Issue

[issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

2011-11-19 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12245 ___

[issue7433] MemoryView memory_getbuf causes segfaults, double call to tp_releasebuffer

2011-11-19 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: mark.dickinson - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7433 ___ ___

[issue13434] time.xmlrpc.com dead

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Not sure whether this is actually new, but it may be that Dave Winer is migrating all this stuff to Amazon S3, and that he just didn't get to restoring the time service yet. -- ___ Python

[issue7049] decimal.py: Three argument power issues

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing as won't fix. Even deprecation doesn't seem worth the effort here. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org

[issue2813] No float formatting in PyString_FromFormat

2011-11-19 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2813 ___

[issue13434] time.xmlrpc.com dead

2011-11-19 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: We've had problems with this service going away for a while before. I think the test was marked skip for at least a year before someone (it might have been me) noticed that it was back and reactivated it. There's a ticket in here

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

2011-11-19 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Testing os.sysconf(SC_SEM_NSEMS_MAX) value is maybe better than creating 30 semaphores. See the function added by the changeset 746143ec1f60 (fixing #10798) is maybe faster than creating 30 semaphores. Value on the FreeBSD 7.2

[issue9530] integer undefined behaviors

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Status update: all the reported errors from the Objects/ directory have been fixed in the default branch (many of these were fixed recently as part of making sure that the test-suite runs under Clang's -ftrapv option), or are out of date.

[issue9530] integer undefined behaviors

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: See also issue #1621. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9530 ___ ___

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

2011-11-19 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Is there anything else needed here? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___ ___

[issue9530] integer undefined behaviors

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The issues reported for the datetime, array, itertools and math modules are also already fixed. That just leaves the following two of the reported issues outstanding: /home/regehr/z/python/Modules/_ctypes/cfield.c, (590:5) : Op: =, Reason

[issue1621] Do not assume signed integer overflow behavior

2011-11-19 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: See also issue #9530. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___ ___

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

2011-11-19 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Testing os.sysconf(SC_SEM_NSEMS_MAX) value is maybe better than creating 30 semaphores. Yeah, I thought about that, but the problem is that it doesn't take into account the number of semaphores already allocated: so, for example, if

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

2011-11-19 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: A test? -- stage: - test needed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___

[issue9530] integer undefined behaviors

2011-11-19 Thread John Regehr
John Regehr reg...@cs.utah.edu added the comment: This is great. I'd be happy to re-run the tests sometime, and also we're talking with the LLVM folks about getting our patches into the main LLMM tree. Basically it'll act as a more powerful -ftrapv, and the error message will be much better

[issue13435] Copybutton does not hide tracebacks

2011-11-19 Thread Robert Lehmann
New submission from Robert Lehmann lehman...@gmail.com: The recently added copybutton.js (r18bbfed9aafa) does not work with the 2.7 docs since they are deployed with JQuery 1.2 (which is shipped with Sphinx 0.6). Copybutton is an unobtrusive Javascript feature which adds a little button to

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

2011-11-19 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: I didn't add one initially as I was just changing output format and not actual behavior. I guess I could add something to ensure it doesn't regress? I'll make sure there's coverage to begin with. --

[issue9530] integer undefined behaviors

2011-11-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 71100ef4f7a2 by Mark Dickinson in branch 'default': Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. http://hg.python.org/cpython/rev/71100ef4f7a2 -- nosy: +python-dev

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

2011-11-19 Thread Jeff McNeil
Jeff McNeil j...@jmcneil.net added the comment: Test to ensure html isn't included when the formatting is text. I don't seem to be able to update the stage. -- Added file: http://bugs.python.org/file23731/head-cgitb-display-tests.patch ___ Python

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

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12890 ___ ___

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13433 ___ ___ Python-bugs-list

[issue13433] String format documentation contains error regarding %g

2011-11-19 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13433 ___

[issue13435] Copybutton does not hide tracebacks

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: docs@python - ezio.melotti nosy: +georg.brandl stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13435 ___

[issue12779] Update packaging documentation

2011-11-19 Thread Nebelhom
Changes by Nebelhom nebel...@googlemail.com: -- nosy: +Nebelhom ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12779 ___ ___ Python-bugs-list

[issue7330] PyUnicode_FromFormat: implement width and precision for %s, %S, %R, %V, %U, %A

2011-11-19 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Hi! I'd like to have this committed to be able to fix #13349. So here's a review. - In Doc/c-api/unicode.rst, the two versionchanged:: 3.3 directives can be merged - In tests, I'd use 'abcde' rather than 'x' to make sure that correct

[issue13089] parsetok.c: memory leak

2011-11-19 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13089 ___ ___ Python-bugs-list

[issue13338] Not all enumerations used in _Py_ANNOTATE_MEMORY_ORDER

2011-11-19 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f855f929bc48 by Petri Lehtinen in branch '3.2': Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER http://hg.python.org/cpython/rev/f855f929bc48 New changeset c2e588a5237a by Petri Lehtinen in branch

[issue13338] Not all enumerations used in _Py_ANNOTATE_MEMORY_ORDER

2011-11-19 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Your patch was applied with the default: case removed. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13338 ___

[issue13432] Encoding alias unicode

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Joining the chorus: people who need it in their application will have to add it themselves (monkeypatching the aliases dictionary as appropriate). -- nosy: +loewis ___ Python tracker

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I really do propose to close this issue as won't fix. By the time Python 4 comes along, things will have changed a lot; it's not clear that the value of keeping it open will outweigh the cost of keeping it open. --

[issue13432] Encoding alias unicode

2011-11-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13432

[issue7433] MemoryView memory_getbuf causes segfaults, double call to tp_releasebuffer

2011-11-19 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: My last comment could be misinterpreted: This *is* actually already fixed in features/pep-3118. -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue6715] xz compressor support

2011-11-19 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: Added file: http://bugs.python.org/file23732/9276fc685c05.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue6715] xz compressor support

2011-11-19 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: Removed file: http://bugs.python.org/file23466/371a133b770a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue13436] compile() doesn't work on ImportFrom with level=None

2011-11-19 Thread Janosch Gräf
New submission from Janosch Gräf janosch.gr...@gmx.net: The documentation for ast says that arguments that are marked with a '?' in the abstract grammar are optional and can therefore be None. When I try to compile a Module node which contains an ImportFrom node with attribute level=None

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

2011-11-19 Thread Julian Berman
New submission from Julian Berman julian+python@grayvines.com: The documentation occasionally contains a link to the source code for a module in the stdlib. See for instance http://docs.python.org/library/urlparse.html and http://docs.python.org/library/collections.html , or many others.

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-19 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Note that this works for me on a Macbook Air that has never had Snow Leopard, nor XCode 3 installed. As far as I can tell non-llvm gcc *is* installed by XCode 4.2: /usr/bin/gcc-4.2 -- ___

[issue9530] integer undefined behaviors

2011-11-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9530 ___ ___ Python-bugs-list mailing list

[issue13430] Add a curry function to the functools module

2011-11-19 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: I assume I was added to this thread since I wrote the functional module, so I'll give my take in that capacity. IMO Python doesn't need a more general version of partial(); indeed, I question the need for partial() as it is today. Querying

[issue13431] Pass context information into the extension module init function

2011-11-19 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: What about providing a function that init would call to get this information, instead of a hidden parameter?. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13431

[issue13429] provide __file__ to extension init function

2011-11-19 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13429 ___ ___ Python-bugs-list mailing list