New submission from Ned Deily:
Per the discussion in Issue23476, the installers should be updated to use
OpenSSL 1.0.2 to solve the shortest trust path issue documented there.
--
components: Build
messages: 237287
nosy: ned.deily, steve.dower
priority: normal
severity: normal
stage:
Ned Deily added the comment:
Issue23593 opened to request Windows and OS X installer OpenSSL updates to 1.0.2
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
STINNER Victor added the comment:
I close the issue as wont fix. I may workaround the bug during Python
finalization if more users report this issue.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Donald Stufft don...@stufft.io:
--
nosy: +dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23593
___
___
Python-bugs-list mailing
Terry J. Reedy added the comment:
Yes, this would complement your checker patch from last summer. It would solve
the issue of how to tell or help people, especially beginners, install packages
to run with the checker.
Idea for the package manager: include an option to duplicate a set of
Donald Stufft added the comment:
It was merged to the 2.7 branch, so it'll be released as part of 2.7.10.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
John Nagle added the comment:
Will this be applied to the Python 2.7.9 library as well?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23593
___
___
Python-bugs-list
New submission from A. Skrobov:
I'm observing that this line of code:
https://hg.python.org/cpython/file/ec9bffc35cad/Python/ceval.c#l3010
-- causes a SIGSEGV on interpreter shutdown, after running some really
convoluted Python code with daemon threads running wild.
At the time of the crash,
Ryan Gonzalez added the comment:
Ahh...ok, then please post the changes. I want to burn autotools enough right
now; I doubt that redoing those changes would ease my anger. :)
--
___
Python tracker rep...@bugs.python.org
Cyd Haselton added the comment:
I can...
./configure --prefix=/usr/python --enable-shared --without-ensurepip
...but configure didn't set up pyconfig.h correctly with those options. There
are some changes I had to make post-configure to pyconfig.h and others when I
initially built
Alex Gaynor added the comment:
+1 on this -- for pyca/cryptography we're also making this leap in our next
release.
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23593
___
Isaac Schwabacher added the comment:
...and fixed a spot where git diff + copy/paste truncated a long line.
/sheepish
--
Added file: http://bugs.python.org/file38346/test_import.patch
___
Python tracker rep...@bugs.python.org
Changes by Ethan Furman et...@stoneleaf.us:
--
stage: patch review - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
Robert Collins added the comment:
Storing a marker in module objects which can be used to validate the linecache
is a good idea. timestamp isn't appropriate because of modules loaded from zips
or dynamic generation. I'd suggest we make it something opaque - we get source
code by asking the
Jeff Zemla added the comment:
In 3), not should be now
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23594
___
___
Python-bugs-list mailing
Mark Lawrence added the comment:
Where do we find Antoine's suite of benchmarks?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4896
___
New submission from STINNER Victor:
To implement the PEP 485 (math.isclose), I proposed to split the math module
into two parts: _math (C) and math (py). The current C module is renamed to
_math and a new math module implementd in Python is added. The math module
contains from _math import *.
STINNER Victor added the comment:
We may add tests on fsum() with nan:
assert fsum([nan, nan, nan]) == nan
assert fsum([nan, 1.0, inf]) == nan
assert fsum([nan, 1.0, -inf]) == nan
--
___
Python tracker rep...@bugs.python.org
Robert Collins added the comment:
And the unittest patch.
--
Added file: http://bugs.python.org/file38348/issue-22936-5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
Changes by Robert Collins robe...@robertcollins.net:
Added file: http://bugs.python.org/file38349/issue-22936-5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
New submission from Jeff Zemla:
I've found a rather simple bug in the default CPython implementation on Mac OS
X 10.9.5
1) Create a new .py file containing:
def a():
print q
x=5
2) Open Python and run using execfile() then a(). Receive error as expected:
File test.py, line 2, in a
Changes by Ned Deily n...@acm.org:
--
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Unupdated source file in traceback
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23594
Robert Collins added the comment:
No worries. BTW there is one more patch needed to close this issue - adding the
feature to unittest. I'm working that up now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
Isaac Schwabacher added the comment:
Fixed a truncated line in the patch.
--
Added file: http://bugs.python.org/file38347/test_support.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20876
STINNER Victor added the comment:
I didn't benchmark the overhead of the patch on import math (Python startup
time)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23595
___
Paul Moore added the comment:
There have been no further comments for a while now. Could this be committed by
someone?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23491
___
STINNER Victor added the comment:
Where do we find Antoine's suite of benchmarks?
https://hg.python.org/benchmarks
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4896
___
Ethan Furman added the comment:
I have no problem with having Python versions, but we should not remove
anything from the C implementation -- at a minimum they should be good for
testing against.
--
nosy: +ethan.furman
___
Python tracker
Changes by Robert Collins robe...@robertcollins.net:
Removed file: http://bugs.python.org/file38348/issue-22936-5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
Changes by Guido van Rossum gu...@python.org:
--
nosy: -gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
___
Python-bugs-list
Demian Brecht added the comment:
I've attached a patch that implements full Transfer-Encoding support for
requests as specified in RFC 7230.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12319
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - patch review
type: behavior - resource usage
versions: +Python 2.7, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23590
___
Ned Deily added the comment:
[Sorry, incorrect issue number in the commit messages!]
New changeset 62c3742eb25f by Ned Deily in branch '2.7':
Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2.
https://hg.python.org/cpython/rev/62c3742eb25f
New changeset b2f3a44dbe1b by Ned
STINNER Victor added the comment:
@Alex: you should open a new issue for isclose.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23595
___
___
Ethan Furman added the comment:
If there is a complex number version it will live in cmath, not math.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23595
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23595
___
R. David Murray added the comment:
This is a duplicate of an existing issue but I don't have time to find the
issue. It's not a trivial problem to fix, though now that the import system is
in python it may be possible.
--
nosy: +r.david.murray
___
Ezio Melotti added the comment:
#8087
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23594
___
___
Python-bugs-list mailing
Demian Brecht added the comment:
I hit submit a little too soon.
The intention of the patch is to adhere to all aspects of Transfer-Encoding as
specified in the RFC and to make best guesses as to encoding that should be
used based on the data type of the given body.
This will break backwards
Mark Lawrence added the comment:
Cut and paste error?
if verbose:
@@ -110,17 +110,17 @@
for t in threads:
t.join()
self.assertTrue(not t.is_alive())
+self.assertFalse(t.is_alive())
--
nosy: +BreamoreBoy
Changes by Demian Brecht demianbre...@gmail.com:
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12319
___
___
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg237316
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23594
___
Roundup Robot added the comment:
New changeset 62c3742eb25f by Ned Deily in branch '2.7':
Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2.
https://hg.python.org/cpython/rev/62c3742eb25f
New changeset b2f3a44dbe1b by Ned Deily in branch '3.4':
Issue #23594: Update OS X 10.5
New submission from Nick Coghlan:
Issue #22936 added support for easily displaying local variables in tracebacks
to the unittest and traceback modules.
Would it be worth also making this capability readily available in the logging
APIs that display traceback messages?
The main argument
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +traceback module has no way to show locals
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23597
___
Berker Peksag added the comment:
Thanks for the patch, but we need to add tests for the current CLI to make sure
that we don't break anything when we apply gzip-argparse-cli.patch. See
Lib/test/test_tarfile.py and Lib/test/test_calendar.py for example CLI tests.
--
nosy:
Mark Lawrence added the comment:
LGTM.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20548
___
___
Python-bugs-list mailing
Robert Collins added the comment:
Yes, for debugging etc this can be very useful. I suggest further extending the
new traceback interface to allow a filtering/transform hook of some sort, to
allow folk more granular control than just repr overloading.
--
nosy: +rbcollins
Steve Dower added the comment:
Added a patch that disables the invalid parameter handler in new_threadstate()
so that all Python threads are protected from termination.
_PyVerify_fd is still moved into fileutils.c, but _Py_BEGIN/END_SUPPRESS_IPH
and _Py_VERIFY_FD are gone. For VC14,
Antoine Pitrou added the comment:
Yes, daemon threads are really dangerous because they may keep running while
the interpreter has started releasing critical resources. Things have improved
in 3.x compared to 2.x, though.
--
nosy: +pitrou
___
New submission from Antony Lee:
The attached patch reimplements gzip's already existing command-line interface
using argparse, both to provide command-line help and to avoid manual argument
parsing.
--
components: Library (Lib)
files: gzip-argparse-cli.patch
keywords: patch
messages:
Roundup Robot added the comment:
New changeset e74e2ce81a1c by Ned Deily in branch '2.7':
Issue #23593: fix Misc/NEWS entries
https://hg.python.org/cpython/rev/e74e2ce81a1c
New changeset da3fe5fda078 by Ned Deily in branch '3.4':
Issue #23593: fix Misc/NEWS entries
Mark Lawrence added the comment:
LGTM.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20557
___
___
Python-bugs-list mailing
Mark Lawrence added the comment:
msg237320 ...so I'm *NOT* entirely convinced...? :)
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
Jack O'Connor added the comment:
Got it, thanks for the heads up.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23548
___
___
Python-bugs-list
Patrick Miller added the comment:
This is also in the 2.7.x branch. Same patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23590
___
___
Ethan Furman added the comment:
Thanks, Neil, for catching that.
I did run the entire test suite with the patch, and nothing new broke, so it
would seem the patch is at least benign. :)
--
nosy: +ethan.furman
___
Python tracker
Ethan Furman added the comment:
Oh, and my tests ran on Ubuntu 13.04 (GNU/Linux 3.8.0-22-generic x86_64).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
Davin Potts added the comment:
This same issue came up recently in issue23582. Really, it should have been
addressed in this issue here first and issue23582 marked as a duplicate of this
one but these things don't always happen in a synchronous or apparently-linear
fashion.
Adding to what
Changes by Davin Potts pyt...@discontinuity.net:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20147
___
___
Ryan Gonzalez added the comment:
So...you didn't make the changes by hand? Could you just post whatever you
passed to configure?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23496
___
Davin Potts added the comment:
The original issue now appears addressed in the docs (thanks goes to Stuart and
Jesse) though it was not explicitly tracked here as a patch file.
The follow-on secondary issue from spongebob (if that is your real name) could
not be reproduced by Richard.
This
Raymond Hettinger added the comment:
I don't think we should strip-out all the docstrings because you're unhappy
with automatically (mindlessly) generated documentation. What you really need
is more control over the documentation tool (the ability to save how much
detail you want,
Raymond Hettinger added the comment:
I think you should take this up on python-ideas and don't expect it to gain any
traction here. For best results, the proposal should be accompanied by valid
use cases that can't easily be handled in some other way. The bar for adding a
new builtin
New submission from Yongzhi Pan:
In
https://docs.python.org/3/faq/programming.html#what-are-the-rules-for-local-and-global-variables-in-python,
two sentences of essentially the same meaning exist. I try to remove this
redundancy.
--
assignee: docs@python
components: Documentation
Changes by Yongzhi Pan panyong...@gmail.com:
--
nosy: +fossilet
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14544
___
___
Python-bugs-list
Neil Girdhar added the comment:
FWIW I looked at the changes. Does it make sense to run tests before there are
actual tests in lib/Test? I'll happily run all tests when some new ones are
added.
--
nosy: +neil.g
___
Python tracker
Serhiy Storchaka added the comment:
Looks as tests are fixed. Thank you Victor.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
Ezio Melotti added the comment:
In the patch you made some args kw-only.
Isn't that backward incompatible in case someone was passing them by position?
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
Patrick Miller added the comment:
Here's a simple recreator... It returns a 100-meg string instead of a float.
The memory is leaked each time through the loop
--
Added file: http://bugs.python.org/file38343/recreate.tar
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23591
___
___
Davin Potts added the comment:
Updates to both cx-freeze and multiprocessing in the meantime may likely have
addressed this since this issue was first reported. Granted, diagnosing issues
with cx-freeze are best directed to the cx-freeze project -- that is perhaps
where this issue should be
Nick Coghlan added the comment:
It's only the new APIs just introduced in issue #17911 that changed to kwonly
arguments.
We missed that they should really be kwonly in the original review, but it
become more obvious in this patch, as it added a second feature toggle to
indicate whether or
STINNER Victor added the comment:
I reviewed 23524_2.patch. I vote -1 on the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23524
___
___
Changes by Saimadhav Heblikar saimadhavhebli...@gmail.com:
--
nosy: +sahutd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
___
___
Raymond Hettinger added the comment:
+1 for the proposed change. It should add there is also an enforced (and
obvious) restriction that the variable not have been declared nonlocal.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Benjamin, can you please add at least a comment describing why you added the
flag? We have enough obscure-looking code in _ssl.c as it is.
--
___
Python tracker rep...@bugs.python.org
Yongzhi Pan added the comment:
Updated diff as Raymond's wording.
--
Added file: http://bugs.python.org/file38340/faq_fix_1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23589
___
Patrick Miller added the comment:
Shout out to amaury for a much simpler recreator :-)
Checked to see if the int conversion suffered the same problem... it does not
as it is structured somewhat differently. Note that it DOES do the proper
DECREF (missing in PyFloat_AsDouble).
result =
Christian Heimes added the comment:
The Windows binaries of Python 2.7.9 are compiled with OpenSSL 1.0.1j. The
feature is only available in OpenSSL 1.0.2. The next version of Python must
be compiled with 1.0.2 or better. Otherwise the bug pops up again.
--
Steve Dower added the comment:
Happy to discuss further. I'll try and get a new patch done today that disables
the handler for any threads Python creates a thread state for. The change to
_Py_VERIFY_FD will still be there, but the begin/end suppress will go (using
the verify function to
New submission from Serhiy Storchaka:
Here is preliminary implementation of IntFlags (no docs). This is an int
subclass purposed to represent a set of integer flags. It supports named
constants (as IntEnum), supports bitwise operations (, |, ~) and has funny str
and repr. See discussion on
Amaury Forgeot d'Arc added the comment:
Simple script to reproduce the issue:
import sys, time
class C(object):
def __float__(self):
return
for x in range(1):
try:
time.sleep(C())
except TypeError:
pass
if x % 1000 == 0:
print(sys.getrefcount())
--
nosy:
Davin Potts added the comment:
Doing cleanup: This was marked as out of date in 2010 but somehow escaped
being marked closed. Closing now.
--
nosy: +davin
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
I think the first sentence could be improved, even though it's correct.
A superficial reading might give the impression that function variables are
implicitly global, or that only the variables inside a function are global,
especially if the reader is not
Antoine Pitrou added the comment:
Uh, the comment is already there. I don't know how I missed that. Sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
STINNER Victor added the comment:
Did you read the latest doc? You should also use the -Wd command line
option to see resource warnings.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23548
STINNER Victor added the comment:
Debug mode:
https://docs.python.org/dev/library/asyncio-dev.html#asyncio-debug-mode
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23548
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
stage: - commit review
versions: +Python 2.7 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23579
___
___
Neil Girdhar added the comment:
Removed dead code. Awaiting code review! :)
--
Added file: http://bugs.python.org/file38341/starunpack35.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
Cyd Haselton added the comment:
I understand; I haven't made the edits to these files but the edits are needed
in order for the Android build to work properly.
How do you want me to handle them? I can post the expected values here as a
diff, or just as plain text...?
--
Raymond Hettinger added the comment:
How about:
In Python, variables that are only referenced inside a function are implicitly
global. If a variable is assigned a value anywhere within the function's
body, it's assumed to be a local unless explicitly declared as global.
--
nosy:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14544
___
STINNER Victor added the comment:
Since we're doing alpha 2 this weekend, I'm keen to get this fix in.
I would prefer a quickdirty fix: disable IFD checks for all threads by
default. We will find a better fix for the next release. IMO we should discuss
this issue more to check if there is no
Saimadhav Heblikar added the comment:
Hi,
I would like to work on this. Give me a day or two to come up with my design
plan, for feedback.
Let me know please if this feature addition is being considered.
--
nosy: +sahutd
___
Python tracker
Ezio Melotti added the comment:
You are right -- I didn't notice the versionadded in the docs.
Sorry for the noise.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22936
___
New submission from Patrick Miller:
There is a reference counting error in PyFloat_AsDouble.
When the function calls the nb_float conversion, if the method does not return
an actual float object, an exception is set, but the object is not collected.
--- Objects/floatobject.c 2014-10-08
Changes by Demian Brecht demianbre...@gmail.com:
Added file: http://bugs.python.org/file38352/issue12319_1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12319
___
1 - 100 of 109 matches
Mail list logo