[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2010-04-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue4142> ___ ___ Python-bugs-list mailing list Unsubsc

[issue3596] Provide a way to disable SSLv2 (or better yet, disable by default)

2010-04-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola status: pending -> open ___ Python tracker <http://bugs.python.org/issue3596> ___ ___ Python-bug

[issue3596] Provide a way to disable SSLv2 (or better yet, disable by default)

2010-04-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- status: open -> pending ___ Python tracker <http://bugs.python.org/issue3596> ___ ___ Python-bugs-list mailing list Unsu

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8483> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I think the problem relies in here: # cheap inheritance, used to pass all other attribute # references to the underlying socket object. def __getattr__(self, attr): return getattr(self.socket, attr) I wonder why this has been add

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Unfortunately, even if forwarding everything to the socket is > questionable, it would probably be a really bad idea to change it, > since there is likely code in the field depending on this behavior. I agree, even if it would break a

[issue8483] asyncore.dispatcher's __getattr__ method produces confusing effects

2010-04-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You're absolutely right. Patch in attachment. -- keywords: +patch Added file: http://bugs.python.org/file17026/asyncore.patch ___ Python tracker <http://bugs.python.

[issue8490] asyncore test suite

2010-04-21 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : The patch in attachment provides actual tests for asyncore.dispatcher class API, including all handle_* callback methods. -- assignee: josiahcarlson files: asyncore.patch keywords: patch, patch messages: 103896 nosy: giampaolo.r

[issue8490] asyncore test suite

2010-04-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > should be 'listens' [...] > should be 'bound' done > I'd prefer to see a 'BaseTestAPI' that has no base class, and two > TestCase subclasses that use BaseTestAPI as a mixin, one for > use_poll=Tr

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Idea: wouldn't it be better to provide a more powerful "accept_mail" method instead of "accept_domain? -- nosy: +giampaolo.rodola ___ Python tracker <http

[issue6768] asyncore file_wrapper leaking file descriptors?

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not sure how to reproduce this issue but I doubt calling close() from __del__ would solve the problem, neither would be a good idea as close() might end up being called more than once, which is not desirable. Try to paste the code you

[issue751758] ftplib.retrbinary fails when called from retrlines callback

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing this out as rejected. -- resolution: -> rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.pytho

[issue8490] asyncore test suite

2010-04-24 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Builbots are all ok except Solaris which makes me think that maybe asyncore is broken on such platform: http://python.org/dev/buildbot/builders/sparc%20solaris10%20gcc%20trunk/builds/728/steps/test/logs/stdio I've tried to adjust the tests a lit

[issue8536] Support new features of ZLIB 1.2.4

2010-04-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Do you intend to provide a patch? -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8536> ___ ___

[issue6916] Remove deprecated items from asynchat

2010-04-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I seem to remember that those classes were initially removed and then re-added by Josiah for backward compatibility (see discussions in issue 1641 and issue 1736190). Despite practically useless after the changes applied to asynchat in Python 2.6,

[issue8543] asynchat documentation issues

2010-04-26 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : I recently took a look at asynchat doc and found out it has some issues which should be addressed. In my opinion the following methods and functions should NOT be mentioned: - async_chat.refill_buffer() this has been removed in Python 2.6 and no l

[issue5565] Strange behavior when I logout() with IMAP4_SSL

2010-04-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue5565> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8106] SSL session management

2010-04-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8106> ___ ___ Python-bugs-list mailing list Unsubsc

[issue6560] socket sendmsg(), recvmsg() methods

2010-04-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue6560> ___ ___ Python-bugs-list mailing list Unsubsc

[issue7865] io close() swallowing exceptions

2010-04-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue7865> ___ ___ Python-bugs-list mailing list Unsubsc

[issue5178] Add context manager for temporary directory

2010-04-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue5178> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8570] 2to3 crashes with "AttributeError: 'int' object has no attribute 'startswith'"

2010-04-29 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8570> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8569] Upgrade OpenSSL in Windows builds

2010-04-29 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8569> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8543] asynchat documentation issues

2010-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: As per discussion with Josiah I'm leaving fifo class alone as it can still be used also with the newer producer_fifo implementation (changed in Python 2.6). The other changes described in my comments above still hold. Committed in r80631 (2.7), r

[issue8573] Buggy _strerror in asyncore

2010-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Good catch. I modified your patch a little bit including a catch for OverflowError exception and a last attempt to look up into errno.errorcode: def _strerror(err): try: return strerror(err) except (ValueError, OverflowError):

[issue1641] asyncore delayed calls feature

2010-04-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Assuming this is still desirable I'd really like to move forward with this issue. The current situation is that we have two patches. My patch pros: * affects asyncore.py only * (imho) cleaner, as it just adds one class * stable,

[issue6822] Error calling .storlines from ftplib

2010-05-01 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Attached is a patch which fixes FTP_TLS class as well and changes the test server a little bit. Shouldn't retrlines() suffer the same issue? -- assignee: -> giampaolo.rodola nosy: +giampaolo.rodola versions: +Python 3.1, Python 3.

[issue8594] Add a "source_address" option to ftplib

2010-05-01 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : Similarly to issue 3972 the patch in attachment adds a new "source_address" option to FTP class to bind to a specific address when connecting to a remote FTP server. It must be noted that this gets done for both control and passive da

[issue1661754] ftplib passive ftp problem on multihomed clients

2010-05-01 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Issue 8594 is related with this one. -- superseder: -> Add a "source_address" option to ftplib ___ Python tracker <http://bugs.py

[issue8598] test/support: don't use localhost as IPv6 host name

2010-05-02 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8598> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8594] Add a "source_address" option to ftplib

2010-05-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > You should not use find_unused_port() I agree find_unused_port() is the wrong approach in general, but in this case I think there's nothing we can do about it. > you never set self.source_address. You're right, I should set it in

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2010-05-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > find_unused_port is the wrong approach altogether. Uses of it should > be replaced by bind_port and then find_unused_port should be removed I agree find_unused_port() is the wrong approach in general, but there are certain cases where thi

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2010-05-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Any time you have any API that you want to test that requires a > pre-allocated port number, you're going to have intermittent failures. > Such APIs are broken and should be fixed where possible and avoided > oth

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2010-05-03 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- ___ Python tracker <http://bugs.python.org/issue8576> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

2010-05-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Any time you have any API that you want to test that requires a > pre-allocated port number, you're going to have intermittent failures. > Such APIs are broken and should be fixed where possible and avoided > oth

[issue8604] Adding an atomic FS write API

2010-05-03 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue8604> ___ ___ Python-bugs-list mailing list Unsubsc

[issue3620] test_smtplib is flaky

2010-05-03 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Adding this: def handle_error(self): raise ...to SimSMTPChannel class would help to provide a clearer error message to understand where exactly EBADF comes from, altough I think this was an old asyncore bug which have already been fixe

[issue8483] asyncore.dispatcher's __getattr__ method produces confusing effects

2010-05-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: As per discussion on #python-dev we think it's better to proceed as follows: for python 2.7 and 3.2: - fix __getattr__ error message - raise a DeprecationWarning if cheap inheritance is used and definitively remove its support in the next maj

[issue8573] Buggy _strerror in asyncore

2010-05-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Yes, I think it's better to remain consistent with the rest of the module which uses %s all around the place, also for backward compatibility in case someone wants to copy asyncore.py shipped with recent python versions and use it in their

[issue8483] asyncore.dispatcher's __getattr__ method produces confusing effects

2010-05-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Fixed in r80875 (2.7), r80876 (3.2), r80878 (2.6) and r80879 (3.1) which also includes changes to fix issue 8573. -- resolution: -> fixed stage: commit review -> committed/rejected status: ope

[issue3620] test_smtplib is flaky

2010-05-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Done in r80882 for ftplib and smtplib modules. -- ___ Python tracker <http://bugs.python.org/issue3620> ___ ___ Pytho

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-05-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker <http://bugs.python.org/issue7735> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8490] asyncore test suite

2010-05-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I have adjusted the failing tests in r80895 and r80930 which now pass on Solaris. It seems Solaris has two problems: - OOB data (aka handle_expt) doesn't work, but I'm not too worried about this as it's very rarely used. In

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

2010-05-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Is this is still desirable? If so I can work on a patch for ftplib which provides a finer error handling in case of disconnection while sending QUIT and updates tests which should be modified to fit in the newer test

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

2010-05-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- ___ Python tracker <http://bugs.python.org/issue4972> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2010-05-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Is this still desirable? If so I can work on a patch for ftplib which provides a finer error handling in case of disconnection while sending QUIT and updates tests which should be modified to fit in the newer test

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

2010-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: A patch including tests and doc changes is in attachment. -- versions: +Python 3.2 -Python 2.7, Python 3.1 Added file: http://bugs.python.org/file17276/ftplib.patch ___ Python tracker <http://bugs.py

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

2010-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Magic methods usually don’t have docstrings, since they implement one > operation that is described in one place (think __len__ vs. len). Agreed, I only left it since it was there in the first place. > What did you add a cmd_noop method

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

2010-05-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Is the string returned by a real FTP server “331 username ok”? (My > point is that I think it would be better to have different strings for > cmd_noop and cmd_user.) Whoops! No that should have been "200 noop ok". I copied cmd

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

2010-05-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : Removed file: http://bugs.python.org/file17276/ftplib.patch ___ Python tracker <http://bugs.python.org/issue4972> ___ ___ Python-bugs-l

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

2010-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: This is now committed as r81041. I've also removed the long description from what's new file, as you were suggesting. The other two patches should be adapted for 3.2. -- ___ Python

[issue8490] asyncore test suite

2010-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Committed in r81043 (trunk) and r81044 (3.2). Thanks for your comments. -- assignee: josiahcarlson -> giampaolo.rodola components: +Tests resolution: -> fixed stage: -> committed/rejected versions: +Python 2

[issue8490] asyncore test suite

2010-05-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue8490> ___ ___ Python-bugs-list mailing list Unsu

[issue7040] test_smtplib fails on os x 10.6

2010-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closed as duplicate of issue7037. -- nosy: +giampaolo.rodola resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python

[issue2982] more tests for pyexpat

2010-05-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not a xml* modules user but I've tried to apply the patch against the trunk and it seems it still works. -- nosy: +effbot, giampaolo.rodola, loewis versions: +Python 2.7, Python 3.1, Python

[issue8684] improvements to sched.py

2010-05-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: What are the enhancements introduced by this patch? A faster cancel() implementation? If so some simple benchmarks showing the speed improvement of cancel() and eventually also other methods like enterabs() and run() would be nice to have. I'

[issue8687] sched.py module doesn't have a test suite

2010-05-11 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : sched.py module is currently lacking a test suite. Possibly this should be resolved before fixing issue 8684. -- components: Tests messages: 105503 nosy: giampaolo.rodola, josiah.carlson, josiahcarlson, pitrou priority: normal severity: n

[issue8684] improvements to sched.py

2010-05-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Created issue 8687 to address the test suite problem. -- superseder: -> sched.py module doesn't have a test suite ___ Python tracker <http://bugs.pyth

[issue8687] sched.py module doesn't have a test suite

2010-05-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Patch in attachment. -- keywords: +patch Added file: http://bugs.python.org/file17296/test_sched.patch ___ Python tracker <http://bugs.python.org/i

[issue1641] asyncore delayed calls feature

2010-05-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Let the user leverage the existing scheduler API. Cut out > scheduled_task and call_later, which just wraps the scheduler API. > The user can simply call scheduled_tasks.enter() or > scheduled_tasks.cancel(). It's one less API

[issue8694] python3 FAQ mentions unicode()

2010-05-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue8694> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8687] sched.py module doesn't have a test suite

2010-05-12 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I agree. Are you recommending to take advantage of this and change the tests in some way? -- ___ Python tracker <http://bugs.python.org/i

[issue1736190] asyncore/asynchat patches

2007-12-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: In attachment I provide a patch for fixing this last mentioned issue. It's a rewriting of initiate_send method which now looks at what is specified by ac_out_buffer_size attribute. Added file: http://bugs.python.org/file8917/initia

[issue1736190] asyncore/asynchat patches

2007-12-10 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file8918/differences.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1736190> _ __

[issue1563] asyncore and asynchat incompatible with Py3k str and bytes

2007-12-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: There's a patch pending which should be included in the 2.6 trunk before solving issues related to py3k and/or applying other changes, imho: http://bugs.python.org/issue1736190 -- nosy: +giampaolo.rodola

[issue1251] ssl module doesn't support non-blocking handshakes

2007-12-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1251> __ ___ Python-bugs-list mailing

[issue953599] asyncore misses socket closes when poll is used

2007-12-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue953599> ___ Python-bugs-list mailing

[issue1469] SSL tests leak memory

2007-12-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1469> __ ___ Python-bugs-list mailing

[issue909005] asyncore fixes and improvements

2007-12-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue909005> ___ Python-bugs-list mailing

[issue1641] asyncore delayed calls feature

2007-12-17 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Hi, I post this message here in the hope someone using asyncore could review this. Since the thing I miss mostly in asyncore is a system for calling a function after a certain amount of time, I spent the last 3 days trying to implement this with the

[issue1641] asyncore delayed calls feature

2007-12-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file8976/patch.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1641> __ ___ Python-

[issue1641] asyncore delayed calls feature

2007-12-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file8977/asyncore.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1641> __ ___ Python-

[issue1664] nntplib is not IPv6-capable

2007-12-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1664> __ ___ Python-bugs-list mailing

[issue1710] Pypi's "score" column is not explained

2007-12-30 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': The meaning of the "score" column shown when a search is done on the pypi database is not clear. Example: http://pypi.python.org/pypi?%3Aaction=search&term=http&submit=search To understand its meaning I had to find this document:

[issue1711] socket functions that should return unsigned int return signed int

2007-12-30 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1711> __ ___ Python-bugs-list mailing

[issue1885] [distutils] - error when processing the "--formats=tar" option

2008-01-21 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Steps to reproduce the problem: 1: Run "python setup.py sdist --formats=gztar,tar". 2. dist directory now contains "module.gztar" and "module.tar" files as expected. 3: Run "python setup.py sdist --formats=tar,gzt

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-01-21 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Currently creating tar, gztar, bztar source distributions using the "--formats=tar,gztar,bztar" distutils option requires external utilities (tar and possibly one of gzip, bzip2, or compress) to be installed on the system since distutils use

[issue1885] [distutils] - error when processing the "--formats=tar" option

2008-01-21 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I provided a patch here: http://bugs.python.org/issue1886 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1885> __ ___

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-01-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Both things fixed. The new patch is in attachment. Just one thing: I tried a diff between a tar.gz file generated by tarfile module and another one generated by the UNIX tar utility and it seems there are some differences. I don't know if

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-01-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > I just did some tests and could not find any major difference. > Which are the differences you found? diff utility doesn't provide any output since the compared files are binary. As far as I can tell the two files have a different size (t

[issue1221598] ftplib storbinary/storlines callback function

2008-01-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Could I propose the following docstring corrections? @@ -313,7 +313,7 @@ expected size may be None if it could not be determined. Optional `rest' argument can be a string that is sent as the -argument to a RESTART comm

[issue1221598] ftplib storbinary/storlines callback function

2008-01-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Another one. On line 542: -# Note that the RFC doesn't say anything about 'SIZE' +# SIZE command is defined in RFC-3659 _ Tracker <[EMAIL PROTECTED]> <http:/

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-22 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1034053> _ ___ Python-bugs-

[issue1745035] DoS smtpd vulnerability

2008-01-23 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I update this bug as GvR requested here: http://groups.google.it/group/python-dev2/browse_thread/thread/33cad7b7c1cdb19f?hl=it The patch in attachment fixes what discussed before. In addition it sets a smaller timeout for asyncore.loop() for permitti

[issue1736190] asyncore/asynchat patches

2008-01-23 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- severity: normal -> urgent type: -> security versions: +Python 2.5 _ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1736190] asyncore/asynchat patches

2008-01-23 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- severity: urgent -> normal type: security -> versions: +Python 2.6 -Python 2.5 _ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1933] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': The current os.path.isabs documentation says: > isabs(path) >Return True if path is an absolute pathname (begins with a slash). The "begins with a slash" part is incorrect since certain systems use a different pathname nota

[issue1938] test_zipfile failure

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Python 2.6.13903.msi, windows XP sp2: == ERROR: testExtract (__main__.TestsWithSourceFile) -- Traceback (most r

[issue1934] os.path.isabs documentation error

2008-01-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > Return ``True`` if *path* is an absolute pathname. On Unix, that > means it begins with a slash, on Windows that it begins with a > backslash after chopping off a potential drive letter. Actually the Windows part is not completely true si

[issue1933] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry but I had problem with my browser and I submitted the report twice: http://bugs.python.org/issue1934 Could someone please close this one? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python

[issue1934] os.path.isabs documentation error

2008-01-25 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': The current os.path.isabs documentation says: > isabs(path) >Return True if path is an absolute pathname (begins with a slash). The "begins with a slash" part is incorrect since certain systems use a different pathname nota

[issue1938] test_zipfile failure

2008-01-26 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You're right, sorry. I'll do that. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1938> __ ___ Python-bugs-lis

[issue1949] test_ntpath.py rewriting

2008-01-27 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': Since I noticed that test_ntpath.py (unlike test_genericpath.py, test_macpath.py and test_posixpath.py) does NOT use unittest for doing tests I tried to rewrite it. The patch in attachment does that leaving the original tests unchanged. Tested success

[issue1949] test_ntpath.py rewriting

2008-01-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file9302/test_ntpath.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1949> __ ___ Python-

[issue1949] test_ntpath.py converted to unittest

2008-01-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- title: test_ntpath.py rewriting -> test_ntpath.py converted to unittest __ Tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue1951] test_wave.py converted to unittest

2008-01-27 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. -- components: Tests files: test_wave.diff messages: 61754 nosy: giampaolo.rodola severity: minor status: open title: test_wave.py converted to unittest type: rfe versions: Python 2.6 Added file: http://bugs.python.org/fil

[issue1951] test_wave.py converted to unittest

2008-01-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Sorry but I realized right now by reading Lib/test/readme.txt that the test scripts are required to have a global "test_main()" function defined hence the "main()" function I defined in my patch should

[issue1952] test_select.py converted to unittest

2008-01-27 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. -- components: Tests files: test_select.diff messages: 61756 nosy: giampaolo.rodola severity: minor status: open title: test_select.py converted to unittest type: rfe versions: Python 2.6 Added file: http://bugs.python.org/fil

[issue1952] test_select.py converted to unittest

2008-01-27 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file9306/test_select.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1952> __ ___ Python-

[issue1952] test_select.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: > 1. it's a shame the tests are skipped for windows or macintosh, but it > was just the same in the original version Yeah... I'm probably not the best person for talking about this low level stuff but since sockets seem to be the most po

<    1   2   3   4   5   6   7   8   9   10   >