Armin Rigo added the comment:
If buf contains -00 and the type is 'o', then it will be modified in-place
even if the string is shared.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11145
Antoine Pitrou added the comment:
Thanks for the explanation.
I confess I don't fully understand the change in 7741d0dd66ca, but it
does seem to have the side effect of not actually allowing exit while
there are outstanding daemon threads not hitting Python.
That's a bit weird, as that
Serhiy Storchaka added the comment:
Heh, it's getting really funny.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11145
___
___
Roundup Robot added the comment:
New changeset 07f4b6ecd04a by Ned Deily in branch '2.7':
Issue 22878: PEP 477 - make install and make altinstall integration
https://hg.python.org/cpython/rev/07f4b6ecd04a
--
nosy: +python-dev
___
Python tracker
Ned Deily added the comment:
Committed for release in 2.7.9.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22878
Armin Rigo added the comment:
Victor: there is the GIL, you don't need any locking.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17852
___
___
Ned Deily added the comment:
The configure and Makefile integration backport has been committed in
Issue22878. Unlike with Python 3, the default is to not install pip unless
specifically enabled at configure time or on the make altinstall or make
install targets.
I think that about wraps up
New submission from Chris Angelico:
See PEP for full details. Attached is POC patch: behaviour is altered globally
(rather than respecting a __future__ directive), and minimal changes are made
elsewhere to make the test suite mostly pass (test_generators does not - it'll
need more
Nick Coghlan added the comment:
Yes, the missing link targets are part of the pending docs changes Donald
mentioned above.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
___
Tom Tanner added the comment:
ping
I'd appreciate a review of my patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21718
___
___
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22894
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset b9775a92c1d0 by Nick Coghlan in branch 'default':
Issue #22869: Split pythonrun into two modules
https://hg.python.org/cpython/rev/b9775a92c1d0
--
nosy: +python-dev
___
Python tracker
Changes by Nick Coghlan ncogh...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22869
___
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list mailing
Bernard Spil added the comment:
EGD was only necessary for some commercial UNIX systems, versions that needed
it all reached end of life. It no longer makes sense to have any code referring
to it.
EGD needed untilOS release date
IRIX6.5.19 feb 2003
Solaris
New submission from Peter Korsgaard:
The build/real prefix handling using sed breaks if build != real and the
standard include / lib directories are used ($prefix/include and $prefix/lib).
E.G.
prefix_build=/usr, libdir=$prefix/lib, includedir=$prefix/include.
If this gets installed with make
STINNER Victor added the comment:
We don't drop feature in minor releases, we are working hard to maintain the
backward compatibility.
We may only disable RAND_egd if Python is compiled/linked to LibreSSL. So the
check should probably be dynamic.
--
Donald Stufft added the comment:
I've attached a patch which I believe updates the 2.x docs with what 3.x has. I
ran ``make html`` and the only errors I got were in relation to pyporting which
I don't believe has anything to do with this ticket.
If someone can sanity check this for me I can
Donald Stufft added the comment:
Is this ticket able to be closed now or is there more to do?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22850
___
Donald Stufft added the comment:
Note: I removed the references to pyvenv in these docs because 2.7 doesn't have
that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
___
Nick Coghlan added the comment:
The prior to version 3.4 question should be updated to talk about prior to
version 2.7.9 instead.
For Python 2, we may want to explicitly mention installing virtualenv (either
with pip or the system package manager), as there's no pyvenv provided by
default,
Donald Stufft added the comment:
Updated the docs patch to address Nick's comments.
--
Added file: http://bugs.python.org/file37236/pep-477-docs-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
Laurento Frittella added the comment:
Even if forcing the HTTP/1.0 workaround works it can end up in weird issues,
especially if used in something more than a small script, like the one I tried
to describe in this issue report[1] for the requests python library.
[1]
Nick Coghlan added the comment:
Looks good to me! :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
___
___
Python-bugs-list mailing list
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: -michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
___
___
Matthias Klose added the comment:
do we have something like skipIfInstalled?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22895
___
___
Roundup Robot added the comment:
New changeset 8bc29f5ebeff by Donald Stufft in branch '2.7':
Issue #22827: Backport the new Distributing and Instaling Docs from 3.4
https://hg.python.org/cpython/rev/8bc29f5ebeff
--
nosy: +python-dev
___
Python
New submission from Iridium Yang:
The ZipExtFile class in zipfile module does not provide a seek method like
GzipFile. As a result, it is hard to manipulate files without extract all the
content.
For example, a very large tar file compressed with zip. The TarFile module can
operate on file
R. David Murray added the comment:
It's more a matter of my finding time to fully research the problem and
solution than an issue of reviewing the patch itself. There is also potential
cross-talk with other patches involving sqllite statement parsing. Since the
sqlite wrapper doesn't
Steve Dower added the comment:
It's done.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22850
___
Michael Foord added the comment:
One way would be to have an _main.py and have main.py import * (or
equivalent) from it. We can't get rid of unittest.main being an alias for
TestProgram - that's been around forever.
--
___
Python tracker
Michael Foord added the comment:
TestProgram is an abomination.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22860
___
___
Python-bugs-list
Changes by Donald Stufft don...@stufft.io:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22827
___
Donald Stufft added the comment:
Assigning this to myself, it'll get fixed when pip 6.0 is released and I
upgrade ensurepip to it.
--
assignee: vinay.sajip - dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22669
Donald Stufft added the comment:
So here's a thought:
pip does have a CLI flag --force-reinstall which will uninstall and then
reinstall whatever is being installed. If we modified things so that ensurepip
supported this flag (or always used it with --upgrade) then it would fix this
issue.
Antoine Pitrou added the comment:
do we have something like skipIfInstalled?
No. There's no exact way of checking for an installed Python, but one
possibility is to test whether a given directory exists (e.g. Modules).
--
___
Python tracker
Serhiy Storchaka added the comment:
I'm -1 on adding the seek method with linear complexity. This looks as
attractive nonsense to me. It would be better just make TarFile working with
non-seekable streams.
--
nosy: +serhiy.storchaka
___
Python
Changes by Guido van Rossum gu...@python.org:
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset dd19add74b21 by Guido van Rossum in branch 'default':
PEP 479: Add link to issue 22906.
https://hg.python.org/peps/rev/dd19add74b21
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
New submission from Tab Atkins Jr.:
If using parse_known_args() to get argument pass-through, and one of the
unknown arguments has a value with a space in it (even if quoted!), the
entire unknown argument (key=value) will be interpreted as the value of the
first positional argument instead.
Antoine Pitrou added the comment:
Here is a patch.
--
keywords: +patch
stage: - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file37238/subtests_failfast.patch
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
I'm not absolutely sure but I think this has broken the Windows builds with the
following being typical of numerous errors.
2main.obj : error LNK2019: unresolved external symbol _Py_Finalize referenced
in function _Py_Main
2main.obj : error LNK2019: unresolved
Antoine Pitrou added the comment:
Thank you, I've committed the patch to 3.5 now.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22796
Roundup Robot added the comment:
New changeset a065ab1c67a8 by Antoine Pitrou in branch 'default':
Issue #22796: HTTP cookie parsing is now stricter, in order to protect against
potential injection attacks.
https://hg.python.org/cpython/rev/a065ab1c67a8
--
nosy: +python-dev
Antoine Pitrou added the comment:
Thanks. The Windows build files (Visual Studio project files) typically have to
be updated when a new C file is added to the source tree. Probably one of our
Windows experts can help with that :-)
--
nosy: +steve.dower, tim.golden, zach.ware
status:
Roundup Robot added the comment:
New changeset 31fd106bb68a by Steve Dower in branch 'default':
Issue #22869: Add pylifecycle.c/.h files to pythoncore project.
https://hg.python.org/cpython/rev/31fd106bb68a
--
___
Python tracker
Steve Dower added the comment:
Fixed. (I was conveniently sitting waiting for other things to build...)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22869
___
Mark Lawrence added the comment:
2 getbuildinfo.c
2pythonrun.obj : error LNK2005: _PyOS_CheckStack already defined in
pylifecycle.obj
2 Creating library C:\cpython\PCbuild\python35.lib and object
C:\cpython\PCbuild\python35.exp
2C:\cpython\PCbuild\python35.dll : fatal error LNK1169: one
Steve Dower added the comment:
Looks like a few Windows only things were missed. Can you track them down and
get them into a patch? I'm out of time to do more right now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22869
Mark Lawrence added the comment:
Out of my depth I'm afraid, sorry :(
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22869
___
___
Roundup Robot added the comment:
New changeset 4ceca79d1c63 by Antoine Pitrou in branch '2.7':
Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
https://hg.python.org/cpython/rev/4ceca79d1c63
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 4ceca79d1c63 by Antoine Pitrou in branch '2.7':
Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
https://hg.python.org/cpython/rev/4ceca79d1c63
--
___
Python tracker
Antoine Pitrou added the comment:
I've reverted the original changeset. I still believe it is likely to be an
issue on the ceph side, though, and the changes remain in 3.x.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
type: - behavior
Antoine Pitrou added the comment:
We're still willing to fix this if someone tells us how to test for LibreSSL in
C code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
Greg Ward added the comment:
Would it be possible to write a unit test, maybe using unittest.mock to
mock most parts?
Good idea! Turns out this was quite straightforward. The test patch is:
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1,6 +1,7 @@
# Copyright (C) 2003
Greg Ward added the comment:
I'll commit on branch 3.4 and merge to default.
Whoops, never mind. Looks like I don't have push permission to hg.python.org
after all. It's been 8 years since my last commit, so I shouldn't complain.
So... can someone with commit privs please
hg pull -r
New submission from Gregory P. Smith:
When running a parallel make -j12 test, test_pydoc fails reasonably often with:
test test_pydoc failed -- Traceback (most recent call last):
File /.../Lib/test/test_pydoc.py, line 556, in test_synopsis_sourceless
synopsis = pydoc.synopsis(filename)
Akira Li added the comment:
@Esa changing the buffer size helps with some bad files
but lzma module still fails on some files.
I've uploaded decompress-example-files.py script that demonstrates it.
--
nosy: +akira
Added file: http://bugs.python.org/file37239/decompress-example-files.py
Changes by Akira Li 4kir4...@gmail.com:
Added file: http://bugs.python.org/file37240/decompress-example-files.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21872
___
Changes by Akira Li 4kir4...@gmail.com:
Removed file: http://bugs.python.org/file37239/decompress-example-files.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21872
___
60 matches
Mail list logo