On 05/03/2015 03:38, Rustom Mody wrote:
On Thursday, March 5, 2015 at 1:03:13 AM UTC+5:30, Marko Rauhamaa wrote:
Steven D'Aprano:
Care to enlighten us then? Because your anecdote doesn't appear to
have even the most tenuous relationship to this discussion.
Even more important, when you talk
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
___
On Wed, 04 Mar 2015 21:33:01 +0200, Marko Rauhamaa ma...@pacujo.net
wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info:
Care to enlighten us then? Because your anecdote doesn't appear to
have even the most tenuous relationship to this discussion.
English-speaker, when you name things
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
On Fri, Mar 6, 2015 at 5:37 AM, Ethan Furman et...@stoneleaf.us wrote:
On 03/04/2015 01:26 AM, Chris Angelico wrote:
Do you have Mozilla Firebug, and if so, can you try the file
attachment with Firebug active? At very least, you should be able to
see exactly what request is getting reset, and
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,
Steve Hayes hayes...@telkomsa.net:
On Wed, 04 Mar 2015 21:33:01 +0200, Marko Rauhamaa ma...@pacujo.net
English-speaker, when you name things in your Python programs, you had
better stick to American spellings.
Even more important, when you talk about Python or other computer stuff
to a
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
Am 05.03.15 um 18:31 schrieb Mehdi:
Hi
I know there are tools like cx_freeze or nuitka for making a linux standalone
python app. but i couldn't find a good tutorial about how to making a
portable gui-enabled python3 app in linux. by gui-enabled i mean application
which use any gui libs
On Thu, Mar 5, 2015, at 09:06, Steven D'Aprano wrote:
I mostly agree with Chris. Supporting *just* the BMP is non-trivial in
UTF-8
and UTF-32, since that goes against the grain of the system. You would
have
to program in artificial restrictions that otherwise don't exist.
UTF-8 is already
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
___
It's been brought up on Stack Overflow that the in operator (on
tuples, and by my testing on dict and list, as well as dict lookup) uses
object identity as a shortcut, and returns true immediately if the
object being tested *is* an element of the container. However, the
contains operation does not
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
random...@fastmail.us wrote:
On Thu, Mar 5, 2015, at 09:06, Steven D'Aprano wrote:
I mostly agree with Chris. Supporting *just* the BMP is non-trivial in
UTF-8
and UTF-32, since that goes against the grain of the system. You would
have
to program in artificial restrictions that otherwise
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
Ben Finney wrote:
sohcahto...@gmail.com writes:
I should have known better than to make a joke on this mailing list.
Someone is bound to get their panties all up in a bunch.
You should have known better than to make gendered slurs. Claiming “it
was a joke” doesn't alter the sexism of
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
___
On 05/03/2015 22:59, Ben Finney wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Ben Finney wrote:
sohcahto...@gmail.com writes:
I should have known better than to make a joke on this mailing
list. Someone is bound to get their panties all up in a bunch.
You should
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
On Fri, Mar 6, 2015 at 10:27 AM, sohcahto...@gmail.com wrote:
Do you have an example of where `a is b` but `a != b` in Python? `None ==
None` is True.
Check out the subject line.
nan = float(nan)
nan is nan # obviously
True
nan != nan # IEEE 754 mandates
True
ChrisA
--
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
W dniu 23.12.2014 o 11:25, Steve Hayes pisze:
[1] Or worse, one of those shitty messages that include a plain text part
that says Your mail program cannot read this email. Please upgrade to a
better mail program.
I usually reply to those saying So why did you send it to me?
I suspect that in
On Fri, Mar 6, 2015 at 10:11 AM, sohcahto...@gmail.com wrote:
I would argue that if `a is b` then it is obvious that `a == b`
This is not true for float(nan), though. The question is, is your
above statement a valid optimization for the 'in' operator, or not?
And no, it isn't, because it's not
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
sohcahto...@gmail.com writes:
I would argue that if `a is b` then it is obvious that `a == b`
It may be obvious, but it's not necessarily true. Some commonly-used
values – for example, an “null” – are not equal to themselves, by
definition.
It is fine to define such a type in Python, because
sohcahto...@gmail.com writes:
On Thursday, March 5, 2015 at 3:20:16 PM UTC-8, Ben Finney wrote:
It is fine to define such a type in Python, because 'is' does not
necessarily imply '=='.
Do you have an example of where `a is b` but `a != b` in Python?
Maybe I misunderstand your question,
What is the rationale behind making the slice class data attributes
readonly?
I've built a __getitem__ method for a Map class that contains a list
of Cell instance objects. __getitem__ maps this list into a matrix::
# get cell at cartesian coordinates 12, 4
# will map to the 1048th
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
___
Nothing about nans is 'correct'. They are a CS invention
On 3/5/2015 5:26 PM, random...@fastmail.us wrote:
It's been brought up on Stack Overflow that the in operator (on
tuples, and by my testing on dict and list, as well as dict lookup) uses
object identity as a shortcut, and returns true
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
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Since reflexivity is *almost* universal, and using object identity
permits very substantial optimizations, the core developers agreed
that built-in contain types may assume that `x is y` implies `x == y`.
Users of NANs and other
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
___
On Thu, Mar 5, 2015 at 4:57 PM, Mario Figueiredo mar...@gmail.com wrote:
What is the rationale behind making the slice class data attributes
readonly?
I've built a __getitem__ method for a Map class that contains a list
of Cell instance objects. __getitem__ maps this list into a matrix::
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
___
Hi all,
Is there a way to generate permutations of large arrays of sizes say,in the
hundreds, faster than in the time itertools.permutations() can return?
-Abhiram.R
*~Never give up*
--
https://mail.python.org/mailman/listinfo/python-list
On 12/22/2014 3:54 PM, Rick Johnson wrote:
On Monday, December 22, 2014 12:16:03 PM UTC-6, sohca...@gmail.com wrote:
On Monday, December 22, 2014 12:16:15 AM UTC-8, shawool wrote:
[snip: OP's adolescent accessorizing] @_@
Is there a reason you're composing your messages with a
large, colored
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
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Ben Finney wrote:
sohcahto...@gmail.com writes:
I should have known better than to make a joke on this mailing
list. Someone is bound to get their panties all up in a bunch.
You should have known better than to make
On Thursday, March 5, 2015 at 2:27:12 PM UTC-8, rand...@fastmail.us wrote:
It's been brought up on Stack Overflow that the in operator (on
tuples, and by my testing on dict and list, as well as dict lookup) uses
object identity as a shortcut, and returns true immediately if the
object being
On Thursday, March 5, 2015 at 3:20:16 PM UTC-8, Ben Finney wrote:
sohcahto...@gmail.com writes:
I would argue that if `a is b` then it is obvious that `a == b`
It may be obvious, but it's not necessarily true. Some commonly-used
values - for example, an null - are not equal to themselves,
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
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Ben Finney wrote:
“get their panties all up in a bunch” is a gendered slur.
Why do you interpret that as insulting to women merely on the basis of
being *female*?
I think your question is in bad faith. You know as well as I do,
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
Ethan Furman et...@stoneleaf.us writes:
On 03/05/2015 06:55 PM, Ben Finney wrote:
class NullType(object):
A type whose value never equals any other.
This type's values will behave correctly when tested for
membership in a collection::
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
random...@fastmail.us wrote:
It's been brought up on Stack Overflow that the in operator (on
tuples, and by my testing on dict and list, as well as dict lookup) uses
object identity as a shortcut, and returns true immediately if the
object being tested *is* an element of the container.
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
___
Ben Finney wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Ben Finney wrote:
sohcahto...@gmail.com writes:
I should have known better than to make a joke on this mailing
list. Someone is bound to get their panties all up in a bunch.
You should have known
On 03/05/2015 06:55 PM, Ben Finney wrote:
class NullType(object):
A type whose value never equals any other.
This type's values will behave correctly when tested for
membership in a collection::
foo = NullType()
bar
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
___
Hi
I know there are tools like cx_freeze or nuitka for making a linux standalone
python app. but i couldn't find a good tutorial about how to making a portable
gui-enabled python3 app in linux. by gui-enabled i mean application which use
any gui libs like pygobject, qt or wx.
I know most of
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
On Thu, 05 Mar 2015 07:19:42 +0200, Marko Rauhamaa ma...@pacujo.net
wrote:
Where I work, people do use voice still occasionally to communicate.
Communications skills... the bane of any software developer.
Pronunciation is just another obstacle to cross on top of the natural
barrier that is
1 - 100 of 160 matches
Mail list logo