[issue13506] IDLE sys.path does not contain Current Working Directory

2011-11-30 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: +1 The proposed patch works as described. I do agree with Marco that IDLE does need some more QA. -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13506

[issue13471] setting access time beyond Jan. 2038 on remote share failes on Win7 x64

2011-11-30 Thread Thorsten Simons
Thorsten Simons t...@snomis.de added the comment: Gentlemen, thank you for your contribution - the information about the Samba fix solved the problem! -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13471] setting access time beyond Jan. 2038 on remote share failes on Win7 x64

2011-11-30 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- resolution: works for me - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13471 ___

[issue13504] Meta-issue for Invent with Python IDLE feedback

2011-11-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: #10364 covers point 7 (make .py default added extension on save) -- dependencies: +IDLE: make .py default added extension on save nosy: +ned.deily ___ Python tracker rep...@bugs.python.org

[issue13507] Modify OS X installer builds to package liblzma for the new lzma module

2011-11-30 Thread Ned Deily
New submission from Ned Deily n...@acm.org: Since AFAIK Apple does not currently ship a version of liblzma with Mac OS X, the OS X installer build script should be modified to build and link a version in support of the new lzma module (Issue6715). Mac/BuildScript/build-installer.py

[issue6715] xz compressor support

2011-11-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I've opened Issue13507 to track adding liblzma to the OS X installer builds. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Right, alloca() could be replaced by some malloc(), but is it really useful? After all, when a C function calls back to Python, all arguments needs to be pushed to the stack anyway. -- ___

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2011-11-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9116 ___ ___

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Just to clarify, no decision has yet been made on *whether* the cdecimal work should be integrated into py3k; we'll consult python-dev on this once we've got a working branch and performance information. So, what is the status

[issue13493] Import error with embedded python on AIX 6.1

2011-11-30 Thread python_hu
python_hu nari...@163.com added the comment: Thank Amaury,you are right. So python2.7 share library compile finished,and python2.7 works,and then I write a test program,to test libpython2.7.so share library,but it dumped! code: --- #include stdio.h^M #include Python.h^M

[issue13504] Meta-issue for Invent with Python IDLE feedback

2011-11-30 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berkerpeksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13504 ___ ___

[issue13493] Import error with embedded python on AIX 6.1

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: dlopen(/usr/local/lib/python2.6/lib-dynload/time.so, 2); You are trying to open a .so from another Python installation. It won't work: it is certainly linked to another Python VM, which is not initialized. --

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Does Python really need yet another multiprecision library? It's not really another library: it's a reimplementation of the existing decimal library in C. The decimal library is *hugely* valuable to the financial world, but its slowness

[issue11732] Skip decorator for tests requiring manual intervention on Windows

2011-11-30 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: -- nosy: +sable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11732 ___ ___

[issue6715] xz compressor support

2011-11-30 Thread Per Øyvind Karlsen
Per Øyvind Karlsen peroyv...@mandriva.org added the comment: Ah, I thought that he had reused most of the original C code in _lzmamodule.c not replaced by python code, but I see that not being the case now (only slight fragments;). Oh well, I thought that I'd still earned a note with some

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-11-30 Thread Sébastien Sablé
Changes by Sébastien Sablé sa...@users.sourceforge.net: -- nosy: +sable ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7833 ___ ___

[issue6715] xz compressor support

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Oh well, I thought that I'd still earned a note with some slight credit at least I completely agree. Sometimes people get credit for simple bug fixes (count me among them) so the author of the first working implementation deserves

[issue13504] Meta-issue for Invent with Python IDLE feedback

2011-11-30 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: #2704 covers point 1 (In the shell window, if you click anywhere but on the current line and move the cursor there, the window stops handling key strokes.) #3851 covers point 1.1) Pressing the Home key moves the cursor before the prompt,

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-11-30 Thread Loïc Minier
New submission from Loïc Minier l...@dooz.org: Hi, This bug was originally reported at https://bugs.launchpad.net/bugs/898172 ctypes/utils.py provides a find_library function which amongst other things will scan the ldconfig -p output on linux to find libraries by name. It applies some

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-11-30 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13508 ___ ___

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-11-30 Thread Loïc Minier
Changes by Loïc Minier l...@dooz.org: -- keywords: +patch Added file: http://bugs.python.org/file23817/ctypes-arm.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13508 ___

[issue13508] ctypes' find_library breaks with ARM ABIs

2011-11-30 Thread Loïc Minier
Loïc Minier l...@dooz.org added the comment: While I'm at it, find_library also tries creating temp files when running gcc and other issues mention trouble running gcc or propose running ld: http://bugs.python.org/issue9998 http://bugs.python.org/issue5289 IMHO, calling binutils/gcc is

[issue6715] xz compressor support

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nadeem: Instead of duplicating the list of archiving/compression modules in each doc, what about only linking to the shutil doc for archives and the archiving.rst file? (I can make the patch, just wanted feedback first) --

[issue6715] xz compressor support

2011-11-30 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Not meaning to sound petty, but wouldn't it be common etiquette to retain some original copyright notice from original code intact..? It seemed to me that Nadeem had rewritten everything from scratch. Is there any code of yours in the

[issue5411] add xz compression support to shutil

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: distutils2/packaging now just uses the shutil functions. I’ll make a patch for shutil after tarfile is updated. -- assignee: tarek - eric.araujo components: +Library (Lib) -Distutils2 title: add xz compression support to distutils - add

[issue5689] Support xz compression in tarfile module

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Python now has an lzma module. Lars, do you have the time to update your patch or should I do it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5689

[issue6715] xz compressor support

2011-11-30 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Instead of duplicating the list of archiving/compression modules in each doc, what about only linking to the shutil doc for archives and the archiving.rst file? Sure, go ahead. I actually hadn't realized that each section of the library

[issue5411] add xz compression support to shutil

2011-11-30 Thread Nadeem Vawda
Changes by Nadeem Vawda nadeem.va...@gmail.com: -- nosy: +nadeem.vawda ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5411 ___ ___ Python-bugs-list

[issue12832] The documentation for the print function should explain/point to how to control the sys.stdout encoding

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks. Here’s another take: I think the wording is better, but it’s longer. I removed the reference to sys.stdin, which you don’t print to: I haven’t checked if the doc for the input function should talk about the encoding too. --

[issue13210] Support Visual Studio 2010

2011-11-30 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Again, rather than work off of the default branch and duplicate effort, can you work off of the vs2010 branch on http://hg.python.org/sandbox/vs2010port/? -- ___ Python tracker rep...@bugs.python.org

[issue13210] Support Visual Studio 2010

2011-11-30 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I have started working on python default branch. My patch queue is available here: https://bitbucket.org/sablefr/py3kvs2010/ The result is the following so far: 323 tests OK. 8 tests failed: test_distutils test_fileio

[issue11610] Improved support for abstract base classes with descriptors

2011-11-30 Thread Darren Dale
Darren Dale dsdal...@gmail.com added the comment: Here is a new patch addressing comments raised in review. It supersedes previous patch submissions. -- Added file: http://bugs.python.org/file23819/abc_descriptor.patch ___ Python tracker

[issue12014] str.format parses replacement field incorrectly

2011-11-30 Thread Ben Wolfson
Ben Wolfson wolf...@gmail.com added the comment: All three patches look different to me. Yeah, I verified that later; I'm not sure what made me think otherwise except that I eyeballed them sloppily. (It's still true that they'd need to target a different file for 3.3 now.) --

[issue6715] xz compressor support

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: --- a/Misc/NEWS +++ b/Misc/NEWS @@ -400,6 +400,7 @@ --- - Issue #6715: Add a module 'lzma' for compression using the LZMA algorithm. + Thanks to Per Øyvind Karlsen for the initial implementation. The entry in

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Binary versus decimal - There is already gmpy and bigfloat, based on the heavily optimized GMP library, for example. Is it a license issue? Can't we reuse GMP/MPFR to offer a Decimal API? _decimal is a PEP-399

[issue6715] xz compressor support

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: what about a mention in lzmamodule.c? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___

[issue6715] xz compressor support

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I actually hadn't realized that each section of the library docs had a sub-index page like that That’s multiple-entry navigation :) You can jump to a module page, or use the index, or use the search, or browse and see the sub-indexes. As the

[issue13509] On uninstallation, distutils bdist_wininst fails to run post install script

2011-11-30 Thread Jason Roberts
New submission from Jason Roberts jason.robe...@duke.edu: Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post install script at both installation and uninstallation. The script would be invoked with a -install argument on installation and a -remove argument on

[issue13509] On uninstallation, distutils bdist_wininst fails to run post install script

2011-11-30 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- components: +Windows nosy: +brian.curtin stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13509 ___

[issue13276] distutils bdist_wininst created installer does not run the postinstallation script on uninstalling

2011-11-30 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brian.curtin, jasonjroberts stage: - test needed versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13276

[issue13509] On uninstallation, distutils bdist_wininst fails to run post install script

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the diagnosis. Please contribute to the existing bug report. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - distutils bdist_wininst created installer does not run the

[issue13276] distutils bdist_wininst created installer does not run the postinstallation script on uninstalling

2011-11-30 Thread Jason Roberts
Jason Roberts jason.robe...@duke.edu added the comment: Sorry, I opened issue13509 after somehow not finding this one. Here is my text from issue13509. Thanks for looking at this problem... Historically (i.e. Python 2.6.1 and earlier) bdist_wininst would run the post install script at both

[issue6715] xz compressor support

2011-11-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The entry in Misc/ACKS, Doc/whatsnew/3.3.rst and the commit message should be enough. Lately I’ve noticed some attributions in NEWS, but it’s usually not done (as redundant). I generally add attributions in NEWS since that's where most people

[issue13276] bdist_wininst-created installer does not run the postinstallation script when uninstalling

2011-11-30 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: (2.6 and 3.1 don’t get bug fixes anymore.) -- title: distutils bdist_wininst created installer does not run the postinstallation script on uninstalling - bdist_wininst-created installer does not run the postinstallation script when

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org wrote: The only problem from my perspective is getting someone to find time to review such a massive patch. I've been wondering whether we could get away with some kind of 'statistical' review:

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If I'm interpreting this http://mail.python.org/pipermail/python-dev/2011-August/113240.html dialogue correctly, a complete audit down to the last line isn't always necessary. It is also helped by the fact you are a core developer and we

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

2011-11-30 Thread Peter Otten
New submission from Peter Otten __pete...@web.de: I've been looking at code on the tutor mailing list for some time, and for line in file.readlines(): ... is a common idiom there. I suppose this is because the readlines() method is easily discoverable while the proper way (iterate over the

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

2011-11-30 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eric.araujo, ezio.melotti stage: - needs patch versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13510

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: We've been wanting this for a long time. Strong +1 from me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___

[issue13511] ./configure --includedir, --libdir accept multiple

2011-11-30 Thread Ray
New submission from Ray rpq...@hotmail.com: For ./configure, --includedir and --libdir both cannot handle multiple packages. e.g. /configure --includedir=/home/user/.local/sqlite3-3.7.9/include --includedir=/home/user/.local/readline-6.2/include

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I can help with the review. Is http://bugs.python.org/review/7652/show a good starting point? I already have some comments. -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue13511] ./configure --includedir, --libdir accept multiple

2011-11-30 Thread Ray
Ray rpq...@hotmail.com added the comment: I should mention, I had to modify setup.py in order for the export line in my original post to work on my linux machine. -- keywords: +patch Added file: http://bugs.python.org/file23821/setup.py.diff ___

[issue1040439] Missing documentation on how to link with libpython

2011-11-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2c05b8a6cdd1 by Antoine Pitrou in branch '3.2': Issue #1040439: better document how to compile and link an embedded Python interpreter. http://hg.python.org/cpython/rev/2c05b8a6cdd1 New changeset 528abe272856 by

[issue1040439] Missing documentation on how to link with libpython

2011-11-30 Thread Ray
Ray rpq...@hotmail.com added the comment: I think mentioning that you can export CFLAGS and LDFLAGS would be particularly useful. I was able to compile some of the missing packages that were deemed 'missing' at the end of 'make' by updating setup.py and having CFLAGS and LDFLAGS point to the

[issue1040439] Missing documentation on how to link with libpython

2011-11-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think mentioning that you can export CFLAGS and LDFLAGS would be particularly useful. I was able to compile some of the missing packages that were deemed 'missing' at the end of 'make' by updating setup.py and having CFLAGS and LDFLAGS

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Antoine Pitrou rep...@bugs.python.org wrote: It is also helped by the fact you are a core developer and we trust you to be here to do maintenance :) Sure. The specification doesn't really change, so the work will hopefully be limited.

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Raymond Hettinger rep...@bugs.python.org wrote: We've been wanting this for a long time. Strong +1 from me. Thank you, Raymond! -- ___ Python tracker rep...@bugs.python.org

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (Actually, that's a part of why decimal.py is slow---it's using Python's *binary* integers to store *decimal* coefficients, so that even simple addition is now a quadratic operation, thanks to the binary - decimal conversions

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Amaury Forgeot d'Arc rep...@bugs.python.org wrote: I can help with the review. Is http://bugs.python.org/review/7652/show a good starting point? I already have some comments. Yes, that would be great. Apart from two or three changes

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: Added file: http://bugs.python.org/file23822/bba956250186.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7652 ___

[issue7652] Merge C version of decimal into py3k.

2011-11-30 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Stefan Krah rep...@bugs.python.org wrote: Yes, that would be great. Apart from two or three changes that I still need to push patch set 4 is the latest version. Hmm, no. I'll create a slightly newer patch from Oct. 1st. --

[issue13504] Meta-issue for Invent with Python IDLE feedback

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

[issue13505] Bytes objects pickled in 3.x with protocol =2 are unpickled incorrectly in 2.x

2011-11-30 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: After a bit of testing, my idea was flawed, as str() doesn't accept an encoding parameter in 2.x: `str(u'foo', 'latin1')` simply raises a TypeError. -- ___ Python tracker rep...@bugs.python.org

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

2011-11-30 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This current line is Read and return a list of lines from the stream. hint can be specified to control the number of lines read: no more lines will be read if the total size (in bytes/characters) of all lines so far exceeds hint. I would like

[issue13455] Reorganize tracker docs in the devguide

2011-11-30 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Something else such docs could cover is how to manage remote Hg repos such that the Create Patch button does the right thing. Basically, you need to make sure an appropriate CPython version is found in the ancestors of the tip your working

[issue13491] Fixes for sqlite3 doc

2011-11-30 Thread Nebelhom
Changes by Nebelhom nebel...@googlemail.com: Added file: http://bugs.python.org/file23823/sqlite_code_update.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13491 ___

[issue6715] xz compressor support

2011-11-30 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 6cde416ef03b by Nadeem Vawda in branch 'default': Credit Per Øyvind Karlsen for the initial implementation of the lzma module (issue #6715). http://hg.python.org/cpython/rev/6cde416ef03b --

[issue6715] xz compressor support

2011-11-30 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: As the docs for zlib, gzip, bz2, lzma, zipfile and tarfile are in the archiving subsection, there’s already a link to the subsection index, so I just removed the “See also zlib, etc.” lines (except for the link from zlib to gzip). I

[issue13512] ~/.pypirc created insecurely

2011-11-30 Thread Vincent Danen
New submission from Vincent Danen vda...@linsec.ca: A bug was reported in python's distutils in that ~/.pypirc was created insecurely by first creating and writing user/password information to the file, then chmod'ing it to 0600. Perhaps the file should be created (empty), chmod'd, and then

[issue10364] IDLE: make .py default added extension on save

2011-11-30 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10364 ___ ___ Python-bugs-list

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on x86 Ubuntu Shared 3.x

2011-11-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Gregory's patches to sanitize threading's lock should have fixed this The subprocess hang still occurs something, it just happened:

[issue13512] ~/.pypirc created insecurely

2011-11-30 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: Something along these lines (untested) should do it. 2.6 and 3.x need the fix as well -- keywords: +patch nosy: +pjenvey Added file: http://bugs.python.org/file23824/pypirc-secure.diff ___

[issue13512] ~/.pypirc created insecurely

2011-11-30 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: It probably still needs to catch OSErrors which my patch doesn't do -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13512 ___

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: On Wed, Nov 30, 2011 at 6:20 AM, Amaury Forgeot d'Arc rep...@bugs.python.org wrote: Right, alloca() could be replaced by some malloc(), but is it really useful?   After all, when a C function calls back to Python, all arguments needs to be

[issue13097] ctypes: segfault with large number of callback arguments

2011-11-30 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- priority: normal - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13097 ___ ___ Python-bugs-list

[issue13513] IOBase docs incorrectly link to the GNU readline module

2011-11-30 Thread Meador Inge
New submission from Meador Inge mead...@gmail.com: The current IOBase documentation [1] reads: IOBase (and its subclasses) support the iterator protocol, meaning that an IOBase object can be iterated over yielding the lines in a stream. Lines are defined slightly differently depending on

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

2011-11-30 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: I am skeptical that such a note will help. The iterator behavior is clearly pointed out in the Python Tutorial [1] and in the IOBase documentation [2]. I suspect this bad code pattern is just being copied and pasted from other sources without

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

2011-11-30 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: FWIW I've seen several persons using for line in file.readlines(): ... or even while 1: line = file.readline(). IMHO it's a good idea to document that without sizehint, it's equivalent to list(file) and that for line in file: ... can be

[issue13120] Default nosigint option to pdb.Pdb() prevents use in non-main thread

2011-11-30 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Ilya, I agree. Thanks for the test patch. These two patches look OK to me. Georg OK with you? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13120

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen
New submission from Paul Sladen pyt...@paul.sladen.org: The Python Imaging Library does not support handling of UTF-8 'iTXt' key:value chunks in PNG files: http://www.w3.org/TR/PNG/#11iTXt Such support is necessary for successful extraction of key:value pairs of UTF-8 encoded data, stored

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You should report this to the PIL bug tracker. PIL is not part of the Python standard library. -- nosy: +ezio.melotti resolution: - invalid stage: - committed/rejected status: open - closed

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen
Paul Sladen pyt...@paul.sladen.org added the comment: Thank you Ezio. I could not see a separate bug tracker listed on: http://www.pythonware.com/products/pil/ could you help me by providing a link to where it /should/ be filed correctly for PIL itself. --

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You could try submitting your patch to the image-sig ML (http://mail.python.org/mailman/listinfo/image-sig). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13514

[issue13515] Consistent documentation practices for security concerns and considerations

2011-11-30 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: This issue proposes that we adopt and apply some standard practices when documenting modules that have potential security implications and other cross-cutting errors that may affect multiple interfaces within the module. Accordingly, the