[issue11430] can't change the sizeof a Structure that doesn't own its buffer

2011-03-07 Thread benrg
New submission from benrg benrud...@gmail.com: A struct that is resized knows its new size; among other things, the new size is returned by sizeof. But it seems to be impossible to increase the size of a struct that doesn't own its buffer. resize fails in this case. This would not be too bad

[issue8594] Add a source_address option to ftplib

2011-03-07 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Committed in r68309. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8594 ___

[issue8594] Add a source_address option to ftplib

2011-03-07 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Ok, that wasn't r68309. =) I'm not sure what revision number is now that we're using mercurial. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8594

[issue11431] Python 3.2 (r32:88452) F5 crashes

2011-03-07 Thread Andrew Lih
New submission from Andrew Lih andrew...@gmail.com: Run Module causes the IDLE to freeze when I start Run Module by pressing F5 on the keyboard. But clicking Run Module via Run on the menu bar have no freezing issue. Mac 10.6.6 -- components: IDLE messages: 130240 nosy: andrewlih

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- keywords: +patch Added file: http://bugs.python.org/file21029/a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8542 ___

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8542 ___ ___

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Andrew Lih
Changes by Andrew Lih andrew...@gmail.com: -- title: Python 3.2 (r32:88452) F5 crashes - Python 3.2 (r32:88452) F5 Run Module freezes IDLE ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11431

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread benrg
benrg benrud...@gmail.com added the comment: But when I translate my example according to PEP 343, it works (i.e., doesn't raise an exception) in 3.2, and PEP 343 says [t]he details of the above translation are intended to prescribe the exact semantics. So I think that at least one of PEP

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: - benjamin.peterson nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11428 ___

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8542 ___ ___ Python-bugs-list

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: -georg.brandl status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8542 ___

[issue8594] Add a source_address option to ftplib

2011-03-07 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: I'm not seeing the commit anywhere. Did you perhaps forget to hg push after committing? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8594

[issue1559549] ImportError needs attributes for module and file name

2011-03-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The module name is a UTF-8 encoded string yes. It should be documented in PyModuleDef structure. I already documented the encoding in PyModule_New(). -- ___ Python tracker

[issue11364] Move from distutils.sysconfig to sysconfig in test_osx_env

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I haven’t seen any pitchfork-brandishing in my inbox, so I’m closing this. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11364

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Campbell Barton
New submission from Campbell Barton ideasma...@gmail.com: On Linux - tested on: Arch linux @ Debian Squeeze, this fails python -c __import__('webbrowser').open('http://python.org') The exception thats raised is: Traceback (most recent call last): File string, line 1, in module File

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Library (Lib) -Extension Modules nosy: +ezio.melotti, georg.brandl type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: What change are you wishing for? bdist_rpm is frozen in distutils and removed in distutils2. If this is a feature request, it should be reported to the new standalone project bdist_rpm2 (home https://bitbucket.org/tarek/pypi2rpm; the bug

[issue8847] crash appending list and namedtuple

2011-03-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +rhettinger versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8847 ___ ___

[issue11185] test_wait4 error on AIX

2011-03-07 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: I had seen that post you mentioned and already tested the -lbsd without success. wait4 is not even present in libbsd. phenix:~$ nm /usr/lib/libbsd.a | grep wait phenix:~$ Maybe it was present on older versions of the system. But

[issue11425] Cleanup sample codes in tutorial.

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Just two notes: The operations like “7205759403792794 * 10**30 / 2**56” in floatimport could use some parens; the patch removed a duplicate “statement: for” entry. -- nosy: +eric.araujo ___ Python

[issue11426] CSV examples can't close their files

2011-03-07 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11426 ___ ___ Python-bugs-list

[issue11395] print(s) fails on Windows with long strings

2011-03-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I tried to commit io_write.patch, but I had problems with Mercurial :-) I will commit it later. -- Added file: http://bugs.python.org/file21030/io_write.patch ___ Python tracker

[issue1559549] ImportError needs attributes for module and file name

2011-03-07 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: I am sorry again for those mistakes, it's all completely new to me. I have fixed those issues and created new patch. Using hg export, that now spans over two commits. Is it the way those patches should be provided, or should I gather

[issue11395] print(s) fails on Windows with long strings

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This last patch looks good, except that the comments if stdout mode is binary (python -u) are incorrect: since r87824, all files are opened in binary mode. -- ___ Python tracker

[issue11395] print(s) fails on Windows with long strings

2011-03-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: This last patch looks good, except that the comments if stdout mode is binary (python -u) are incorrect: since r87824, all files are opened in binary mode. I plan to commit the patch to 3.1 and then forward port to 3.2 and 3.3.

[issue3982] support .format for bytes

2011-03-07 Thread Arjen Nienhuis
Arjen Nienhuis a.g.nienh...@gmail.com added the comment: struct.pack does not work with variable length data. Something like: b'{0:x}\r\n{1}\r\n'.format(len(block), block) or b'%x\r\n%s\r\n' % (len(block), block) is not possible with struct.pack --

[issue11415] ZipFile don't overwrite compresed files at create

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Luckily, extracting one of them just get only the more recent one It's not only luck: a Zip file has a central directory used to retrieve data. ZipFile just appends the new file data to the end of the Zip file, then write the updated

[issue11415] ZipFile don't overwrite compresed files at create

2011-03-07 Thread Jesús Leganés Combarro
Jesús Leganés Combarro pira...@gmail.com added the comment: Ok, they talk about remove it, that's why i didn't found it :-P Ok, it make sense. By the way, this way the old data is available? How? (Just to know... it could be a courious feature :-D ) --

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2011-03-07 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: Glibc's readdir() and readdir_r() already do caching, so getdents() syscall is called only once on my '/etc' directory. Should we include another caching level in xlistdir() function? On the other hand, we don't know anything about

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Well, the pep is wrong, too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11428 ___

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

2011-03-07 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: I noticed that after apply my last patch and running full unittest cases, some weird errors which I don't know the reasons occurred, for example: AttributeError: 'dict' object has no attribute 'get' and AttributeError: 'Queue' object has no

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-07 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/issue11421 ___

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 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/issue11417 ___

[issue11401] email.header error during .flatten()

2011-03-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: David, it seems my patch http://bugs.python.org/file20675/email_header.patch is a real requirement for EMAIL 5.1 code. This is because BytesGenerator._write_headers() creates a Header instance in 'else:' (the other branches are

[issue8863] Display Python backtrace on SIGSEGV, SIGFPE and fatal error

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See #11393 for discussion about integration in 3.3. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8863 ___

[issue11433] syntax error at while statement in IDLE/python shell

2011-03-07 Thread Victor
New submission from Victor victoryw...@yahoo.com: Hi and please help me understand if it is a bug, or..,as someone said, there's a 'bug' in my understanding: (Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32) (windows vista, the regular windows python

[issue11414] Add import fix for email.Message

2011-03-07 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: +1 -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11414 ___ ___

[issue11433] syntax error at while statement in IDLE/python shell

2011-03-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: No this is not a bug. You're trying to execute two statements in one go in IDLE, which it doesn't support. You need to run your while loop as a single statement, then your print('Done'). -- nosy: +SilentGhost resolution: - invalid

[issue11401] email.header error during .flatten()

2011-03-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I plan to take a look at this and other email bugs during the Pycon sprints, if not before. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11401

[issue11434] Python 3.2 input() does not remove \r at the end of returned string.

2011-03-07 Thread Joshua Logan
New submission from Joshua Logan dear.jay.lo...@gmail.com: Hello, It is mentioned in the documentation for input() ( http://docs.python.org/py3k/library/functions.html#input ) that the newline is stripped from the end of the returned string. However, on Windows, it used to trim '\r\n'. Now

[issue11434] Python 3.2 input() does not remove \r at the end of returned string.

2011-03-07 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: This is a duplicate of issue #11272. -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11434 ___

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Which Python 3.2 installation are you using? There are two installers for Python 3.2 for Mac OS X downloadable from python.org, 32-bit-only and 64-bit/32-bit. And which version of Tcl/Tk are you using? Please start IDLE and report the first two

[issue11410] Use GCC visibility attrs in PyAPI_*

2011-03-07 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11410 ___ ___ Python-bugs-list

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: With the conversion to mercurial source links in documentation should now point to hg.python.org Here is the patch. -- assignee: docs@python components: Documentation files: docs_sourcename.diff keywords: patch messages: 130268 nosy:

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Good point. However, making the change won't help the already generated versions of the 3.2 html doc, like those included with installers or any older URL references elsewhere to the svn source. Perhaps some URL rewrite rules should be added to the

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: IIUC those svn links will keep working for some time, but if/when the svn repo and/or viewvc will be removed an URL rewrite rule should be fix the problem. The patch seems OK to me. -- nosy: +ezio.melotti

[issue11298] unittest discovery needs better explanation

2011-03-07 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Sounds good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11298 ___ ___

[issue11298] unittest discovery needs better explanation

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I find there are some redundancy and perfectible phrasing. Here’s my rewrite: In order to be compatible with test discovery, all of the test files must be :ref:`modules tut-modules` or :ref:`packages tut-packages` importable from the top-level

[issue7639] bdist_msi fails on files with long names

2011-03-07 Thread Christoph Gohlke
Changes by Christoph Gohlke cgoh...@uci.edu: -- versions: +Python 2.7, Python 3.2 Added file: http://bugs.python.org/file21034/msilib2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7639

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Thomas Wouters
Thomas Wouters tho...@python.org added the comment: I couldn't really care less about bdist_rpm, I'm just reporting a bug in it when not writing .pyc files (through PYTHONDONTWRITEBYTECODE.) I encountered it while making the testsuite do the right thing when not writing bytecode (see issue

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’d find such a patch acceptable too. Thanks for the report and suggested solution. -- assignee: tarek - eric.araujo versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue11436] Clarify struct doc for format 's'.

2011-03-07 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: The struct doc does not specify the meaning of 's', without a count. The attached patch adds the sentence: If a count is not given, it defaults to 1; ``'s'`` means the same as ``'1s'``. (Until I experimented, I had thought no count meant

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've put the redirection in place. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11435 ___

[issue11436] Clarify struct doc for format 's'.

2011-03-07 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: patch -- keywords: +patch Added file: http://bugs.python.org/file21035/zstruct.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11436 ___

[issue11413] Idle doesn't start

2011-03-07 Thread Victor
Victor victoryw...@yahoo.com added the comment: How do you try to open the IDLE? For example, I open it from the start menu, python3.2. When you try to double click on a .py file, it is normal to see what you describe. -- nosy: +victorywin ___

[issue11424] logging fileConfig may not correctly detect children

2011-03-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Fix does not apply to 2.5 as the relevant code for keeping child loggers enabled was added in 2.6. Fixes checked in: b9d76846bb1c (2.6) 9dad160206a3 (2.7) d9125bf3bac5 (3.1) e607d25b4462, 27bf21522742 (3.2) b0883c15b28c (3.3) Test cases

[issue9427] logging.error('...', exc_info=True) should display upper frames, too

2011-03-07 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I'll close this, assuming that the stack_info keyword parameter added to logging calls in 3.2 will be sufficient. I also removed the dependency on 1553375, which would prevent closure. -- dependencies: -Add

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Thomas Wouters
Thomas Wouters tho...@python.org added the comment: I'll incorporate that change into issue #11420 then, and close this (and harp on bdist_rpm2 if it ever lands in the stdlib and has the same issue :-) -- resolution: - wont fix status: open - closed

[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.

2011-03-07 Thread Thomas Wouters
Changes by Thomas Wouters tho...@python.org: Removed file: http://bugs.python.org/file21022/py31-dontwritebytecode.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11420 ___

[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.

2011-03-07 Thread Thomas Wouters
Changes by Thomas Wouters tho...@python.org: Removed file: http://bugs.python.org/file21023/py32-dontwritebytecode.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11420 ___

[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.

2011-03-07 Thread Thomas Wouters
Thomas Wouters tho...@python.org added the comment: As per issue #11417, updated to also skip the tests in distutils/tests/test_bdist_rpm.py when not writing bytecode. -- Added file: http://bugs.python.org/file21036/py31-dontwritebytecode.diff ___

[issue11420] Make testsuite pass with -B/DONTWRITEBYTECODE set.

2011-03-07 Thread Thomas Wouters
Changes by Thomas Wouters tho...@python.org: Added file: http://bugs.python.org/file21037/py32-dontwritebytecode.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11420 ___

[issue3982] support .format for bytes

2011-03-07 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: You are right, I misinterpreted the meaning of 's' without a count (and opened #11436 to clarify). However, for the fairly common case where a variable-length binary block is preceded by a 4 byte *binary* count, one can do something which is

[issue11413] Idle doesn't start

2011-03-07 Thread Chris
Chris ceonnbo...@yahoo.com added the comment: Hi, thank you for your reply.   I try to start it directly from the start menu, where it jumped to after the first open attempt, and have also tried start menu - all programs - python - idle, then one click or right click then chosing open.

[issue11406] There is no os.listdir() equivalent returning generator instead of list

2011-03-07 Thread Марк Коренберг
Марк Коренберг socketp...@gmail.com added the comment: Glibc's readdir() and readdir_r() already do caching Yes, but glibc's readdir is the C analogue of python's generator. We do not need to create cache for cached values. I think it's OK to make python's generator on top of readdir (instead

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Antoine, great! How about also for the other active branches now in hg: release{32,31,27,26,25-maint} ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11435

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: bdist_rpm2 will never go into the stdlib, that’s the point: external maintenance lets people adapt the code when operating system policies change and release more often than Python. Sooner or later someone will report this same bug to the

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Antoine, great! How about also for the other active branches now in hg: release{32,31,27,26,25-maint} ? Is there any such reference in the docs? -- ___ Python tracker rep...@bugs.python.org

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Right: no comprehensive links like in the 3.2+ versions. I just see a few miscellaneous links elsewhere in the source. But there are undoubtedly plenty of links elsewhere out in the wild. So this is probably out-of-scope for this issue but should be

[issue11185] test_wait4 error on AIX

2011-03-07 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: wait4 without WNOHANG works fine. waitpid works fine even with WNOHANG. I don't know which workaround is the better. As far as the test is concerned, it's of course better to use wait4 without WNOHANG in a test names test_wait4

[issue11413] Idle doesn't start

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Can you open a command prompt, and type: c:\python32\python.exe -m idlelib.idle If there are messages, please paste them here! -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Andrew Lih
Andrew Lih andrew...@gmail.com added the comment: I'm using the Python 3.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer. Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin It just freezes every time I try to paste the lines u gave me. But I mange to

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It appears then that you do not ActiveTcl 8.5 installed which is required because of deficiencies with the current Apple-supplied Tcl/Tk 8.5 in OS X 10.6. A warning message should have appeared in your PyShell window: WARNING: The version of Tcl/Tk

[issue9651] ctypes crash when writing zerolength string buffer to file

2011-03-07 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Looks good to me. -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9651 ___

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Andrew Lih
Andrew Lih andrew...@gmail.com added the comment: Thanks a lot Ned! My problem is solved! Awesome! -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11431 ___

[issue11431] Python 3.2 (r32:88452) F5 Run Module freezes IDLE

2011-03-07 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11431 ___ ___ Python-bugs-list

[issue5901] missing meta-info in documentation pdf

2011-03-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: AFAIK, this is obtained using \pdfinfo{} command[1][2][3] [1] http://theoval.cmp.uea.ac.uk/~nlct/latex/pdfdoc/pdfdoc/pdfdoc.html [2] http://tex.stackexchange.com/questions/5958/is-hyperref-really-the-best-way-to-add-metadata-to-a-tex-file

[issue2405] Drop w9xpopen and all dependencies

2011-03-07 Thread benrg
benrg benrud...@gmail.com added the comment: w9xpopen is currently used on NT. The patch to use it on NT was checked in by bquinlan in August of 2001 (http://mail.python.org/pipermail/patches/2001-August/005719.html). He claims that it is necessary in NT, even though (a) the cited knowledge

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11432 ___ ___ Python-bugs-list

[issue6818] remove/delete method for zipfile/tarfile objects

2011-03-07 Thread Yuv Gre
Yuv Gre ubershme...@gmail.com added the comment: What's the status with this patch? If nobody's looking at it I can try to see if it works and write the test and documentation for it. -- nosy: +ubershmekel versions: +Python 3.3 -Python 3.1 ___

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Why the callback option? Also, the tests don't appear to check the return value. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2011-03-07 Thread George Dhoore
New submission from George Dhoore georgie...@gmail.com: If the user makes a typo when setting a custom keybind (in this case Alt-Key-up instead of Alt-Key-Up) IDLE will silently crash. From the command-line the error shows as: Traceback (most recent call last): File

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread George Dhoore
Changes by George Dhoore georgie...@gmail.com: -- nosy: +George.Dhoore ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___ ___

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I agree that the callback isn't needed, and it reflects the older coding style of much of the library (such as in retrlines). Instead, I'd make this a generator, yielding each of the dicts. (Actually in some ideal rewrite of ftplib, the whole

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___ ___ Python-bugs-list

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I've put the redirection in place. So, it's not possible to access http://svn.python.org/view/python/branches/py3k/ at all now? -- ___ Python tracker rep...@bugs.python.org

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2011-03-07 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ned.deily stage: - needs patch type: crash - behavior versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11437

[issue11438] 2to3 does not fix izip_longest

2011-03-07 Thread Steve Dower
New submission from Steve Dower s.j.do...@gmail.com: Running 2to3 on the attached file makes no modifications, which then causes an error (since itertools.izip_longest is now itertools.zip_longest) -- components: 2to3 (2.x to 3.0 conversion tool) files: test.py messages: 130304 nosy:

[issue2405] Drop w9xpopen and all dependencies

2011-03-07 Thread benrg
benrg benrud...@gmail.com added the comment: It turns out that, on Windows 7 32-bit with COMSPEC pointing to command.com, platform.popen('dir').read() works with w9xpopen and fails (no output) without it. But the reason has nothing to do with the old Win9x problem. It's because subprocess

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2011-03-07 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Attached a patch with test for this: Following the suggestion, I put tag, text, tail, and attrib to be accessible via tp_getset for _etree.Element type. -- keywords: +patch nosy: +santa4nt Added file:

[issue7990] xml.etree.cElementTree lacks full dir() on Element

2011-03-07 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- versions: +Python 3.1, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7990 ___

[issue11438] 2to3 does not fix izip_longest

2011-03-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 770d45d22a40, 88bbc574cfb0, 8947c47a9fef, a7e0cff05597 -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2011-03-07 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7769 ___ ___ Python-bugs-list