[issue839159] iterators broken for weak dicts

2010-05-06 Thread Anthony Lenton
Anthony Lenton anthony.len...@canonical.com added the comment: Probably old news, but this also affects 2.5.4. -- nosy: +elachuni versions: +Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue839159

[issue1441530] socket read() can cause MemoryError in Windows

2008-09-11 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: It's probably just a typo from copying from an editor, but there is a bug in the workaround. It should be: maxRead = 100 class MySSL (imaplib.IMAP4_SSL): def read (self, n): #print ..Attempting to read %d bytes % n if n

[issue1441530] socket read() can cause MemoryError in Windows

2008-09-09 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: I confirm that the bug occurs with Python 2.5.1 on Windows XP. Also, anglocelt's fix worked fine for me. -- nosy: +elachuni ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1441530

[issue2732] curses.textpad loses characters at the end of lines

2008-06-21 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: This doesn't happen to me with 2.6 compiled from HEAD, or with 2.5.2 shipped with Ubuntu Hardy. In both cases the output is: Contents of text box: '123456789\n123456789\n' -- nosy: +elachuni

[issue2569] default_scheme in urlparse.urlparse() useless

2008-06-21 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: In http://bugs.python.org/issue754016 there's already a discussion about this. The RFC that urlparse is following (rfc 1808) requires the net_loc component to start with // even if the scheme component is missing, which is why urlparse(www,http

[issue2569] default_scheme in urlparse.urlparse() useless

2008-06-21 Thread Anthony Lenton
Changes by Anthony Lenton [EMAIL PROTECTED]: -- nosy: +facundobatista ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2569 ___ ___ Python-bugs-list

[issue754016] urlparse goes wrong with IP:port without scheme

2008-06-21 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: I agree with facundobatista that the patch is bad, but for a different reason: it now breaks with: import urlparse urlparse.urlparse ('http:') Traceback (most recent call last): File stdin, line 1, in module File /home/anthony/svn

[issue1556] Failure when calling __str__ for MIMEBase(message, rfc822) objects

2008-06-21 Thread Anthony Lenton
Anthony Lenton [EMAIL PROTECTED] added the comment: I don't really think the MIMEBase class is supposed to be used like this, or at all: it behaves more like a Multipart message in that it expects to carry a list of MIMEBase objects as a payload (not a string!) though it doesn't define

[issue1224] SimpleHTTPServer doesn't understand // at beginning of path anymore

2008-02-17 Thread Anthony Lenton
Anthony Lenton added the comment: Attached is an diff against trunk that adds philfr's suggesitions. I've also added a test file for testing url parsing, so's these things stay fixed. Updated Misc/NEWS. No doc or functionallity modified. -- nosy: +elachuni, facundobatista Added file