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
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
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
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
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
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1251
__
___
Python-bugs-list mailing list
Unsubscribe:
http
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue953599
___
Python-bugs-list mailing list
Unsubscribe
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1469
__
___
Python-bugs-list mailing list
Unsubscribe:
http
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue909005
___
Python-bugs-list mailing list
Unsubscribe
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
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
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1664
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
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
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
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
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
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
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
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
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1034053
_
___
Python-bugs-list mailing list
Unsubscribe
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
Changes by Giampaolo Rodola':
--
severity: normal - urgent
type: - security
versions: +Python 2.5
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736190
Changes by Giampaolo Rodola':
--
severity: urgent - normal
type: security -
versions: +Python 2.6 -Python 2.5
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736190
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
New submission from Giampaolo Rodola':
Python 2.6.13903.msi, windows XP sp2:
==
ERROR: testExtract (__main__.TestsWithSourceFile)
--
Traceback (most recent
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
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
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
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
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
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
Changes by Giampaolo Rodola':
--
title: test_ntpath.py rewriting - test_ntpath.py converted to unittest
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1949
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2001
__
___
Python-bugs-list mailing list
Unsubscribe:
http
Changes by Giampaolo Rodola':
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1657
__
___
Python-bugs-list mailing list
Unsubscribe:
http
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
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
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
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
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
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
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
Changes by Giampaolo Rodola':
--
components: +Tests
type: - rfe
versions: +Python 2.6, Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2022
__
___
Python
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
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
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
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
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
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
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
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
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
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
Changes by Giampaolo Rodola':
--
versions: +Python 2.6, Python 3.0
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1745035
_
___
Python-bugs-list mailing list
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
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
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
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
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
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
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
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
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
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
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
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1248
__
___
Python-bugs-list mailing list
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
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
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue751758
___
Python-bugs-list mailing
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue777588
___
Python-bugs-list mailing
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1025525
_
___
Python-bugs-list mailing
Giampaolo Rodola' [EMAIL PROTECTED] added the comment:
Are there news about this issue?
--
nosy: +gvanrossum
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736190
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
Changes by Giampaolo Rodola' [EMAIL PROTECTED]:
--
nosy: +giampaolo.rodola
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1518
__
___
Python-bugs-list mailing list
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8694
___
___
Python-bugs
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
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8728
___
___
Python-bugs
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8573
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
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6589
___
___
Python-bugs-list mailing list
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
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
assignee: - giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8687
101 - 200 of 1713 matches
Mail list logo