STINNER Victor added the comment:
Python 3.4 is able to break reference cycles even if an object part of the
cycle has a destructor. See the PEP 442.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24598
STINNER Victor added the comment:
As I wrote, glib switch from floats to integers to generate random
numbers. To provide reproductible random numbers, an environment
variable was added to select the old PRNG.
Anyway, if we modify random.py, the generated numbers should be different, no?
To me,
Martin Panter added the comment:
* Issue 7643: Originally a complaint about the difference, but was closed after
adding more differences!
* Issue 22232: Documentation bug, but with some discussion on changing the API.
Maybe a duplicate?
* Issue 22233: Email and HTTP message parsing bug related
Antoine Pitrou added the comment:
As I wrote, glib switch from floats to integers to generate random
numbers.
And as I wrote, this would be accepted in a feature release. Not necessarily a
bugfix release.
--
___
Python tracker
Julian Taylor added the comment:
Your benchmarks are not affected by this change see the other issue. They are
also not representative of every workload out there.
I can at least see the argument why you didn't want to put the other variant of
this change in as it made the code a tiny bit
Changes by Martin Panter vadmium...@gmail.com:
--
title: codecs.open interprets space as line ends - codecs.open interprets FS,
RS, GS as line ends
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18291
Martin Panter added the comment:
The main documentation has been updated and Issue 12855 has been closed. What
is left to do here, considering this is marked as a documenation bug? Just
modify the doc strings, as Terry suggested in
https://bugs.python.org/issue22232#msg225766?
--
Antoine Pitrou added the comment:
I propose to rewrite Random.randint() in random.py.
If that would give a different sequence of random numbers, I'm not sure that's
acceptable in a bugfix release. Raymond can shed a light.
--
stage: - needs patch
versions: -Python 3.2, Python 3.3,
New submission from Friedrich Spee von Langenfeld:
The developers of OpenSSL have published a new update. It fixes a bug marked as
severe (https://www.openssl.org/news/secadv_20150709.txt). It seems that we are
using a vulnerable version. Could someone who knows the relevant files'
locations
STINNER Victor added the comment:
Yes, read the discussion on python-dev:
https://mail.python.org/pipermail/python-dev/2015-July/140706.html
Christian Heimes wrote:
1.0.2c is only used in 3.5b3. The production builds are either using
1.0.2a or 1.0.1j.
Should I understand that only Windows
New submission from cbaud:
I'm working with the entreprise distribution Centos 6, unfortunatly the package
pyhton3 proposed by the package manager yum isn't working. That why I had to
install python manually, for that purpose I used pip3. Once again I had a
problem with pip tool to install
Stefano Mazzucco added the comment:
Martin, thanks for elaborating my thoughts!
I have dug I bit deeper in Python2's urllib code with pdb, and I think I have
narrowed the issue down to what open_http does.
In my example code, replacing opener.open(url) with opener.open_http(url) gives
the
Stefano Mazzucco added the comment:
Martin,
I have applied the patch https://bugs.python.org/file31201 to my Python2.7.10
installation and seem to work OK.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24599
Martin Richard added the comment:
I'm not sure I know how to do this correctly: I lack of experience both
with openssl C API and writing python modules in C.
It may be more flexible, but unless the key is protected/crypted somehow,
one would need a string or bytes buffer to hold the key when
New submission from josch:
Hi,
sometimes (but not reliably reproducibly, one has to run it a few times) I get
a segmentation fault when running the following networkx based Python code on
large input graphs:
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - IDLE does not display \b backspace correctly.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24572
Ned Deily added the comment:
I've also seen a crash in lru_cache_tp_traverse but with the 3.5.0b3 release
build for the OS X 64-bit/32-bit installer. I just stumbled across the
segfault by bringing up the interactive interpreter and typing import ssl.
After a lot of playing around, I
Terry J. Reedy added the comment:
More tests might help pin down the bug. Here is the complete config for
completions.
[AutoComplete]
enable=True
popupwait=2000
[AutoComplete_cfgBindings]
force-open-completions=Control-Key-space
[AutoComplete_bindings]
autocomplete=Key-Tab
Ned Deily added the comment:
Process 51270 launched: './python' (x86_64)
Process 51270 stopped
* thread #1: tid = 0x5c8677, 0x0001000c1af8
python`_PyObject_Alloc(use_calloc=0, ctx=unavailable, nelem=unavailable,
elsize=unavailable) + 24 at obmalloc.c:1170, queue = 'com.apple.main-thread',
Changes by Ned Deily n...@acm.org:
--
nosy: -ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24606
___
___
Python-bugs-list mailing list
Mark Lawrence added the comment:
FTR I can reproduce this on Windows 8.1 with 3.4.3 and 3.3.5 but not 2.7.10 or
2.6.6.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24606
Terry J. Reedy added the comment:
Idle expands tabs to spaces, if asked to do so. It otherwise passes user code
generated chars to tkinter, which passes them on to tk, which eventually passes
them on to the OS gui widgets. I will say more on the existing issue.
--
nosy: +terry.reedy
Serhiy Storchaka added the comment:
This looks as a duplicate of issue14010.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - deeply nested filter segfaults
___
Python tracker
Serhiy Storchaka added the comment:
See issue24606 for another instance of this in map().
--
versions: +Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14010
___
New submission from David Lukeš:
The following program makes Python 3.4.3 crash with a segmentation fault:
```
#!/usr/bin/env python3
import operator
N = 50
l = [0]
for i in range(N):
l = map(operator.add, l, [1])
print(list(l))
```
I suppose the problem is that there are too many
STINNER Victor added the comment:
It looks more like a bug in networkx, than a bug in Python itself. networkx has
probably issues with reference counter, concurrency (threads), or things like
that.
I'm unable to reproduce the crash on Python 3.4 (system binary from Fedora 22)
or Python 3.6
Ned Deily added the comment:
The Windows installer and the 32-bit-only OS X installer both have local copies
of OpenSSL. At the moment, only the 3.5.0 betas have been released with 1.0.2.
Setting to release blocker priority for 3.5.0b4.
--
nosy: +benjamin.peterson, larry, ned.deily
Tim Peters added the comment:
Anyway, if we modify random.py, the generated
numbers should be different, no?
Not in a bugfix release. The `min()` trick changes no results whatsoever on a
box that doesn't do double-rounding.
On a box that does do double-rounding, the only difference in
STINNER Victor added the comment:
Ok, it looks like most people are in favor of min(). Can anyone propose a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24567
___
Martin Panter added the comment:
Perhaps you might be able to test out the patch
https://bugs.python.org/file31201 to see if that fixes your problem? Though
there is a good chance the patch needs updating, since it is fairly old.
--
___
Python
STINNER Victor added the comment:
Oh, networkx looks to be written in pure Python. You should search for a module
implemented in C.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24605
Changes by STINNER Victor victor.stin...@gmail.com:
--
components: +Macintosh
nosy: +ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24603
___
Lukas Wunner added the comment:
Thank you Martin for referencing my patch. It still applies cleanly with
--fuzz=0 to 2.7.10. Would be awesome if this fix would finally get merged.
--
nosy: +l
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Sorry, this is the bug tracker of the Python language. See the
http://www.scipy.org/ website to report bugs on scipy, thank you.
--
nosy: +haypo
resolution: - not a bug
status: open - closed
___
Python tracker
Stefan Behnel added the comment:
Your benchmarks are not affected by this change see the other issue.
Then you ran them, I assume? Could you show the output here that you got?
They are also not representative of every workload out there.
Certainly not, but they do provide a certain variety
Stefan Behnel added the comment:
I'm witnessing a crash in the C implementation during garbage collection.
Interestingly, it only shows in the Py3.6 branch, not in Py3.5 (both latest).
Here's the gdb session:
Program received signal SIGSEGV, Segmentation fault.
lru_cache_tp_traverse
New submission from Christophe Biocca:
Basically, some (malformed or empty?) WAV strings result in the empty string
being returned when calling readframes.
That string cannot be passed back to writeframes() without causing a crash,
since it does not implement the buffer interface.
--
New submission from Vitali Lovich:
The subprocess module provides a good foundation of basic functionality.
However, anything moderately complex becomes cumbersome to write.
Additionally, it has pitfalls that people frequently overlook.
People then often either resort to hand-rolling their
Serhiy Storchaka added the comment:
intermediary.diff LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24583
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
self-root.next and self-root.prev should never be NULL. Could you please
provide minimal example of code that produces a crash?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
Gregory P. Smith added the comment:
If this isn't already mentioned in 2 to 3 porting notes it is worth
highlighting there. code which uses a str in python 2 and still uses a str in
python 3 is now splitting on many more characters.
That seems to be the source of bugs like issue22233.
Gregory P. Smith added the comment:
hah, i should've searched the tracker first. looks like the other open issues
cover this.
--
resolution: - duplicate
status: open - closed
superseder: - str.splitlines splitting on non-\r\n characters
versions: +Python 2.7, Python 3.4, Python 3.5,
Gregory P. Smith added the comment:
The obvious fix seems to be to not use splitlines but explicitly split on the
allowed characters for ASCII based protocols and formats that only want \r and
\n to be considered.
I don't think we can rightfully change the unicode splitlines behavior.
Roundup Robot added the comment:
New changeset 9e035639516c by Serhiy Storchaka in branch '3.4':
Issue #24608: chunk.Chunk.read() now always returns bytes, not str.
https://hg.python.org/cpython/rev/9e035639516c
New changeset 64b2d154a5db by Serhiy Storchaka in branch '3.5':
Issue #24608:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
stage: - needs patch
versions: +Python 3.5, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24608
Serhiy Storchaka added the comment:
Thank you for your report Christophe.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24608
Serhiy Storchaka added the comment:
There are other affected methods: randrange(), randint(), shuffle(), sample().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24567
___
Stefan Behnel added the comment:
It's not actually my own code using the lru_cache here. From a quick grep
over the code tree, the only potentially related usage I found was in
Python's fnmatch module, on the _compile_pattern() function. Commenting
that out then made the crash go away, so this
Skip Montanaro added the comment:
While it's an interesting library, my fear is that people will start shelling
out to all sorts of things which Python already has builtin. One of the
examples on the github site was showing how to call ls. Another example
invoked wc. neither of those is
Changes by Tim Graham timogra...@gmail.com:
--
nosy: -Tim.Graham
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list
Stefan Behnel added the comment:
test_fnmatch.py also passes, BTW.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
This was fixed in issue18684.
--
resolution: - out of date
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24602
New submission from Thomas Kluyver:
shutil.copytree behaves differently with symlinks depending on the 'symlinks'
parameter. If this is True, symlinks are replicated in the destination. If
False, the contents of the targets are copied to the destination.
With symlinks=False, it currently
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: - berker.peksag
nosy: +takluyver
versions: +Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21697
___
Berker Peksag added the comment:
Thanks for the report and the patch. This is a duplicate of issue 21697. Could
you please attach the patch in that issue?
--
nosy: +berker.peksag
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - shutil.copytree() handles
Thomas Kluyver added the comment:
Here's my patch (I submitted the duplicate issue). I think it's functionally
the same as Eduardo's, but it also adds a test.
--
Added file: http://bugs.python.org/file39893/shutil_copytree_symlink_dir.patch
___
R. David Murray added the comment:
Indeed. If you want shell scripting, use a shell script. The advantage of
python scripting is exactly that you are using non-shell, with explicit control
of what gets substituted where rather than the shell's implicit rules.
Regardless our our opinions,
57 matches
Mail list logo