[issue6095] os.curdir as the default argument for os.listdir

2009-05-23 Thread Tarek Ziadé
New submission from Tarek Ziadé : make os.listdir() path argument be os.curdir. I am working on a patch, I'll submit here -- components: Library (Lib) messages: 88256 nosy: tarek severity: normal status: open title: os.curdir as the default argument for os.listdir type: feature request

[issue6042] Document and slightly simplify lnotab tracing

2009-05-23 Thread Jeffrey Yasskin
Changes by Jeffrey Yasskin : -- assignee: -> jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6042] Document and slightly simplify lnotab tracing

2009-05-23 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Committed to trunk in r72879. I'll wait to merge it to 3.x until 3.1 has been released, since we're approaching the release candidate there. -- stage: patch review -> committed/rejected ___ Python tracker

[issue1943] improved allocation of PyUnicode objects

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch against py3k. On a 64-bit system, each unicode object takes 14 bytes less than without the patch (using sys.getsizeof()). Two to four more bytes could be gained by folding the `state` member in the two lower bits of `defenc`, but I'm not sure it's

[issue5259] smtplib is broken in Python3

2009-05-23 Thread José Luis Cáceres
José Luis Cáceres added the comment: There is a similar problem that I found with encode_cram_md5 in smtplib.py, SMTP.login() method. I used the solution proposed by miwa, both for PLAIN and CRAM MD5 authentication. Additionally, for the last one, I had to introduce a second correction and by

[issue6060] PYTHONHOME should be more flexible (and controllable by --libdir)

2009-05-23 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue6060] PYTHONHOME should be more flexible (and controllable by --libdir)

2009-05-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin v. Löwis: What I want is simply to be able to use --libdir to > tell ./configure where to put standard Python libs, and I want my Python > installation to recognize this lib location without having to hack > PYTHONPATH or PYTHONHOME or anything else.

[issue6094] Python fails to build with Subversion 1.7

2009-05-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r72871. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue5761] add file name to py3k IO objects repr()

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed in r72870. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pyth

[issue6060] PYTHONHOME should be more flexible (and controllable by --libdir)

2009-05-23 Thread soundmurderer
soundmurderer added the comment: OK, I'm convinced. Changing PYTHONHOME is bad. But I am all in favor R. David Murray's solution of extending to include something like PYTHONHOMELIB. Martin v. Löwis: What I want is simply to be able to use --libdir to tell ./configure where to put standard Py

[issue6094] Python fails to build with Subversion 1.7

2009-05-23 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: I'm attaching improved patch. -- Added file: http://bugs.python.org/file14047/python-2.6.2-svnversion.patch ___ Python tracker

[issue5761] add file name to py3k IO objects repr()

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch following Benjamin's comments. -- Added file: http://bugs.python.org/file14046/issue5761-2.patch ___ Python tracker ___ __

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray stage: test needed -> commit review ___ Python tracker ___ ___ Python-bugs

[issue6094] Python fails to build with Subversion 1.7

2009-05-23 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis : svnversion program from Subversion 1.7 (currently trunk), when invoked on unversioned directory, prints "Unversioned directory" instead "exported". This change in output is intentional and won't be reverted. It causes build failure: x86_

[issue5761] add file name to py3k IO objects repr()

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file14044/issue5761.patch ___ Python tracker ___ ___

[issue5756] idle pydoc et al removed from 3.1 without versioned replacements

2009-05-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: r72866 installs 2to3 over old installations. That should do the trick. -- status: open -> closed ___ Python tracker ___ _

[issue6050] zipfile: Extracting a directory that already exists generates an OSError

2009-05-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: It would be nice to have a test with the patch. -- nosy: +benjamin.peterson ___ Python tracker ___ __

[issue4385] Py_Object_HEAD_INIT in Py3k

2009-05-23 Thread Georg Brandl
Changes by Georg Brandl : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue3877] test_fileio fails on OpenBSD 4.4

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed a more generic fix to test_fileio. Normally it should be ok, if there's any problem please reopen the bug. -- resolution: -> fixed status: open -> closed versions: +Python 2.7, Python 3.1 ___ Python t

[issue1983] Return from fork() is pid_t, not int

2009-05-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks, the patch was committed in r72852, r72853, r72854. I then realized a couple of functions had been looked over (including getpid() and getppid()), and committed a complement in r72855, r72856 and r72858. -- resolution: accepted -> fixed status: o

[issue6047] "install" target in python 3.x makefile should be "fullinstall"

2009-05-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Removed fullinstall in r72857. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray added the comment: Looks like I accidentally deleted the file I was asking for. Not sure how that happened, but I'm reattaching it. -- Added file: http://bugs.python.org/file14043/test-smtplib.diff ___ Python tracker

[issue6089] str.format raises SystemError

2009-05-23 Thread Eric Smith
Eric Smith added the comment: Fixed in: trunk: r72848 release26-maint: r72849 py3k: r72850 release30-main: r72851 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
R. David Murray added the comment: 5304 and 3921 are fixed. Is there still an issue here? If so, I think we need a test case we can add to the test suite. It can be a patch against the new test_smtpnet.py test. -- nosy: +r.david.murray ___ Python

[issue5259] smtplib is broken in Python3

2009-05-23 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file13774/test-smtplib.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue4385] Py_Object_HEAD_INIT in Py3k

2009-05-23 Thread R. David Murray
R. David Murray added the comment: Unless I'm missing something it looks like this can be closed as fixed. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> committed/rejected status: open -> pending ___ Python tracker

[issue4470] smtplib SMTP_SSL not working.

2009-05-23 Thread R. David Murray
R. David Murray added the comment: With the closure of 4066 all the tests in the test patch pass, so I'm lowering the piority of this ticket. I haven't reviewed the other patches, but the tests in the test patch appear to be doing tests in the setup method, which doesn't seem like a good idea.

[issue960325] "--require " option for configure/make (fail if building not possible)

2009-05-23 Thread Björn Lindqvist
Björn Lindqvist added the comment: I'm not Hallvard but I'd also appreciate this feature. I think it is quite important to have for automated build systems; Python seem to build correctly but then down the line some other package fails because the bz2 module is not available. IMHO it is wrong

[issue6054] tarfile normalizes arcname

2009-05-23 Thread mkv
mkv added the comment: Great, thanks for the speedy work :) Now if only issue4750 would get fixed for 2.7 as well ;) -- ___ Python tracker ___ _

[issue1064] Test issue

2009-05-23 Thread Martin v . Löwis
Martin v. Löwis added the comment: Another one. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1064] Test issue

2009-05-23 Thread Martin v . L�wis
Martin v. Löwis added the comment: And yet more email -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6093] Ambiguous locale.strxfrm

2009-05-23 Thread Tuomas Vesterinen
New submission from Tuomas Vesterinen : This was fixed once in Python 2.5, but in Python 3.0 the bug celebrates its comeback. The tail of the strxfrm result is ambiguous. Python 3.0.1 (r301:69556, Apr 14 2009, 14:30:31) [GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2 Type "help", "copyright",

[issue5797] there is en exception om Create User page

2009-05-23 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> invalid status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5079] time.ctime docs refer to "time tuple" for default

2009-05-23 Thread Georg Brandl
Georg Brandl added the comment: None will be made. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Py