[issue8594] Add a source_address option to ftplib

2011-02-26 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Patch in attachment set source_address attribute and updates doc. It still keeps using support.find_unused_port() which is also used in test_socket.py though [1], so it shouldn't cause problems. http://svn.python.org/view/python/trunk/Lib

[issue11348] test_os: test_set_get_priority() fails when high niceness is set

2011-02-27 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Of course the test fails: a process can't have a nice value higher than a certain limit, which I think can vary depending on the UNIX variant in use. The fix is not to use nice -n20

[issue8594] Add a source_address option to ftplib

2011-02-28 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Committed in r88679. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8594

[issue11348] test_os: test_set_get_priority() fails when high niceness is set

2011-02-28 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Committed in r88680. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11348

[issue8594] Add a source_address option to ftplib

2011-02-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8594

[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 __ Tracker

[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 list Unsubscribe: http

[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 list Unsubscribe

[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 list Unsubscribe: http

[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 list Unsubscribe

[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 hopes

[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-bugs-list mailing list

[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 list Unsubscribe: http

[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=searchterm=httpsubmit=search To understand its meaning I had to find this document: http://pycheesecake.org

[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,gztar. 4. dist directory now contains only

[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 uses them

[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 __ ___ Python-bugs-list

[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 this could

[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 (tarfile generates

[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 command

[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://bugs.python.org/issue1221598

[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-list mailing list Unsubscribe

[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 permitting

[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.python.org/issue1736190

[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.python.org/issue1736190

[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 notation. For example

[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 recent

[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 since on Windows

[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.org/issue1933

[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 notation. For example

[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-list mailing list Unsubscribe

[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 successfully

[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-bugs-list mailing

[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.python.org/issue1949

[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/file9304

[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 be renamed in test_main

[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/file9305

[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-bugs-list mailing

[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 portable thing accepted

[issue1951] test_wave.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Glad to help. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1951 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1959] test_contains.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file9314/test_contains.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1959 __ ___ Python-bugs-list mailing

[issue1959] test_contains.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. All existent tests are unchanged. -- components: Tests files: test_contains.diff messages: 61803 nosy: giampaolo.rodola severity: normal status: open title: test_contains.py converted to unittest type: rfe versions: Python 2.6 Added

[issue1960] test_gdbm.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. All existent tests are unchanged. -- components: Tests files: test_gdbm.diff messages: 61806 nosy: giampaolo.rodola severity: normal status: open title: test_gdbm.py converted to unittest type: rfe versions: Python 2.6 Added file

[issue1960] test_gdbm.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file9316/test_gdbm.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1960 __ ___ Python-bugs-list mailing list

[issue1960] test_gdbm.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Have a look at http://code.google.com/p/google-highly-open-participation-psf/issues/detail?id=290 where a GHOP student did a conversion as well. Interesting, didn't know about that. In future I'll check that site before start working on a new patch

[issue1960] test_gdbm.py converted to unittest

2008-01-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Well, if you have an opinion, feel free to leave a comment in this issue about it. I will most likely be the one who does the checkin and I will read this issue before I commit. * One of the things I dislike is the fact that the student used self.g

[issue1960] test_gdbm.py converted to unittest

2008-01-29 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Updated version in attachment. Changes: - Added if self.g is not None: self.g.close() clause in tearDown. - Used test.test_support.unlink(filename) instead of the try/except statement. - Added tests for the flag clause in the open() statement by trying all

[issue1960] test_gdbm.py converted to unittest

2008-01-29 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': Added file: http://bugs.python.org/file9323/test_gdbm.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1960 __ ___ Python-bugs-list mailing list

[issue2001] Pydoc interactive browsing enhancement

2008-02-03 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2001 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1657] [patch] epoll and kqueue wrappers for the select module

2008-02-04 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1657 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue2006] asyncore loop lacks timers and work tasks

2008-02-04 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not sure to understand what do you mean by work tasks. Do you need them to have ssl module work with asyncore? I've been reading asyncore lately, and feel that it's showing its age. Absolutely. I'd have some ideas about some asyncore/chat enhancements

[issue1951] test_wave.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You're right. It seems that TortoiseSVN generated diff files are different than using the original svn cmd line tool (probably I'm using TortoiseSVN in the wrong way). I'll update the other patches. __ Tracker [EMAIL PROTECTED

[issue1960] test_gdbm.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The diff file in attachment was generated by using TortoiseSVN and it seems to be different than using svn diff. The new diff file is in attachment. Added file: http://bugs.python.org/file9363/test_gdbm.diff __ Tracker [EMAIL

[issue1959] test_contains.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The diff file in attachment was generated by using TortoiseSVN and it seems to be different than using svn diff. The new diff file is in attachment. Added file: http://bugs.python.org/file9364/test_contains.diff __ Tracker

[issue1952] test_select.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: In attachment is the patch including the sys.platform change discussed above. Added file: http://bugs.python.org/file9365/test_select.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1952

[issue1949] test_ntpath.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The diff file in attachment was generated by using TortoiseSVN and it seems to be different than using svn diff. The new diff file is in attachment. Added file: http://bugs.python.org/file9366/test_ntpath.diff __ Tracker

[issue2022] test_al converted to unittest

2008-02-06 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. -- files: test_al.diff messages: 62119 nosy: giampaolo.rodola severity: normal status: open title: test_al converted to unittest Added file: http://bugs.python.org/file9367/test_al.diff __ Tracker

[issue2022] test_al converted to unittest

2008-02-06 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- components: +Tests type: - rfe versions: +Python 2.6, Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2022 __ ___ Python

[issue2023] test_cd converted to unittest

2008-02-06 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. All existent tests are unchanged. -- components: Tests files: test_cd.diff messages: 62121 nosy: facundobatista, giampaolo.rodola severity: normal status: open title: test_cd converted to unittest type: rfe versions: Python 2.6

[issue2024] test_gl.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. All existing tests are unchanged. -- components: Tests files: test_gl.diff messages: 62124 nosy: facundobatista, giampaolo.rodola severity: normal status: open title: test_gl.py converted to unittest type: rfe versions: Python 2.6

[issue2006] asyncore loop lacks timers and work tasks

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I still don't get it. Maybe you're talking about something like call a function at the next select() loop which in Twisted is equal to: reactor.callLater(0, something) By using my patched asyncore you can do the same with: self.call_later(0, something

[issue2026] test_largefile.py converted to unittest

2008-02-06 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. The original tests are unchanged. Tested under Windows XP and Linux Ubuntu 7.04. -- components: Tests files: test_largefile.diff messages: 62128 nosy: facundobatista, giampaolo.rodola severity: normal status: open title

[issue2006] asyncore loop lacks timers and work tasks

2008-02-06 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Yes, that's it exactly. So things without input FDs can make progress. But timers are the important thing. With timers you can always implement work tasks by yourself. I have the feeling that you're talking about the same thing. self.call_later(0

[issue2044] test_sunaudiodev.py converted to unittest

2008-02-07 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. I didn't try it since I don't have a SunOS system but it should be ok (it's very minimalistic). As far as I can tell it should work also for Python 3.0. -- components: Tests files: test_sunaudiodev.diff messages: 62182 nosy

[issue2042] test_audioop.py converted to unittest

2008-02-07 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. Original tests are unchanged. -- components: Tests files: test_audioop.diff messages: 62176 nosy: facundobatista, giampaolo.rodola severity: normal status: open title: test_audioop.py converted to unittest type: rfe versions: Python

[issue2043] test_cl.py converted to unittest

2008-02-07 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. -- components: Tests files: test_cl.diff messages: 62178 nosy: facundobatista, giampaolo.rodola severity: normal status: open title: test_cl.py converted to unittest versions: Python 2.6 Added file: http://bugs.python.org/file9385

[issue1037516] ftplib PASV error bug

2008-02-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: If ftplib gets an error while doing the PASV section of the ntransfercmd it dies. Which kind of error? What do you mean by dies? If the server returns an error response while ftplib is attempting to open a passive data channel it is expected

[issue2055] test_fcntl.py converted to unittest

2008-02-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': In attachment. All existing tests are unchanged. -- components: Tests files: test_fcntl.diff messages: 62225 nosy: facundobatista, giampaolo.rodola, tiran severity: normal status: open title: test_fcntl.py converted to unittest type: rfe versions

[issue1745035] DoS smtpd vulnerability

2008-02-11 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- versions: +Python 2.6, Python 3.0 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1745035 _ ___ Python-bugs-list mailing list

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-02-13 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: ac_out_buffer_size value is already used when sending data. Look at initiate_send method: def initiate_send (self): obs = self.ac_out_buffer_size ... if self.ac_out_buffer and self.connected: try

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-02-13 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: The value is used there, but this is not effective in causing larger packets to be sent, which I noticed by watching with strace. I think the reason for this is that 'refill_buffer' will only make at most one call to simple_producer.more, and that call

[issue1370380] async_chat.push() can trigger handle_error(). undocumented.

2008-02-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: If this won't going to be fixed/modified I suggest to close this report since it's frozen from year 2005. -- nosy: +giampaolo.rodola _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1370380

[issue2006] asyncore loop lacks timers and work tasks

2008-02-14 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Since this seems to be a duplicate of #1641 I propose to close this issue. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2006 __ ___ Python

[issue2143] smtplib.SSLFakeFile hangs forever if \n is not encountered

2008-02-19 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola': By looking through the smtplib module code I think I've found a potential issue in the SSLFakeFile class code since there's a while loop which is supposed to be stopped only when the \n character is encountered: def readline(self): str

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-02-20 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I've tried to work on this in the last 2 days and here is my implementation attempt. The patch in attachment provides a new FTP subclass which connects to port 21 as usual leaving control and data channels implicitly unprotected. Securing control and data

[issue1736190] asyncore/asynchat patches

2008-03-02 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I've discussed a lot with Josiah via e-mail and this is the updated version of the patch including a fix for the two issues raised before. This update has been needed also because the original patch has been out-dated by some commits after r53734 involving

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: As discussed on python-dev patch #1736190 should be committed before doing anything against asyncore or asynchat. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2073

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: This is a straightforward implementation of client-side use of SSL, but it's missing a test case for evaluation. It should include a patch to test_ftplib to test it. I'm not sure how it could be tested, since we don't have an FTPS

[issue2054] add ftp-tls support to ftplib - RFC 4217

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: As you point out, the other classes should be fixed. The old client-side protocol was never very well thought out, IMHO. Continuing to propagate it would be a mistake. Ok, how do you think it would have be modified? Could you provide

[issue1053369] ftplib: add support for MDTM command

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: IMHO aside from the plus of providing a workaround for a broken FTP server response I don't think this is really necessary since the same thing can be done by just using sendcmd('mdtm filename'). -- nosy: +giampaolo.rodola

[issue1248] ftplib needs a rewrite to use bytes/buffers

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1248 __ ___ Python-bugs-list mailing list

[issue1641] asyncore delayed calls feature

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Sean, I already tried to raise two discussion attempts on both lists here: http://groups.google.com/group/python-dev2/browse_thread/thread/ecbf4d38a868d4f/ec5c7dbd40664b7f?lnk=gstq=asyncore+giampaolo ...and here: http://groups.google.com

[issue1576598] ftplib doesn't follow standard

2008-03-19 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: I think the problem you described is up to the FTP server implementation which does not have unicode support. The telnet protocol is used in FTP only when dealing with ABOR and STAT commands. It has nothing to do with pathnames

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

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola Tracker [EMAIL PROTECTED] http://bugs.python.org/issue751758 ___ Python-bugs-list mailing

[issue777588] asyncore is broken for windows if connection is refused

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola Tracker [EMAIL PROTECTED] http://bugs.python.org/issue777588 ___ Python-bugs-list mailing

[issue1025525] asyncore.file_dispatcher should not take fd as argument

2008-03-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1025525 _ ___ Python-bugs-list mailing

[issue1736190] asyncore/asynchat patches

2008-03-24 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Are there news about this issue? -- nosy: +gvanrossum _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1736190

[issue2026] test_largefile.py converted to unittest

2008-03-25 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: Uh! This report is still open. Facundo could you close it? :) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2026

[issue1518] Fast globals/builtins access (patch)

2008-03-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' [EMAIL PROTECTED]: -- nosy: +giampaolo.rodola __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1518 __ ___ Python-bugs-list mailing list

[issue8694] python3 FAQ mentions unicode()

2010-05-12 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8694 ___ ___ Python-bugs

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

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

[issue8739] Update to smtpd.py to RFC 5321

2010-05-17 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Some comments: -# This file implements the minimal SMTP protocol as defined in RFC 821. It +# This file implements the minimal SMTP protocol as defined in RFC 5321. It Is RFC 5321 completely implemented? Otherwise I would turn

[issue8728] 2.7 regression in httplib.py: AttributeError: 'NoneType' object has no attribute 'makefile'

2010-05-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8728 ___ ___ Python-bugs

[issue8573] Buggy _strerror in asyncore

2010-05-18 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: It slipped under my radar as well. Thanks. Fixed in r81294 (trunk), r81298 (2.6), r81299 (3.2) and r81300 (3.1) which also add tests and include NameError in the list of possible exceptions in case os.strerror() is not supported

[issue8573] Buggy _strerror in asyncore

2010-05-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8573

[issue1053369] ftplib: add support for MDTM command

2010-05-19 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Closing this out for lack of further activity. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1053369

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-05-19 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Could you provide an actual example code which reproduces this problem? It's not clear to me how the dispatcher instance can end up in an invalid state since handle_error() should automatically remove the invalid dispatcher instance from

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-05-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6589 ___ ___ Python-bugs-list mailing list

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2010-05-19 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Could you provide an actual example code which reproduces this problem? It's not clear to me how the dispatcher instance can end up in an invalid state since handle_error() should automatically remove the invalid dispatcher instance from

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

2010-05-19 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- assignee: - giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8687

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