[issue1541] Bad OOB data management when using asyncore with select.poll()

2007-12-02 Thread billiejoex
New submission from billiejoex: asyncore's module readwrite() function, used when invoking asyncore.loop(use_poll=1), erroneously calls handle_read_event() when receiving OOB (Out Of Band) data. handle_expt_event() should be called instead. The patch in attachment does that. In addit

[issue1519] async_chat.__init__() parameters

2007-11-30 Thread billiejoex
billiejoex added the comment: +1. Another inconsistency are the argument names used in __init__ methods, one called "sock" and the other called "conn": asyncore: def __init__(self, sock=None, map=None): asynchat: def __init__ (self, conn=None):

[issue1736190] asyncore/asynchat patches

2007-11-15 Thread billiejoex
billiejoex added the comment: The current implementation of asynchat.async_chat.initiate_send method doesn't look at what is specified in ac_out_buffer_size attribute which represents the buffer size of the outgoing data defaulting to a maximum of 4096 bytes to send in a single socket

[issue1376] uu module catches a wrong exception type

2007-11-02 Thread billiejoex
New submission from billiejoex: uu module on line 53 erroneously tries to catch an AttributeError exception type. try: mode = os.stat(in_file).st_mode except AttributeError: pass This is not correct since os.stat(), as far as I know

[issue1364] os.lstat documentation error

2007-11-01 Thread billiejoex
billiejoex added the comment: Thanks. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1364> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1364] os.lstat documentation error

2007-11-01 Thread billiejoex
billiejoex added the comment: What about other platforms? I think it should be an alias for all platforms which does not support symbolic links, not only Windows. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1345] Fix for test_netrc on Windows

2007-10-30 Thread billiejoex
Changes by billiejoex: __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1345> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue1364] os.lstat documentation error

2007-10-30 Thread billiejoex
New submission from billiejoex: os module documentation says about lstat(): > lstat( path) > > Like stat(), but do not follow symbolic links. > Availability: Macintosh, Unix. This is not true since os.lstat() is also available under Windows (tested under Win XP sp, Python 2.5

[issue1745035] DoS smtpd vulnerability

2007-10-21 Thread billiejoex
Changes by billiejoex: Added file: http://bugs.python.org/file8587/smtpd.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1745035> _ ___ Python-bugs-

[issue1745035] DoS smtpd vulnerability

2007-10-21 Thread billiejoex
billiejoex added the comment: > What does this do when a line longer than 4096 bytes > is found? Does it report an error to the SMTP client? > That's my only concern. Sorry for replying so late. No, it does not report the error and this is bad. I've searched through RF

[issue1053] bogus attributes reported in asyncore doc

2007-08-28 Thread billiejoex
New submission from billiejoex: http://docs.python.org/lib/module-asyncore.html asyncore documentation erroneously report "ac_in_buffer_size" and "ac_out_buffer_size" attributes which does not exist in asyncore.dispatcher class. They're used in asynchat.async_chat