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
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):
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
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
billiejoex added the comment:
Thanks.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1364>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python
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/
Changes by billiejoex:
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1345>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/op
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
Changes by billiejoex:
Added file: http://bugs.python.org/file8587/smtpd.diff
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1745035>
_
___
Python-bugs-
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
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
11 matches
Mail list logo