Tim Graham added the comment:
I noticed this is backwards incompatible for a small feature in Django. If you
want to leave this feature in Python 2.7 and 3.4, it'll break things unless we
push out a patch for Django; see https://github.com/django/django/pull/4637.
--
nosy: +Tim.Graham
Ned Deily added the comment:
The failures seem pretty clear:
OSError: [Errno 28] No space left on device
Are you allocating enough disk space in the chrooted environments? The amount
of free space needed to run all the tests varies by platform, by architecture,
by test options selected,
Nick Coghlan added the comment:
Review sent - very nice work on this Yury.
Highlights:
* I concur with Stefan that we should have a full PyCoroutineMethods struct at
the C level, with a tp_as_coroutine pointer to that replacing the current
tp_reserved slot
* I also concur with Stefan about
New submission from Raymond Hettinger:
Heapify() is implemented with a series of siftup() operations that aggregate
small heaps into bigger heaps.
The current algorithm builds all the smallest heaps first, then makes all of
the next largest size, and so on. This is not cache friendly
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file39332/wordy_explanation.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24155
___
Alex Lord added the comment:
../cpython/python.exe test_xmlparser_setevents.py
__del__ 1
__del__ 3
Segmentation fault: 11
Confirmation on 3.5.0a4 Python 3.5.0a4+
--
nosy: +Alex.Lord
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
Thanks for the report. I'm not able to reproduce the failure myself. Can you
give more information on what platform this was run on (OS version) and at what
changeset the build was with (hg summary)? Perhaps you could try debugging the
execution of that test
Nick Coghlan added the comment:
Since it took me a moment to figure out why the extra incref was needed:
* both PyException_SetCause and PyException_SetContext steal a reference to
their second argument
* hence we need the second incref, rather than relying solely on the reference
received
New submission from ryan:
UnicodeDecodeError
--
components: Tests
files: results
hgrepos: 308
messages: 242840
nosy: petrosr2
priority: normal
severity: normal
status: open
title: test_mailcap fails
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file39330/results
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file39333/better_heapify.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24155
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file39331/draft_heapq.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24155
___
ryan added the comment:
running command over PuTTY on Ubuntu 3.13, python 2.7.6
$ ./python -m test test_mailcap
[1/1] test_mailcap
test test_mailcap failed -- Traceback (most recent call last):
File /home/petrosr2/Documents/opensource/cpy/Lib/test/test_mailcap.py, line
126, in
Ned Deily added the comment:
I can reproduce the failure by arbitrarily adding a non-ascii character to one
of the mailcap files searched for by the mailcap module
(https://docs.python.org/3/library/mailcap.html#mailcap.getcaps), like
$HOME/.mailcap, and by setting the process to an
New submission from Yuri Teixeira:
from pathlib import Path
p = Path('/any/folder')
f = p / 'oldname'
f.rename('newname')
The above will rename the file 'oldname' to 'newname' but will also
move it to Path.cwd()
I thought that pathlib.Path.rename() when fed with a string would
change f.name
New submission from Ryan Shupe:
I set up my Asus chromebook c200 with crouton and installed two chroot
environments under the trusty release. In one I built and ran the tests for
Python 3.5.0a4+
See stacktrace of resulting error:
[209/394/2] test_multiprocessing_fork
[210/394/3]
Nick Coghlan added the comment:
First draft of a recommendations PEP:
https://hg.python.org/peps/rev/85bc7f13b295 (PEP 493)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23857
___
Berker Peksag added the comment:
datetime.strptime is a classmethod, but the new date.strptime and time.strptime
methods are staticmethods. I think we should make the new methods classmethods
too.
--
stage: needs patch - patch review
___
Python
Xavier de Gaye added the comment:
test.py is missing.
--
nosy: +xdegaye
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24140
___
___
Maciej Szulik added the comment:
I've just double checked, this patch applies cleanly to latest tip. I wouldn't
mind having this reviewed and merged.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100942
Mark Lawrence added the comment:
Calls to fcntl have been replaced by calls to _Py_set_inheritable so I'd assume
that this can be closed as out of date.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker
Skip Montanaro added the comment:
Can you attach your cab file so we don't need to reconstruct it (and possibly
make a mistake) by reading your program's output?
--
nosy: +skip.montanaro
___
Python tracker rep...@bugs.python.org
Stephen J. Turnbull added the comment:
Please do not add the rehandle functions to codecs. They do not change the
(duck-typed) representation of data while maintaining the semantics, they
change the semantics of data while retaining the representation.
I suggest a validation submodule of the
Tal Einat added the comment:
Well, the main reasons I'm +1 on the |= feature (regardless of specific
syntax) are:
1) the intent is much clearer: e.g. also accept None, nothing else special
going on
2) much easier maintenance if the default set of accepted types ever changes
Also, this is one
Ivan K added the comment:
Sorry, forget to answer.
I think I know the reason.
Issue I think placed inside ATLAS library.
Issue not reproducable on Mac OS X because it's have a bit different thread
model.
The only single platform is Linux (not tested on Windows btw). So main guess
right now
Mark Lawrence added the comment:
@Joe The latest documentation has an additional sentence above the table The
following table gives an overview of the known attacks and whether the various
modules are vulnerable to them. and the table has been changed to say Yes or
No. Is this okay with you?
Mark Lawrence added the comment:
I've checked the code and this doesn't appear to have been implemented. I
looked into providing a patch myself, but all the returns from calls to
util.Finalize that I could find were assigned to different attribute names, so
I'm not confident enough to
eryksun added the comment:
1. Bug in Windows 10, which should be reported to Microsoft.
It appears to be a bug in the kernel. It's isn't updating the value of of the
output parameter *lpReturnLength.
C:\ver
Microsoft Windows [Version 10.0.10074]
C:\cdb -xi ld py
Microsoft
vyktor added the comment:
Adding test.py, but according to docs
https://docs.python.org/3.2/library/pdb.html#pdbcommand-commands
Specifying any command resuming execution (currently continue, step, next,
return, jump, quit and their abbreviations) terminates the command list (as if
that
Yury Selivanov added the comment:
Thanks Nick and Berker for the reviews!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
Changes by Yury Selivanov yseliva...@gmail.com:
--
stage: commit review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
Berker Peksag added the comment:
Buildbots are not happy:
[ 63/393] test_contextlib
Fatal Python error: Objects/frameobject.c:429 object at 0x200041abc28 has
negative ref count -2604246222170760230
Current thread 0x022c2500 (most recent call first):
File
Chris Angelico added the comment:
Weird. Tests ran fine on my machine too. Interestingly, that number is
0xdbdbdbdbdbdbdbda - does that mean anything? (It's negative
0x2424242424242426, for what that's worth.)
--
___
Python tracker
Roundup Robot added the comment:
New changeset 36a8d935c322 by Yury Selivanov in branch 'default':
PEP 479: Change StopIteration handling inside generators.
https://hg.python.org/cpython/rev/36a8d935c322
--
___
Python tracker rep...@bugs.python.org
vyktor added the comment:
In here:
/home/vyktor/src/error/minimal.py(1)module()
- print('1')
(Pdb) break 2
Breakpoint 1 at /home/vyktor/src/error/minimal.py:2
(Pdb) commands 1
(com) print('Triggered bp 1')
(com) until 4
(com) end
(Pdb) cont
1
Triggered bp 1
Chris Angelico added the comment:
Thanks everyone for all the help getting this to land! This is going to be a
part of my active python3 binary from now on :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
Mik added the comment:
Hi,
This is the file used for my test.
Thank you,
regard,
Mik
--
Added file: http://bugs.python.org/file39328/sans_headers.csv
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24147
Yury Selivanov added the comment:
Strange, the test suite was running just fine on my machine. I'll take a closer
look later today.
--
nosy: +Yury.Selivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
Yury Selivanov added the comment:
I think it crashes in debug mode or something. Somewhere we did too many
decrefs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
New submission from ramiro:
On the documentation page The Python Profilers
https://docs.python.org/3.4/library/profile.html#instant-user-s-manual the
following example is given:
p.sort_stats('time', 'cum').print_stats(.5, 'init')
This raises a KeyError, because 'cum' is not available as a
Nick Coghlan added the comment:
surrogateescape and surrogateepass data *already* can't be inverted back to
bytes reliably without knowing the original encoding - if you encode them
as something else when they contain surrogates, you'll either get an
exception (the default) or mojibake (if you
Skip Montanaro added the comment:
Sorry, failed to override my phone's spell correction. cab should be
csv.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24147
___
Yury Selivanov added the comment:
Berker, buildbots should be happy now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
Roundup Robot added the comment:
New changeset 5d8bc813d270 by Yury Selivanov in branch 'default':
Issue 22906: Increment refcount after PyException_SetContext
https://hg.python.org/cpython/rev/5d8bc813d270
--
___
Python tracker
Roundup Robot added the comment:
New changeset d15c26085591 by Yury Selivanov in branch 'default':
Issue 22906: Add test file.
https://hg.python.org/cpython/rev/d15c26085591
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset f7cc54086cd2 by Guido van Rossum in branch 'default':
Fix news entry for issue 24018.
https://hg.python.org/cpython/rev/f7cc54086cd2
--
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
Fixed.
On Fri, May 8, 2015 at 10:28 PM, Stefan Behnel rep...@bugs.python.org
wrote:
Stefan Behnel added the comment:
Thanks! Minor grouch: it should say collections.*abc*.Generator in the
NEWS entry.
--
Berker Peksag added the comment:
Thanks!
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
Python-bugs-list
New submission from Becklin Haston:
Hello.
Having issue when running unit tests for Python v3.5. Encountering failure when
doing test 75/393. File attached is relevant traceback.
--
components: Tests
files: traceback.txt
messages: 242829
nosy: hastonb
priority: normal
severity: normal
Ned Deily added the comment:
Thanks for the report. This problem was just introduced and just fixed an hour
ago: see issue22906. Try updating to the very latest tip and try again.
--
nosy: +ned.deily
resolution: - out of date
stage: - resolved
status: open - closed
Davin Potts added the comment:
@Ivan.K: Can you be more specific about which linux platform you are using?
To reproduce, should I use Ubuntu, Fedora, OpenSUSE, ... and which version of
that linux distro?
--
___
Python tracker
New submission from rainier:
Test 75 test_contextlib fails.
Fatal Python error: Objects/frameobject.c:429 object at 0x10fa32178 has
negative ref count -2604246222170760230
Exception: Child error on test_contextlib: Exit code -6
Thread hangs and must be force exited on Mac OSX 10.10.3
Problem
Ned Deily added the comment:
Thanks for the report. This problem has just been fixed. Please update and
try again.
--
nosy: +ned.deily
resolution: - out of date
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
(See Issue22906 for details.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24150
___
___
Python-bugs-list mailing
Xavier de Gaye added the comment:
The bug occurs also on the default branch:
'3.5.0a4+ (default:8bac00eadfda, May 6 2015, 17:40:12) \n[GCC 4.9.2 20150304
(prerelease)]'
The reason is that 'do_until' is missing from the
Pdb.commands_resuming list, which causes the Pdb.bp_commands() method
to
New submission from Rebecca Hsieh:
While running this command: ./python -m test.test_pydoc -j3 the error
underneath was produced.
The AssertionError of 'walkpkg' was not found. Fails around the
test_apropos_empty_doc (_main_.PydocImportTest).
The following is the stack trace that was
55 matches
Mail list logo