Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4024
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
@benjamin.peterson: The second version of my patch works correctly
with the bootstraping.
I also think we should consider hard adding more modules
that are loaded at startup time to py3k already huge list.
linecache is not
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I see that setup.py uses warnings and so linecache is loaded by
setup.py.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4016
STINNER Victor victor.stin...@haypocalc.com added the comment:
Guido Beyond 3.0, I'm still rather reluctant
Ok ok, let's close this bad idea.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
This bug was a duplicate of #4626 which was fixed by r70113 ;-)
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4282
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4282
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, benjamin noticed that it doesn't work with Windows end of line
(\r\n). New patch reads the file encoding instead of reading file
content as bytes.
--
keywords: +patch
Added file:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oops, i misread this issue (wrong title!). #4626 is related, but this
issue is about the profile module. The problem is that profile open
the source code as text (with the default charset: UTF-8).
Attached patch fixes the problem.
New submission from STINNER Victor victor.stin...@haypocalc.com:
In What’s New In Python 3.0 document, I can read Removed
execfile(). Instead of execfile(fn) use exec(open(fn).read()). The
new syntax has two problems:
- if the file is not encoding in UTF-8, we get an unicode error. Eg.
see
STINNER Victor victor.stin...@haypocalc.com added the comment:
This regression was introduced by the removal of execfile() in
Python3. The proposed replacement of execfile() is wrong. I propose a
generic fix in the issue #5524.
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
This problem is not new. exec() in Python 2.x doesn't accept \r\n
newlines.
See also related(?) issue: #5524
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
Rudd-O rud...@rudd-o.com added the comment:
patch does what others did, plus this time it lets the specfile
autodiscover the python abi so the name is correct regardless of against
whichever python interpreter the package is built.
--
Added file:
Rudd-O rud...@rudd-o.com added the comment:
about python trunk...
gimme some time to port them incrementally to all popular stable pythons
first, then to trunk. will be glad to do this.
Now, by trunk, do you mean python 3.x?
--
___
Python tracker
Rudd-O rud...@rudd-o.com added the comment:
about python trunk...
gimme some time to port them incrementally to all popular stable pythons
first, then to trunk. will be glad to do this.
Now, by trunk, do you mean python 3.x?
--
___
Python tracker
New submission from Luca clementi luca.cleme...@gmail.com:
I'm running Python 2.5.2 under Ubuntu 8.10.
In the file email/generator.py from the core library at line 228 in the
function _handle_multipart()
# delimiter transport-padding CRLF
print self._fp, '\n--' +
New submission from Evan Greensmith evan.greensm...@gmail.com:
In python 3.0 and 3.1, attempting to access a local variable from within
a list comprehension in a string passed to eval() causes a NameError.
Doesn't seem to be a problem in python 2.6
I have attempted to run the attached test
Martin v. Löwis mar...@v.loewis.de added the comment:
-1. There is a much simpler solution to the problem: use exec(open(fn,
rb).read())
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5524
201 - 217 of 217 matches
Mail list logo