Martin v. Löwis mar...@v.loewis.de added the comment:
I think the error is really in _hashlib, not in the array object. It
should not require 3.x style buffers, but continue to support 2.x
readbuffers. Attached is a patch that takes this route to fixing the bug.
As for the checks for
Thomas Vander Stichele thoma...@users.sourceforge.net added the comment:
Attaching a reworked patch of the patch attached in
http://bugs.python.org/issue1169193
This worked for me on f-11, with python 2.6
--
keywords: +patch
nosy: +thomasvs
Added file:
New submission from Greg Hewgill g...@hewgill.com:
Quite by accident, I came across a case where Python would quit
generating traceback text and skip printing the actual exception
information. Here is a sample program:
exec(compile(spam(), ., exec))
and the output in Python 3.1 (spam is
R. David Murray rdmur...@bitdance.com added the comment:
python -m doctest does accept file arguments. Running the self-test is
the default if no arguments are supplied.
python -m doctest Lib/doctest.py passes.
So perhaps we should just remove the default and instead issue an error
message
Changes by R. David Murray rdmur...@bitdance.com:
--
title: FAIL: Doctest: __main__.DebugRunner - python -m doctest results in
FAIL: Doctest: __main__.DebugRunner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7376
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I'd rather see sed called from within Distutils. But I am not sure how
to handle it after install has been called.
Do you know if sed is *always* present on a fresh Fedora ?
(I am nosying Toshio as well)
--
assignee: - tarek
nosy:
New submission from flox la...@yahoo.fr:
Yes, you can reduce the fraction 1234/5678.
Bad Luck :p
~ $ python3 -m doctest /usr/lib/python3.1/fractions.py
**
File /usr/lib/python3.1/fractions.py, line 165, in
Eric Smith e...@trueblade.com added the comment:
MvL made this comment in
http://www.mail-archive.com/python-...@python.org/msg43844.html
I'm copying it here so it doesn't get lost and because I think he makes
a good point that many people would miss (at least I didn't think of it).
New submission from flox la...@yahoo.fr:
I've tried some experiments with module uuid, and I meet some
inconsistencies between the documentation, the docstring and the real
behavior of the module.
An interactive session is worth a thousand words:
import uuid
flox la...@yahoo.fr added the comment:
Attached patch gives coherence:
* both UUID.bytes and UUID.bytes_le return a bytes object
* the random tests are explicitly skipped
Then the documentation needs fixing, too.
--
keywords: +patch
Added file:
Marc-Andre Lemburg m...@egenix.com added the comment:
Eric pointed me to this ticket after having raised the question on
python-dev: http://www.mail-archive.com/python-...@python.org/msg43841.html
I think the discussion should be continued there instead of on this ticket.
Just for
New submission from flox la...@yahoo.fr:
I've tested the docstring of the module subprocess.
Python 2.5 is OK, but Python 3.1 fails.
~ $ python2.5 -m doctest /usr/lib/python2.5/subprocess.py
...
--
Ran 15 tests in
flox la...@yahoo.fr added the comment:
I fixed the docstring inconsistency (see patch) and some obvious things.
But I still have errors.
~ $ python3 -m doctest py3_failed/subprocess.py
**
File py3_failed/subprocess.py, line
flox la...@yahoo.fr added the comment:
It may be fixed with # doctest: +ELLIPSIS and # doctest: +SKIP
directives...
But it is probably platform-dependent.
I have tested only with Debian Lenny.
--
___
Python tracker rep...@bugs.python.org
flox la...@yahoo.fr added the comment:
I am ok with the proposal of removing the current selftest default
behavior.
And thank you for the tip.
I tried the command python -m doctest Lib/*.py and I found interesting
things:
* #7379 about Lib/fractions.py
* #7380 about Lib/uuid.py
* #7381 about
Michael Droettboom mdb...@users.sourceforge.net added the comment:
This is a rather serious bug for matplotlib -- since the C++ compiler is
not correctly selected, it can't be built with many Unix compilers, such
as Sun Studio.
--
nosy: +mdboom
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I can't reproduce this. If I do your steps 1 to 5, *nothing* is build -
not surprisingly, since these steps don't invoke a build at all.
When I then select, in the context menu of Solution 'pcbuild', the
menu item Build solution, it builds
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Has someone tried to apply it with a recent Python ?
I can work on it but I'll need some help from someone matplotlib or Sage
I guess..
--
assignee: - tarek
___
Python tracker
New submission from Sebastian Hagen sh_pyb...@memespace.net:
In either python 3.0, bytes instances cannot be copied, and (even
trivial) bytes subclasses cannot be unpickled unless they explicitly
override __getnewargs__() or __reduce_ex__().
Copy problem:
import copy; copy.copy(b'foo')
Michael Droettboom mdb...@users.sourceforge.net added the comment:
I'm testing this against release25_maint and release26_maint as we
speak. I'll post new patches when that's done.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
Confirmed on py3k trunk. We no longer do bug fixes in 3.0, which is why
I'm removing it from versions.
--
keywords: +easy
nosy: +r.david.murray
priority: - high
stage: - test needed
versions: +Python 3.2 -Python 3.0
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the report! Fixed in r76456 through r76459.
--
nosy: +mark.dickinson
resolution: - fixed
status: open - closed
versions: +Python 2.6, Python 2.7 -Python 3.0
___
Python tracker
flox la...@yahoo.fr added the comment:
Forget the python2.5 -m doctest /usr/lib/python2.5/subprocess.py in
first message msg95625.
This command does not do what I guessed. And there's no doctest in the
Python2.5 subprocess module.
The attached patch may be enough to fix the docstring
Mark Dickinson dicki...@gmail.com added the comment:
Fixed in r76460 through r76463.
--
resolution: - fixed
status: open - closed
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
Sridhar Ratnakumar sridh...@activestate.com added the comment:
[...]
Step 6. Build Solution
The OS was 64-bit Windows XP (w/ Service Pack 2). Are you sure you were
running a 64-bit operating system (i.e., not cross-compiling)?
--
___
Python tracker
flox la...@yahoo.fr added the comment:
Patch with documentation included. (branches/py3k)
--
assignee: - georg.brandl
components: +Documentation
nosy: +georg.brandl
Added file: http://bugs.python.org/file15388/issue7380.diff
___
Python tracker
Michael Droettboom mdb...@users.sourceforge.net added the comment:
Attached is a patch against the release26-maint branch. This works for
me on Sun Workshop 6.
Note that on Sun, the C compiler is 'cc' and the C++ compiler is 'CC',
but distutils uses 'cc' and 'c++'. However, the CXX
Changes by flox la...@yahoo.fr:
Removed file: http://bugs.python.org/file15385/issue7380_uuid.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7380
___
Michael Droettboom mdb...@users.sourceforge.net added the comment:
Here's another patch against release25_maint for the benefit of those
still using Python 2.5. It's different only in some whitespace changes.
--
Added file: http://bugs.python.org/file15390/py25_cxx_compiler.patch
Changes by Brian Curtin cur...@acm.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1222585
___
___
Python-bugs-list
Senthil Kumaran orsent...@gmail.com added the comment:
Yes, I noticed the issue and found the patch to be good as well.
Unfortunate it was pending for a long time.
Fixed and Committed revision 76464 (trunk).
--
assignee: - orsenthil
nosy: +orsenthil
resolution: - fixed
Toshio Kuratomi a.bad...@gmail.com added the comment:
sed is one of the programs we assume is always present when we build
packages in Fedora which is probably also what is wanted here. (A
default install of Fedora will include sed but someone might be able to
create a minimal install that did
Mark Dickinson dicki...@gmail.com added the comment:
r76465 removes the fixed-length buffer for formatting floats, hence
removes the restriction on the precision. This should make removal of
the %f - %g switch straightforward.
--
___
Python
Senthil Kumaran orsent...@gmail.com added the comment:
merged to 26-maint in revision 76468 and shall merge in py3k too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1488943
___
Senthil Kumaran orsent...@gmail.com added the comment:
fixed r76469 (py3k) and r76470(release31-maint). Closing the issue.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1488943
flox la...@yahoo.fr added the comment:
Patch proposed.
--
Added file: http://bugs.python.org/file15391/issue7376_usage.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7376
___
Changes by flox la...@yahoo.fr:
Removed file: http://bugs.python.org/file15391/issue7376_usage.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7376
___
Changes by flox la...@yahoo.fr:
Added file: http://bugs.python.org/file15392/issue7376_usage.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7376
___
Thomas Vander Stichele thoma...@users.sourceforge.net added the comment:
Hi Toshio,
I'd probably also go for the wildcarding, but you'd still need to
'change' the INSTALLED_FILES file to do so, so you'd still use the same
mechanism.
--
___
Python
New submission from Antoine Pitrou pit...@free.fr:
This has started a few days ago. I don't know if this was triggered by a
multiprocessing change or an unrelated one.
On trunk:
test_multiprocessing
beginning 6 repetitions
123456
..
test_multiprocessing leaked [277, 277, 277] references,
Antoine Pitrou pit...@free.fr added the comment:
As for the checks for bf_releasebuffer: I still think they are
necessary. If an object implements bf_releasebuffer, that means that the
object may change the buffer underneath, unless proper locking and
unlocking takes place.
I know, but the
Georg Brandl ge...@python.org added the comment:
Fixed in r76471.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7345
___
New submission from Mark Dickinson dicki...@gmail.com:
test_curses is currently causing the test runs to abort on the FreeBSD 6.4
and 7.2 buildbots.
I can reproduce this on a FreeBSD 7.2 /amd64 machine by doing
./python Lib/test/regrtest.py -uall test___all__ test_curses
This dumps core, and
flox la...@yahoo.fr added the comment:
Patch could be applied to Python 2.6 and trunk too.
--
versions: +Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7376
___
Toshio Kuratomi a.bad...@gmail.com added the comment:
Agreed. The substitution is still needed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue644744
___
Georg Brandl ge...@python.org added the comment:
Patch looks ok to me, do you want to apply it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7128
___
Jesse Noller jnol...@gmail.com added the comment:
AFAIK; I haven't changed anything which would introduce refleaks in the
code. So, it's going to be a matter of chasing down all of the changes
since the refleaks popped up and see which one triggered it.
--
Georg Brandl ge...@python.org added the comment:
Alexander, how hard would it be to change the profile output?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7372
___
Mark Dickinson dicki...@gmail.com added the comment:
r76474: Remove %f - %g switch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7117
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
It would be fairly easy to change format before dumping stats to disk,
but unfortunately Profile does not encapsulate it's run-time data and
changing its format would be a mess.
Of course, one can hack around that by
New submission from Pauli Virtanen p...@iki.fi:
In Objects/memoryobject.c:PyMemoryView_FromObject there's a
_PyObject_GC_UNTRACK unpaired with corresponding _PyObject_GC_TRACK,
which seems to cause a segmentation fault. This can be triggered by
calling PyMemoryView_FromObject on an object whose
New submission from pengyu.ut pengyu...@gmail.com:
os.path.normpath() doesn't return the trailing '/', if the path is a
directory. But the document doesn't mention this fact.
I recommend document this feature.
--
assignee: georg.brandl
components: Documentation
messages: 95661
nosy:
New submission from pengyu.ut pengyu...@gmail.com:
os.path.normpath() doesn't return the trailing '/', if the path is a
directory. But the document doesn't mention this fact.
I recommend document this feature.
--
assignee: georg.brandl
components: Documentation
messages: 95662
nosy:
R. David Murray rdmur...@bitdance.com added the comment:
This started just after r76438, which is an additional test for
multiprocessing. Given build delays this is only a correlation not a
definite cause, but it is suspicious.
--
nosy: +r.david.murray
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7387
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I think your patch is correct. (I couldn't check the behavior on error
condition itself, because I wasn't sure how, but I checked test_io run
on windows)
--
___
Python tracker
56 matches
Mail list logo