Antoine Pitrou pit...@free.fr added the comment:
Committed in r77461 (trunk), r77462 (py3k). Thank you very much!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7622
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7607
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +alexandre.vassalotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7494
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - jnoller
nosy: +jnoller
priority: - normal
stage: - needs patch
type: crash - behavior
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7688
lekma lekma...@gmail.com added the comment:
lekma, do you have a real name that we should add to the ACKS file?
no, lekma is fine (that's a nick I carry since childhood)
Looking at it again, there's the question of accept() behaviour. [...]
Sorry for not having seen that earlier and thanks
Ned Deily n...@acm.org added the comment:
@Sridhar: that's the part that's not fixed yet. We'll have a patch for that
shortly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7658
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
Ned and Sridhar: IMO we need a configure test to detect which argument should
be used to extract ppc code (ppc or ppc7400).
--
___
Python tracker rep...@bugs.python.org
New submission from Craig Citro craigci...@gmail.com:
Currently, it's impossible to use the usual pickle mechanisms to pickle a
dynamically created class, even if the user requests a different pickling
mechanism via copy_reg. The attached patch makes this customization possible by
simply
Florent Xicluna la...@yahoo.fr added the comment:
It triggers some Windows buildbot failures.
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%20trunk/builds/2837
--
___
Python tracker rep...@bugs.python.org
Skip Montanaro s...@pobox.com added the comment:
You can fix it if you are dumping to a file, however if you are calling dumps()
you are kind of screwed if dumping large objects. There's no place to flush
the buffer.
I have a fix to Unladen Swallow's cPickle module. I'm run it by them
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5516
___
___
Antoine Pitrou pit...@free.fr added the comment:
Do we need an intermediate buffer at all when called from dumps()? How about
allocating the buffer as a PyStringObject, so that it can be used directly for
the result in that case?
(IIRC there's a handy _PyString_Resize function)
--
Nick Coghlan ncogh...@gmail.com added the comment:
Building a collection of issues I want to take a look at for 2.7
--
assignee: - ncoghlan
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5178
New submission from Francesco Ricciardi francesco.riccia...@hp.com:
At the end of section 2.9.1 of the Library Reference, i.e. the introduction to
the importlib module manual page, there is the See Also box that often we can
find in the manual pages. The last PEP of the box has the title
Antoine Pitrou pit...@free.fr added the comment:
I've merged the first patch. The other one is a bit more controversial because
it modifies a file from the original libffi. Besides, configure is
auto-generated so you should modify configure.ac instead.
--
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file15816/issue7661_ctypes_path.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7661
___
Mark Dickinson dicki...@gmail.com added the comment:
I've not had any success tracking the cause of this failure down, and no longer
have the resources to do so. It does appear that curses itself is broken on
FreeBSD: it's not just a problem with the tests.
Adding Andrew Kuchling to the
Mark Dickinson dicki...@gmail.com added the comment:
I wonder whether issue 7384 (test_curses crash on FreeBSD) is related to this.
There does seem to be some sort of readline interaction going on in that issue.
--
nosy: +mark.dickinson
___
Python
Skip Montanaro s...@pobox.com added the comment:
Perhaps. Let's take it one step at a time though. If I change your
large pickle example to use dumps() instead of dump() in an unsullied
Python2.5 I get a MemoryError. In general, I think you have to be
careful using dumps(). Any attempt to
Skip Montanaro s...@pobox.com added the comment:
Oh, BTW, the proposed fix is in Rietveld: http://codereview.appspot.com/189051
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5683
___
Changes by Skip Montanaro s...@pobox.com:
--
nosy: +skip.montanaro
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7686
___
___
Python-bugs-list
New submission from Florent Xicluna la...@yahoo.fr:
The series of failures 2808-2838 in buildbot x86 XP-4 is due to a file which
was not removed after test 2807 was aborted.
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%20trunk/builds/2807
--
components: Tests
keywords:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Another problem with my patch! If initsite() calls PyGILState_Ensure():
assert(autoInterpreterState) fails because autoInterpreterState is NULL.
_PyGILState_Init() have to be called before initsite(). I don't know where it
should
STINNER Victor victor.stin...@haypocalc.com added the comment:
If initsite() calls PyGILState_Ensure() (...)
Note: I was using gdb to track a bug on a debug build (--with-pydebug). I used
pyo macro which calls _PyObject_Dump(), and _PyObject_Dump() calls
PyGILState_Ensure() = assertion
New submission from Bugger buffer.100.webmas...@spamgourmet.com:
Hi,
small preprocessor warning.
Pointless comparision of unsigned integer with zero. Check PyMem_NEW.
Can an usigned int be smaller than 0? comparision is pointless here.
Bye, Bugger
--
components: None
messages:
New submission from Peter Bienstman peter.bienst...@ugent.be:
import tarfile
fname = unichr(40960) + ua.ogg
f = file(fname, w)
f.write(A)
f.close()
tar_pipe = tarfile.open(test.tar, mode=w|,
format=tarfile.PAX_FORMAT)
tar_pipe.add(fname)
tar_pipe.close()
tar_pipe =
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the report.
This was already fixed for the trunk in r76740 (and merged to py3k in r76741);
it doesn't particularly seem worth backporting the fix to the maintenance
branches, since there's no real bug here.
--
nosy:
Stefan Krah stefan-use...@bytereef.org added the comment:
As a first step in unifying test_decimal.py and test_cdecimal.py I
would like to patch test_decimal.py in trunk and py3k. This is to
minimize differences between py3k and py3k-cdecimal.
(1) Remove test that Decimal(x) generates a copy.
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file15855/trunk_help_unify.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7652
___
Changes by Brian Curtin cur...@acm.org:
Removed file: http://bugs.python.org/file15852/issue2846.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2846
___
Brian Curtin cur...@acm.org added the comment:
Thanks for taking a look! Patch updated with that try/except removed.
--
Added file: http://bugs.python.org/file15856/issue2846.diff
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Thank you Brian. I've committed the patch into trunk and py3k. I haven't
backported it to 2.6 and 3.1, since it's more a new feature than a bug fix.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
Given your diagnosis so far, +1 on the skip.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7384
___
Antoine Pitrou pit...@free.fr added the comment:
Committed in trunk (r77475) and py3k (r77476).
Thank you.
--
nosy: +pitrou
resolution: - fixed
status: open - closed
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
Setting up specific environments for each Python version is outside the scope
of Python.
This is something the user needs to handle using a virtualenv setup, an
env-setup shell script or similar approach.
--
nosy: +lemburg
Changes by R. David Murray rdmur...@bitdance.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1571841
___
___
New submission from Tres Seaver tsea...@agendaless.com:
2.7 has a new DeprecationWarning inside the build_ext command for code
which sets the 'compiler' to anything other than a string or None.
Because the warning occurs within property getter / setters, it needs
to boost the stacklevel for the
R. David Murray rdmur...@bitdance.com added the comment:
I disagree with the closing of this bug on the following grounds: currently,
and for the foreseeable future, there will be two python commands on many
systems, 'python' and 'python3'. This is unlike the superficially similar
situation
Marc-Andre Lemburg m...@egenix.com added the comment:
R. David Murray wrote:
R. David Murray rdmur...@bitdance.com added the comment:
I disagree with the closing of this bug on the following grounds: currently,
and for the foreseeable future, there will be two python commands on many
R. David Murray rdmur...@bitdance.com added the comment:
Yes, it does:
rdmur...@maestro:~/python/py3kls -l ../ptest/p3/bin total 7328
-rwxr-xr-x 1 rdmurray rdmurray 131 Dec 20 12:22 2to3
-rwxr-xr-x 1 rdmurray rdmurray 119 Dec 20 12:22 idle3
-rwxr-xr-x 1 rdmurray rdmurray 104 Dec 20
Ralf Schmitt sch...@gmail.com added the comment:
Marc-Andre Lemburg m...@egenix.com added the comment:
You can easily have python3 implemented as shell script setting up
PYTHONPATH to whatever your particular Python installation uses.
yes, and you need to write a python shell script, which
Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6769
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
R. David Murray wrote:
R. David Murray rdmur...@bitdance.com added the comment:
Yes, it does:
rdmur...@maestro:~/python/py3kls -l ../ptest/p3/bin total 7328
-rwxr-xr-x 1 rdmurray rdmurray 131 Dec 20 12:22 2to3
-rwxr-xr-x 1
Changes by Brett Cannon br...@python.org:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6837
___
___
Changes by Brett Cannon br...@python.org:
--
assignee: georg.brandl - brett.cannon
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7690
___
Marc-Andre Lemburg m...@egenix.com added the comment:
I created two scripts for exporting the IronPython findings and checking them
in CPython.
These are the results:
Checking code Page 28591 against encoding 'iso-8859-1' using file
'iso-8859-1.map'
0 errors
Checking code Page 28592
Changes by Marc-Andre Lemburg m...@egenix.com:
Added file: http://bugs.python.org/file15858/export-encodings.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
Changes by Marc-Andre Lemburg m...@egenix.com:
Added file: http://bugs.python.org/file15859/check-encodings.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6058
___
Marc-Andre Lemburg m...@egenix.com added the comment:
What we could do is add new codecs based on the .NET tables for cp65000 et al.
However, before doing this, I'd like to know where these code page settings can
occur and what exact names are used for them. If they only appear in .NET and
Brett Cannon br...@python.org added the comment:
Fixed in r77479 for py3k and r77480 for 3.1. Thanks, Francesco!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7690
Dave Malcolm dmalc...@redhat.com added the comment:
I'm attaching a new version of the patch, based on Oliver's (from 3 years ago).
This patch is against the py3k branch.
I've introduced a new table of (const) strings: _PyParser_TokenDescs, giving
descriptions of each token type, so that you
Florent Xicluna la...@yahoo.fr added the comment:
Still occurs, on 2010-01-13.
http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20trunk/builds/264
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3892
New submission from Conor Hughes con...@berkeley.edu:
Module termios is missing some constants useful for handling control characters
under Mac OS X (and Solaris, and probably BSD but I don't have a pure BSD
system to test against).
In particular, these systems support a control character
Dave Malcolm dmalc...@redhat.com added the comment:
Re: msg #77350:
I propose to simply filter out init[_a-z]+ from the set of bad
symbols.
I'm attaching a patch (to trunk) to Makefile.pre.in which filters out such
symbols.
Relevant part of output of make smelly on my svn build with this
Changes by Florent Xicluna la...@yahoo.fr:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7385
___
___
Python-bugs-list mailing list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Library (Lib) -Extension Modules
nosy: +ezio.melotti
priority: - normal
stage: - test needed
type: crash - behavior
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
New submission from Florent Xicluna la...@yahoo.fr:
Various notes while reading the Memoryview documentation:
- “memoryviews allow Python code to access the internal data of an object that
supports the buffer protocol without copying. Memory can be interpreted as
simple bytes or complex data
Changes by Lars Gustäbel l...@gustaebel.de:
--
assignee: - lars.gustaebel
nosy: +lars.gustaebel
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7693
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file15862/sre_py_decref.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3299
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Added file: http://bugs.python.org/file15863/thread_py_decref.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3299
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is still open, it's still possible to crash Python in debug mode. I
updated patches for the _sre and thread modules.
--
___
Python tracker rep...@bugs.python.org
New submission from Florent Xicluna la...@yahoo.fr:
When the current working directory is not decodable, the os.getcwd() function
should raise an error.
sys.getfilesystemencoding()
'utf-8'
cwd=b'/tmp/\xe7'
os.mkdir(cwd); os.chdir(cwd)
os.getcwdb()
b'/tmp/\xe7'
os.getcwd() # Should raise
Mark Dickinson dicki...@gmail.com added the comment:
Just so I don't forget, there are a couple more places in the dtoa.c that look
suspicious and need to be checked; I haven't tried to generate failures for
them yet. Since we're up to bug 5, I'll number these 6 and 7:
(6) at the end of
Florent Xicluna la...@yahoo.fr added the comment:
Actually, it is the documented behaviour.
http://docs.python.org/py3k/library/os.html#file-names-command-line-arguments-and-environment-variables
b'\xe7'.decode('utf-8', 'surrogateescape')
'\udce7'
--
resolution: - invalid
stage: -
Philip Jenvey pjen...@underboss.org added the comment:
Right, this is an intentional change in behavior in Python 3.1, non-decodable
characters are now decoded to utf8b (via the surrogateescape error handler).
The unicode string returned from getcwd furthermore can be passsed around to
other
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7267
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7300
___
___
Python-bugs-list
New submission from Jean-Paul Calderone exar...@divmod.com:
pystack tries to detect C frames which it can extract Python frame info from.
However, it still references the old, now (supposedly) unused PyEval_EvalFrame
function. This leads it to never find any frames, since PyEval_EvalFrameEx
Evan Klitzke e...@eklitzke.org added the comment:
I'm also interested in seeing this fixed. In the current behavior, the
following code doesn't work:
start code
from functools import wraps
def magic(func):
@wraps(func)
def even_more_magic(*args):
return
Ezio Melotti ezio.melo...@gmail.com added the comment:
When test.tar is opened, the filename is read as a string, so when
os.path.join() is called in self._extract_member(tarinfo, os.path.join(path,
tarinfo.name)), path is u'.' and tarinfo.name is '\xea\x80\x80a.ogg'.
tarinfo.name is a byte
Skip Montanaro s...@pobox.com added the comment:
Thanks for the heads up. Should be fixed on trunk (r77484) and py3k
(r77485).
--
assignee: - skip.montanaro
nosy: +skip.montanaro
resolution: - fixed
status: open - closed
___
Python tracker
New submission from Michael Stephens m...@mikej.st:
The documentation for strftime and strptime behavior strikes me as a bit
jumbled right now. The behavior of datetime.datetime.strptime is explained by a
reference to time.strptime, which in turn references time.strftime to explain
the format
Conor Hughes con...@berkeley.edu added the comment:
As these aren't POSIX, changing to feature request.
--
type: behavior - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
Changes by Brian Curtin cur...@acm.org:
--
priority: - normal
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7662
___
___
Changes by Brian Curtin cur...@acm.org:
--
priority: - normal
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2796
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
stage: - patch review
versions: +Python 2.6, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7699
Brian Curtin cur...@acm.org added the comment:
If this stuff needs to be removed it should probably go through the deprecation
process.
--
keywords: +needs review
nosy: +brian.curtin
priority: - low
stage: - patch review
type: - behavior
versions: +Python 3.2 -Python 3.0
Changes by Brian Curtin cur...@acm.org:
--
priority: - normal
stage: - needs patch
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7695
Ezio Melotti ezio.melo...@gmail.com added the comment:
I added the fix on ntpath and more tests. I also refactored the tests I added
for posixpath.
I don't know what is the situation of os2emxpath and macpath and if they should
be fixed too. The code for abspath is currently the same on all 4
Michael Stephens m...@mikej.st added the comment:
I think it's referring to:
datetime.time(10, 34, 6).strftime(%Y-%m-%d %H:%M:%S)
'1900-01-01 10:34:06'
and thus still applies. It is wrong about month and day being replaced by '0',
however, and I've updated the patch to change that to '1'.
80 matches
Mail list logo