[issue4957] os.ftruncate raises IOError instead of OSError

2009-01-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: submitted as r68763 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4999] multiprocessing.Queue does not order objects

2009-01-19 Thread Frédéric Sagnes
Frédéric Sagnes added the comment: Tested using Python 2.6.1 on Mac OS 10.5 and Linux 2.6.26 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue4995] sqlite3 module gives SQL logic error only in transactions

2009-01-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've just tried. While it fails in Python 2.5.2, it works in 2.6.1 and in trunk (what will become 2.7). So I suggest you upgrade to 2.6.1, or simply drop the "BEGIN TRANSACTION" statement in this particular case. -- resolution: -> rejected status:

[issue4999] multiprocessing.Queue does not order objects

2009-01-19 Thread Frédéric Sagnes
New submission from Frédéric Sagnes : Objects contained in a multiprocessing.Queue object are not comming out of the queue in the same order as they went in. For instance, if I put in object1, object2 and object3 in this very time sequence from multiple processes, they can end up comming out of t

[issue4998] fractions are mutable

2009-01-19 Thread Somelauw
New submission from Somelauw : >>> f = Fraction() >>> f.a = 5 >>> f.__slots__ ('_numerator', '_denominator') >>> f.a 5 >>> f.__dict__ {} When I create my own object, this doesn't happen. >>> class Slots: __slots__ = ("slot1", "slot2") >>> a = Slots() >>> a.slot3 = 6 Traceback

[issue4448] should socket readline() use default_bufsize instead of _rbufsize?

2009-01-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Hi, I'm reawakening this because http://bugs.python.org/issue4879 needs to be ported to py3k. In py3k, a socket.fileobject() is still created with bufsize(0), although now the reasoning is different: def __init__(self, sock, debuglevel=0, strict=0, m

[issue4995] sqlite3 module gives SQL logic error only in transactions

2009-01-19 Thread Muayyad Alsadi
Muayyad Alsadi added the comment: same thing [als...@pc1 ~]$ python Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>> cn=sqlite3.connect(':memory:') >>>

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2009-01-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: positive feedbacks on python-ideas, so I'll start to write the patches. targets : - smtplib.SMTP - imaplib.IMAP4 - ftplib.FTP first patch : smtplib (will do ftplib and imaplib as well, then propose this enhancement to python-dev) -- keywords:

[issue2563] embed manifest in windows extensions

2009-01-19 Thread Mark Hammond
Mark Hammond added the comment: Given bug 4120, this seems the most appropriate resolution... -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue4929] smptlib.py can raise socket.error

2009-01-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Note, this has been ported to py3k in http://svn.python.org/view? view=rev&rev=68736 ___ Python tracker ___ _

[issue4997] xml.sax.saxutils.XMLGenerator should write to io.RawIOBase.

2009-01-19 Thread HiroakiKawai
New submission from HiroakiKawai : xml.sax.saxutils.XMLGenerator._write tests the argument by isinstance(text, str), but this is problematic in Python 3.0. XMLGenerator accepts encoding and the produced file is encoded by that encoding, i.e., the XML is a binary sequence. So IMHO, the XMLGener

[issue3582] thread_nt.c update

2009-01-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Note, this has been ported to py3k in http://svn.python.org/view? view=rev&rev=68543 ___ Python tracker ___ _

[issue4336] Fix performance issues in xmlrpclib

2009-01-19 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: note, this has been ported to Py3k in http://svn.python.org/view? view=rev&rev=68458 ___ Python tracker ___ _

[issue4996] io.TextIOWrapper calls buffer.read1()

2009-01-19 Thread HiroakiKawai
New submission from HiroakiKawai : The documentation says io.TextIOWrapper wraps io.BufferedIOBase raw stream. In the code, io.TextIOWrapper.read(), io.TextIOWrapper._read_chunk() calls buffer.read1() which seems expecting buffer to be an instance of io.BufferedReader. I'm not sure which is c

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-01-18 22:59, Mark Dickinson wrote: > Mark Dickinson added the comment: > > Looks good to me. > > I'm not in a position to test with 16-bit wchar_t, but I can't see why > anything would go wrong. I think we can take our chances: check this in >

[issue4962] urlparse & nfs url (rfc 2224)

2009-01-19 Thread Cédric BRINER
Cédric BRINER added the comment: > Do you encounter any errors or weird behaviors while using nfs url? Do you mean: Do I have problem using the python module in conjunction of urlparse ? No, because, I'm not yet using it. But I would like to do it. And I find it strange that it can not find the

[issue4842] int('3L') still valid in Python 3.0

2009-01-19 Thread Martin v. Löwis
Martin v. Löwis added the comment: We should really start maintaining a specification of the pickle format(s). Pickle is designed to be independent of the Python version, although protocol extensions may be added over time. In such a specification, it would say that the format of the L code is "

[issue3613] base64.encodestring does not actually accept strings

2009-01-19 Thread HiroakiKawai
Changes by HiroakiKawai : -- nosy: +kawai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue4769] b64decode should accept strings or bytes

2009-01-19 Thread HiroakiKawai
Changes by HiroakiKawai : -- nosy: +kawai ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

<    1   2