Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8728
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6715
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8651
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8650
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100562
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
___
Python-bugs-list mailing
Ryan Coyner rcoy...@gmail.com added the comment:
This patch and its tests still work. Any particular reason why it hasn't been
adopted yet?
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3243
Ryan Coyner rcoy...@gmail.com 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__.values
Ryan Coyner rcoy...@gmail.com 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 test; filename*1=bar'
And here is the result with the patch applied:
m
Ryan Coyner rcoy...@gmail.com 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
Ryan Coyner rcoy...@gmail.com 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/file16392
11 matches
Mail list logo