Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue8728>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ryan Coyner added the comment:
Patch attached. Unit test and documentation included.
COMMITMSG:
Adds a new fixer to lib2to3 which replaces the deprecated builtin "file" with
"open".
--
keywords: +patch
nosy: +rcoyner
Added file: http://bugs.python.org/file1
Ryan Coyner added the comment:
You don't want to do c_size_t = c_void_p because that will prevent type
checking. We want c_size_t to be integers; setting it to c_void_p will accept
other values. The lines that define c_size_t are doing a sizeof check to
determine how many bits th
Ryan Coyner added the comment:
Okay, bug confirmed:
>>> m = email.message_from_string('Content-Disposition: inline; filename*0="foo
>>> \\"test"; filename*1="\\"bar"')
>>> m.get_filename()
'foo "tes
Ryan Coyner added the comment:
I thought the whole point was that file[1] was removed in 3.0[2]? Or, are you
saying that if somebody overloaded file with def file(...)? If that is the case
would it be reasonable to check like this?
>>> file in list(__builtins__.__dict__.value
Ryan Coyner added the comment:
This patch and its tests still work. Any particular reason why it hasn't been
adopted yet?
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/i
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue1100562>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue8713>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue8651>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue8650>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue6715>
___
___
Python-bugs-list mailing list
Unsubscribe:
11 matches
Mail list logo