Change by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<https://bugs.python.org/issue37095>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ugra Dániel added the comment:
Currently, the closest functionality I can think of (using standard library
functions only):
@functools.partial(lambda func: functools.wraps(func)(lambda *args, **keywords:
list(func(*args, **keywords
Or without proper wrapping:
@functools.partial(lambda
New submission from Ugra Dániel :
In some cases it would be really helpful to have a decorator which
automagically casts returned value to a different type.
Particularly, instead of writing something like this:
def example():
result = []
for ...:
result.append(item
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue18199>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ugra Dániel:
The new pathlib.Path [read|write]_[binary|text] methods will be very useful,
one thing I miss badly is the newline argument for write_text.
In some cases text files need a specific line ending (independent from the
platform the code is being executed on.) In
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue22570>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue14910>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ugra Dániel:
With version 3.3 (64 bit on Arch Linux) Python now hangs when closing FTP
connection on some sites:
url = "ftp://ftp.fu-berlin.de/pub/misc/movies/database/ratings.list.gz";
with urllib.request.urlopen( url ):
pass
--
components: Li
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue3244>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue5178>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ugra Dániel :
--
nosy: +daniel.ugra
___
Python tracker
<http://bugs.python.org/issue1666318>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ugra Dániel added the comment:
Sorry, I've forgotten to post a reference to the new bug: #12576
--
___
Python tracker
<http://bugs.python.org/issue12133>
___
___
New submission from Ugra Dániel :
Issue #12133 introduced a patch which seems to cause problems.
I'm using Python 3.2.1 on 64-bit Arch Linux (this version already incorporates
the changes from #12133).
The following code:
with urllib.request.urlopen(url) as page:
pass
raises "
Ugra Dániel added the comment:
This patch has introduced some problems for me with Python 3.2.1 (64-bit Arch
Linux).
The following code:
with urllib.request.urlopen(url) as page:
pass
raises "ValueError: I/O operation on closed file." exception when url is
"http
New submission from Ugra Dániel :
Opening a file with tempfile.TemporaryFile using "wt+" mode, then
reading content back, will cause reading to stop (without any exception)
when encountering byte '0x1a' (aka. Ctrl+Z) on Windows even tough UTF-16
encoding is used. When usin
15 matches
Mail list logo