[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2011-03-07 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11438] 2to3 does not fix izip_longest

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

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

2011-03-07 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- versions: +Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-03-07 Thread Santoso Wijaya
Santoso Wijaya 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: http://bugs.python.org/file21041/dir_elem_

[issue2405] Drop w9xpopen and all dependencies

2011-03-07 Thread benrg
benrg 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 always quotes the comm

[issue11438] 2to3 does not fix izip_longest

2011-03-07 Thread Steve Dower
New submission from Steve Dower : 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: Steve.Dower priority:

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

2011-03-07 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ned.deily stage: -> needs patch type: crash -> behavior versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___

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

2011-03-07 Thread SilentGhost
SilentGhost 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 _

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread SilentGhost
Changes by SilentGhost : -- nosy: +SilentGhost ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread Eric Smith
Eric Smith 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 callback "feature" u

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread George Dhoore
Changes by George Dhoore : -- nosy: +George.Dhoore ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2011-03-07 Thread George Dhoore
New submission from George Dhoore : If the user makes a typo when setting a custom keybind (in this case "" instead of "") IDLE will silently crash. From the command-line the error shows as: Traceback (most recent call last): File "C:\Python32\Lib\idlelib\idle.py", line 11, in idlelib.

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why the callback option? Also, the tests don't appear to check the return value. -- ___ Python tracker ___

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

2011-03-07 Thread Yuv Gre
Yuv Gre 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 ___ Python tracker

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2405] Drop w9xpopen and all dependencies

2011-03-07 Thread benrg
benrg 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 base article explici

[issue5901] missing meta-info in documentation pdf

2011-03-07 Thread Sandro Tosi
Sandro Tosi 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 [3] http://www.tug.org/a

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

2011-03-07 Thread Ned Deily
Changes by Ned Deily : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

2011-03-07 Thread Andrew Lih
Andrew Lih added the comment: Thanks a lot Ned! My problem is solved! Awesome! -- status: pending -> closed ___ Python tracker ___ __

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

2011-03-07 Thread Andreas Stührk
Andreas Stührk added the comment: Looks good to me. -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2011-03-07 Thread Ned Deily
Ned Deily 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 (8.5.7) i

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

2011-03-07 Thread Andrew Lih
Andrew Lih 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 edit the .py file via

[issue11413] Idle doesn't start

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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

[issue11185] test_wait4 error on AIX

2011-03-07 Thread Charles-Francois Natali
Charles-Francois Natali 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 (especially since wa

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

2011-03-07 Thread Ned Deily
Ned Deily 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 dealt with el

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

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou 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

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo 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 bdist_rpm2, so if you’

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

2011-03-07 Thread Ned Deily
Ned Deily 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 ___ ___

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

2011-03-07 Thread Марк Коренберг
Марк Коренберг 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 of getdents). Why

[issue11413] Idle doesn't start

2011-03-07 Thread Chris
Chris 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. Nothing works.   The pyt

[issue3982] support .format for bytes

2011-03-07 Thread Terry J. Reedy
Terry J. Reedy 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 not too bad: >>>

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

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

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

2011-03-07 Thread Thomas Wouters
Thomas Wouters 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 ___ Python tracker

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

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

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

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

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Thomas Wouters
Thomas Wouters 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 ___ Python tra

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

2011-03-07 Thread Vinay Sajip
Vinay Sajip 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 traceback.print_full_exception() resolution:

[issue11424] logging fileConfig may not correctly detect children

2011-03-07 Thread Vinay Sajip
Vinay Sajip 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 were added, and in addit

[issue11413] Idle doesn't start

2011-03-07 Thread Victor
Victor 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 ___ Python tracker

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

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

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

2011-03-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've put the redirection in place. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mai

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

2011-03-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : 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 indefinite length)

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo 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

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Thomas Wouters
Thomas Wouters 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 #11420.) To me, a pe

[issue7639] bdist_msi fails on files with long names

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

[issue11298] unittest discovery needs better explanation

2011-03-07 Thread Éric Araujo
Éric Araujo 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 ` or :ref:`packages ` importable from the top-level directory of the project (this means tha

[issue11298] unittest discovery needs better explanation

2011-03-07 Thread Michael Foord
Michael Foord added the comment: Sounds good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

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

2011-03-07 Thread Ezio Melotti
Ezio Melotti 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 ___ Python t

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

2011-03-07 Thread Ned Deily
Ned Deily 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 web server to

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

2011-03-07 Thread SilentGhost
New submission from SilentGhost : 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: SilentGhost, docs@p

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

2011-03-07 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> input() has trailing carriage return on windows ___ Python tracker

[issue11410] Use GCC visibility attrs in PyAPI_*

2011-03-07 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

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

2011-03-07 Thread Ned Deily
Ned Deily 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 lines shown in th

[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 added the comment: This is a duplicate of issue #11272. -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list

[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 : 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 it no longer trims '\r'.

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

2011-03-07 Thread R. David Murray
R. David Murray added the comment: I plan to take a look at this and other email bugs during the Pycon sprints, if not before. -- ___ Python tracker ___ ___

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

2011-03-07 Thread SilentGhost
SilentGhost 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 status: open -> pendi

[issue11414] Add import fix for email.Message

2011-03-07 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: +1 -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

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

2011-03-07 Thread Victor
New submission from Victor : 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 installer) It's about the foll

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

2011-03-07 Thread Éric Araujo
Éric Araujo added the comment: See #11393 for discussion about integration in 3.3. -- nosy: +eric.araujo ___ Python tracker ___ ___ Py

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

2011-03-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 not entered at all for

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-03-07 Thread Ray.Allen
Ray.Allen 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 attribute 'get' I didn'

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Well, the pep is wrong, too. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2011-03-07 Thread Vetoshkin Nikita
Vetoshkin Nikita 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 caches at glibc's level, i

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

2011-03-07 Thread Jesús Leganés Combarro
Jesús Leganés Combarro 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 ) -- ___ Python tr

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

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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 directory struc

[issue3982] support .format for bytes

2011-03-07 Thread Arjen Nienhuis
Arjen Nienhuis 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 -- ___ Python tracker

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

2011-03-07 Thread STINNER Victor
STINNER Victor 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. Yes, I will adapt the

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

2011-03-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc 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

[issue1559549] ImportError needs attributes for module and file name

2011-03-07 Thread Filip Gruszczyński
Filip Gruszczyński 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 all changes into a on

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

2011-03-07 Thread STINNER Victor
STINNER Victor 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

[issue11426] CSV examples can't close their files

2011-03-07 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11425] Cleanup sample codes in tutorial.

2011-03-07 Thread Éric Araujo
Éric Araujo 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 tracker

[issue11185] test_wait4 error on AIX

2011-03-07 Thread Sébastien Sablé
Sébastien Sablé 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 I couldn't find any docume

[issue8847] crash appending list and namedtuple

2011-03-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +rhettinger versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11417] distutils' bdist_rpm fails when running with PYTHONDONTWRITEBYTECODE

2011-03-07 Thread Éric Araujo
Éric Araujo 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 ; the bug tracker is not enabl

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) -Extension Modules nosy: +ezio.melotti, georg.brandl type: -> behavior ___ Python tracker ___ ___

[issue11432] webbrowser.open on unix fails.

2011-03-07 Thread Campbell Barton
New submission from Campbell Barton : 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 "", line 1, in File "/usr/lib/python3.2/webbrowser.py",

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

2011-03-07 Thread Éric Araujo
Éric Araujo added the comment: I haven’t seen any pitchfork-brandishing in my inbox, so I’m closing this. -- status: pending -> closed ___ Python tracker ___ ___

[issue1559549] ImportError needs attributes for module and file name

2011-03-07 Thread STINNER Victor
STINNER Victor 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

[issue8594] Add a "source_address" option to ftplib

2011-03-07 Thread Nadeem Vawda
Nadeem Vawda added the comment: I'm not seeing the commit anywhere. Did you perhaps forget to "hg push" after committing? -- ___ Python tracker ___ _

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: -georg.brandl status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mail

[issue11428] with statement looks up __exit__ incorrectly

2011-03-07 Thread benrg
benrg 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 343, the evaluation o

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

2011-03-07 Thread Andrew Lih
Changes by Andrew Lih : -- title: Python 3.2 (r32:88452) F5 crashes -> Python 3.2 (r32:88452) F5 "Run Module" freezes IDLE ___ Python tracker ___ ___

[issue8542] Another test issue

2011-03-07 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8542] Another test issue

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

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

2011-03-07 Thread Andrew Lih
New submission from Andrew Lih : "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 priority: norma

[issue8594] Add a "source_address" option to ftplib

2011-03-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Ok, that wasn't r68309. =) I'm not sure what revision number is now that we're using mercurial. -- ___ Python tracker ___ ___

[issue8594] Add a "source_address" option to ftplib

2011-03-07 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Committed in r68309. -- status: pending -> open ___ Python tracker ___ ___ Python-bugs-list maili

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

2011-03-07 Thread benrg
New submission from benrg : 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 if the size were me