[issue13563] Make use of with statement in ftplib

2011-12-10 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset 6cd736239b8a by Giampaolo Rodola' in branch 'default':
fix #13563: make use of with statement in ftplib.py where needed
http://hg.python.org/cpython/rev/6cd736239b8a

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13563
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13563] Make use of with statement in ftplib

2011-12-10 Thread Giampaolo Rodola'

Giampaolo Rodola' g.rod...@gmail.com added the comment:

That's why I nosyed you. Thanks. ;)

--
assignee:  - giampaolo.rodola
components: +Library (Lib)
keywords: +easy -patch
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13563
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13563] Make use of with statement in ftplib

2011-12-09 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

The first hunk of the patch doesn't look right: ntransfercmd() is supposed to 
return the connection but the with statement closes it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13563
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13563] Make use of with statement in ftplib

2011-12-08 Thread Giampaolo Rodola'

New submission from Giampaolo Rodola' g.rod...@gmail.com:

Patch in attachment.

--
files: ftplib.patch
keywords: patch
messages: 149074
nosy: giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: Make use of with statement in ftplib
versions: Python 3.3
Added file: http://bugs.python.org/file23889/ftplib.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13563
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com