[issue4111] Add DTrace probes

2009-02-22 Thread Chris Miles
Changes by Chris Miles : -- nosy: +chrismiles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[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 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 problem for Free

[issue5311] bdist_msi generates version number for pure Python packages

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- versions: +Python 2.7, Python 3.1 -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list maili

[issue5349] abstractmethod vs C++ pure virtual

2009-02-22 Thread Jared Grubb
New submission from Jared Grubb : 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 implementation can be called

[issue3788] test_cookie isn't comprehensive

2009-02-22 Thread Noufal
Noufal 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: http://bugs.python.org/file13154/t

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

2009-02-22 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2009-02-22 Thread Mitchell Model
New submission from Mitchell Model : 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 value, sinc

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

2009-02-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Tue, Feb 17, 2009 at 6:22 PM, STINNER Victor 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 problem is that it causes test_coding to f

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: There's also test_univnewlines, I think. ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file13151/rpm.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : Added file: http://bugs.python.org/file13153/rpm.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2009-02-22 Thread Bob Ippolito
Bob Ippolito 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

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

2009-02-22 Thread Jeff Oyama
Jeff Oyama 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 tracker

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Sun, Feb 22, 2009 at 1:50 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > What should we do about test_fileio, test_file and test_bufio? I changed test_file and test_bufio to test the open() implementations of each library. test_file

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

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file13150/test_bdist_rpm.patch ___ Python tracker ___ ___ Python-bugs-list mai

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

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé 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

[issue5347] SocketIO redefines RawIOBase.__del__

2009-02-22 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 block the GC from

[issue4565] Rewrite the IO stack in C

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: What should we do about test_fileio, test_file and test_bufio? ___ Python tracker ___ ___ Python-bugs-list ma

[issue5316] Buildbot failures in test_site

2009-02-22 Thread Eric Smith
Eric Smith added the comment: Trial and error shows it's test_sdist.py. -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-li

[issue5316] Buildbot failures in test_site

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou 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 end. --

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

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé 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 : fixing Distutils for

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

2009-02-22 Thread Andrey Rahmatullin
New submission from Andrey Rahmatullin : 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: open title: mailb

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

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file13097/rpm.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2009-02-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : Added file: http://bugs.python.org/file13150/test_bdist_rpm.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue5328] Crash when doing some list iteration

2009-02-22 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2009-02-22 Thread Antoine Pitrou
Antoine Pitrou 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. _

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

2009-02-22 Thread Dennis Kaarsemaker
Dennis Kaarsemaker added the comment: I don't see this bug in python 3.0, so feel free to close this issue. ___ Python tracker ___ ___ Python-b

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

2009-02-22 Thread Tarek Ziadé
Tarek Ziadé 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 mind trying with the cu

[issue5345] cStringIO class name typo

2009-02-22 Thread Virgil Dupras
Virgil Dupras 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 objects are not gene

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

2009-02-22 Thread Mark Dickinson
Mark Dickinson 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 Objects/longsobject.c by the appr

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

2009-02-22 Thread Mads Kiilerich
Mads Kiilerich 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"). /usr/lib/python2.5/distutils/command/bdist_rpm.py will select r

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

2009-02-22 Thread Mark Dickinson
Mark Dickinson 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 context, it reads >