[issue5341] A selection of spelling errors and typos throughout source

2009-02-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks, Georg. And yes, I was indeed wondering why I found so few wayward apostrophes! Applied in r69846, r69847. I'm not sure whether it's worth backporting these to 2.6 and 3.0. Please do not change builtin to built-in. In a python

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Mads Kiilerich
Mads Kiilerich m...@kiilerich.com added the comment: The command rpm is (now, and in rpm.org version) for runtime and installation only. Rpm building is done by /usr/bin/rpm-build (from the package with the same name, run yum install rpm-build).

[issue4258] Use 30-bit digits instead of 15-bit digits for Python integers.

2009-02-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: It finally occurred to me that what might be killing 32-bit performance is the divisions, rather than the multiplications. To test this, here's a version of 30bit_longdigit17.patch that replaces just *two* of the divisions in

[issue5345] cStringIO class name typo

2009-02-22 Thread Virgil Dupras
Virgil Dupras hs...@hardcoded.net added the comment: The documentation says: Another difference from the StringIO module is that calling StringIO() with a string parameter creates a read-only object. Unlike an object created without a string parameter, it does not have write methods. These

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: Ok, looks good now, thanks a lot. But I am unable to reproduce the problem. The rpm is built fine using my test and the provided example, with or without the -O1 option... I have tried with Python trunk and Fedora's Python 2.5 Would you

[issue2519] Typing 'modules' in the interactive help system fails when imports fail

2009-02-22 Thread Dennis Kaarsemaker
Dennis Kaarsemaker den...@kaarsemaker.net added the comment: I don't see this bug in python 3.0, so feel free to close this issue. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2519 ___

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: But I am unable to reproduce the problem. The rpm is built fine using my test and the provided example, with or without the -O1 option... IIUC, the problem occurs not on building the RPM, but on trying to install it.

[issue5328] Crash when doing some list iteration

2009-02-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5328 ___

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: Added file: http://bugs.python.org/file13150/test_bdist_rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533164 ___

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: Removed file: http://bugs.python.org/file13097/rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533164 ___

[issue5346] mailbox._singlefileMailbox.flush doesn't preserve file rights

2009-02-22 Thread Andrey Rahmatullin
New submission from Andrey Rahmatullin w...@altlinux.org: Mbox file is recreated during flush(), so the new file has access rights according to umask, which is not necessarily the same as of the old file. -- components: Library (Lib) messages: 82604 nosy: wRAR severity: normal status:

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I am now able to reproduce it, thanks to Mads help for the record, on a fresh Fedora 10, you need to do: $ yum groupinstall Development Tools $ yum install rpmdevtools Then the problem will occur like described. Moving to the next stage :

[issue5316] Buildbot failures in test_site

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I manage to reproduce it by running test_site just after test_distutils: ./python -E -tt -m test.regrtest -uall -l -w test_distutils test_site It could be related to test_distutils modifying an environment variable without restoring it at the

[issue5316] Buildbot failures in test_site

2009-02-22 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Trial and error shows it's test_sdist.py. -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5316 ___

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: What should we do about test_fileio, test_file and test_bufio? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4565 ___

[issue5347] SocketIO redefines RawIOBase.__del__

2009-02-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: SocketIO defines its own __del__ while it could simply rely on IOBase.__del__ to do the right thing. I'm saying this because in the C version of the io lib, there is no __del__ anymore, so that SocketIO objects caught in a ref cycle wouldn't

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: The patch is ready. I'll ask at Distutils-SIG what people think about the force-optimize option name, then I'll commit it for 2.7 and 3.1 -- versions: -Python 2.6, Python 3.0 Added file: http://bugs.python.org/file13151/rpm.patch

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: Removed file: http://bugs.python.org/file13150/test_bdist_rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533164 ___

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: On Sun, Feb 22, 2009 at 1:50 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: What should we do about test_fileio, test_file and test_bufio? I changed test_file and test_bufio to test

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-02-22 Thread Jeff Oyama
Jeff Oyama j...@oyama.org added the comment: Just wondering, has anyone done a patch since Bill made the necessary changes to ssl.py in order to implement FTP TLS? If so, where can I find it? I would love to test it out. -- nosy: +jeffo ___ Python

[issue4136] merge json library with latest simplejson 2.0.x

2009-02-22 Thread Bob Ippolito
Bob Ippolito b...@redivi.com added the comment: New patch implementing cyclic GC, new-style relative imports, no lines 80 characters in non-test Python code Added file: http://bugs.python.org/file13152/json_issue4136_r69885.diff ___ Python tracker

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: Added file: http://bugs.python.org/file13153/rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533164 ___

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: Removed file: http://bugs.python.org/file13151/rpm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533164 ___

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There's also test_univnewlines, I think. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4565 ___ ___

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-02-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: On Tue, Feb 17, 2009 at 6:22 PM, STINNER Victor rep...@bugs.python.org wrote: I don't understand the change in source_as_string(). Except of that, it looks correct. Py_CFFLAGS_SOURCE_IS_UTF8 is already set in compile(). The one

[issue5348] Documentation of format implies only strings and numbers are acceptable arguments

2009-02-22 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: The documentation of format on the builtin functions page should be changed from Convert a string or a number to Convert a value. The documentation begins Convert a string or a number. This is misleading in that format can be called on any

[issue5348] Documentation of format implies only strings and numbers are acceptable arguments

2009-02-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5348 ___ ___ Python-bugs-list

[issue3788] test_cookie isn't comprehensive

2009-02-22 Thread Noufal
Noufal nou...@nibrahim.net.in added the comment: This patch contains some simple tests for Morsel. I will update it again to increase coverage. The changes to the Cookie tests assume that the patch in issue4860 has been applied. -- keywords: +patch nosy: +noufal Added file:

[issue5349] abstractmethod vs C++ pure virtual

2009-02-22 Thread Jared Grubb
New submission from Jared Grubb pyt...@jaredgrubb.com: On page library/abc.html documenting abc.abstractmethod, the following text about C++ is placed in a note: Note: Unlike C++’s pure virtual functions, or Java abstract methods, these abstract methods may have an implementation. This

[issue5311] bdist_msi generates version number for pure Python packages

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5311 ___

[issue4204] Cannot build _multiprocessing, math, mmap and readline of Python 2.6 on FreeBSD 4.11 w/ gcc 2.95.4

2009-02-22 Thread Zvezdan Petkovic
Zvezdan Petkovic zvez...@zope.com added the comment: Part of this patch committed in -r 67098 breaks Mac OS X 10.5, because the completion_matches() function is already declared in /usr/include/readline/readline.h and the new declaration conflicts with it. If the lack of this declaration is a

[issue4111] Add DTrace probes

2009-02-22 Thread Chris Miles
Changes by Chris Miles miles.ch...@gmail.com: -- nosy: +chrismiles ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___ ___ Python-bugs-list