Martin Panter added the comment:
Sure, new version is fine by me
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
I think we should add __enter__ for consistency.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
___
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
type: - behavior
versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11276
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file38386/overflow-pipe-test-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
___
Roundup Robot added the comment:
New changeset 4ea40dc3d26d by Serhiy Storchaka in branch '3.4':
Issue #21619: Cleaned up test_broken_pipe_cleanup.
https://hg.python.org/cpython/rev/4ea40dc3d26d
New changeset 41ce95a5b2d8 by Serhiy Storchaka in branch 'default':
Issue #21619: Cleaned up
Claudiu Popa added the comment:
This was fixed a couple of months ago:
https://hg.python.org/cpython/rev/07968254be96. Also, malloc was changed to
PyMem_New a couple of weeks ago: https://hg.python.org/cpython/rev/036a2aceae93
--
nosy: +Claudiu.Popa
resolution: - fixed
stage: needs
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7877
___
___
Python-bugs-list
Håkan Lövdahl added the comment:
Here is a suggestion for a patch. It adds the missing matmul and has a small
test for it.
--
keywords: +patch
nosy: +Håkan Lövdahl
Added file: http://bugs.python.org/file38368/issue23581.patch
___
Python tracker
Peter J C Law added the comment:
Hi,
Sorry for the overkill demo. I've attached a much shorter version, the key
portion of which seems to be that, for the case of UK summer time the timezone,
the tzinfo's `dst()` and `utcoffset()` methods return the same value.
This results in the delta
Håkan Lövdahl added the comment:
I wrote a small patch and a test for it. Tested it on Python 3.5 and it worked.
--
keywords: +patch
nosy: +Håkan Lövdahl
Added file: http://bugs.python.org/file38373/issue23568.patch
___
Python tracker
Serhiy Storchaka added the comment:
See also issue16465.
--
nosy: +pitrou, rhettinger, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23601
___
Serhiy Storchaka added the comment:
Nick, what is your thoughts about the patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23103
___
___
Antoine Pitrou added the comment:
Interesting. I can reproduce the speedup on 64-bit Linux (Ubuntu 14.10).
--
stage: - patch review
type: - performance
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23601
Serhiy Storchaka added the comment:
$ ./python -m timeit dict(a=5, b=2)
Unpatched: 10 loops, best of 3: 2.5 usec per loop
issue16465 patch: 100 loops, best of 3: 1.87 usec per loop
issue23601 patch: 100 loops, best of 3: 1.98 usec per loop
--
Roundup Robot added the comment:
New changeset 5903ab233a1d by Benjamin Peterson in branch '3.4':
replace Amazon links in the documentation (closes #23579)
https://hg.python.org/cpython/rev/5903ab233a1d
New changeset 4ad1ea911fd0 by Benjamin Peterson in branch '2.7':
replace Amazon links in the
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23051
___
___
Changes by Håkan Lövdahl hlovd...@gmail.com:
--
nosy: +Håkan Lövdahl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21800
___
___
Python-bugs-list
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +davin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21779
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7352
___
___
Python-bugs-list
Terry J. Reedy added the comment:
PS. I am fine with your initial plan.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: -Claudiu.Popa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13397
___
___
Matthias Klose added the comment:
this seems to work for me:
$ python-config --ldflags
-L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpython2.7 -lpthread
-ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
the patch is incomplete, no patch for the shell
Serhiy Storchaka added the comment:
May be the code would cleaner when convert the for loop to the while loop
and wrap in try/except only next()?
--
Added file: http://bugs.python.org/file38377/issue_23051_4-3.4.patch
___
Python tracker
Terry J. Reedy added the comment:
On Windows, I think we should consider directly supportting
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Unofficial Windows Binaries for Python Extension Packages
When possible, this has 2.6, 2.7, 3.3, and 3.4 binaries for 32 and 64 bits.
I and others use this
Roundup Robot added the comment:
New changeset 88a5c1698ca4 by Serhiy Storchaka in branch 'default':
Issue #23103: Reduced the memory consumption of IPv4Address and IPv6Address.
https://hg.python.org/cpython/rev/88a5c1698ca4
--
nosy: +python-dev
___
Mark Lawrence added the comment:
I really do think we should support Christoph's site. It has saved me many a
headache over the years. For beginners it's also got to be preferable to
seeing the rather cryptic Unable to find vcvarsall.bat message, plus how many
of them want to install VS?
Mark Shannon added the comment:
I would say yes, it is too late. Any change to the AST is a breaking change.
The current AST is full of missing line numbers, incorrect column offsets and
other inconsistencies. To fix them all would be a major undertaking with no
obvious benefit to the core
Mark Lawrence added the comment:
I've added names from the nosy list for #20986 as it appears to be similar.
--
nosy: +BreamoreBoy, brett.cannon, christian.heimes, ncoghlan, vinay.sajip
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17570
___
___
Python-bugs-list
Nick Coghlan added the comment:
+1 from me, although since we're committing to preserving the weakref support
for compatibility reasons now, I'm wondering if we should also add a test for
it.
--
___
Python tracker rep...@bugs.python.org
New submission from Tuomas Suutari:
Since Decimal supports __format__, it would be nice that Fraction did too.
--
components: Library (Lib)
messages: 237460
nosy: tuomas.suutari
priority: normal
severity: normal
status: open
title: Implement __format__ for Fraction
versions: Python 3.5
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.smith, ezio.melotti, mark.dickinson, rhettinger, skrah
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23602
New submission from Ashish Sadanandan:
I'm trying to embed Python 3.4.3 (x64) in a program compiled using MinGW-W64
g++ 4.9.2 (output from g++ -v attached) and Boost.Python 1.57.0. A simple
example kept crashing at runtime and I managed to track it down to this
testcase (which is not using
Tuomas Suutari added the comment:
Here's a patch that adds Fraction.__format__ implementation, test cases and
documentation.
--
keywords: +patch
Added file: http://bugs.python.org/file38378/issue23602.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch with much simpler implementation.
--
components: +Extension Modules
Added file: http://bugs.python.org/file38379/sqlite3_row_slice.patch
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21992
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
OK. But I hesitate that weakref support is useful for IP addresses.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23103
Changes by Ashish Sadanandan ashish.sadanan...@gmail.com:
--
title: MinGW-64 - MinGW-64 and embedding Python3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23603
___
Mark Shannon added the comment:
I don't remember why PyMem_Malloc rather than PyObject_MALLOC was used, it may
have been inherited from the allocation of dict tables in the earlier
implementation.
My only concern is that the benchmark only tests performance for very small
dictionaries. The
Ezio Melotti added the comment:
Here is a patch that fixes the problem.
Even though calling .close() is the correct solution, I preferred to restore
the previous behavior and call handle_data as soon as possible.
There is a corner case in which a charref might be cut in half while feeding
Saimadhav Heblikar added the comment:
For the initial version here is what I plan to code:
A single package manager entry in a suitable menu. This would open a dialog
window
containing options for (inspired from msg236906).
1. Show installed packages(freeze)
This menu would have
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file38376/issue23144.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23144
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file38380/issue23144.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23144
___
Serhiy Storchaka added the comment:
from fractions import Fraction as F
format(F(1, 3), '.30f')
'0.00'
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23602
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa
versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4851
___
Mark Lawrence added the comment:
As 2.7 is to be supported until 2020 and a potential fix is available shouldn't
we be using it?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22455
Mark Lawrence added the comment:
LGTM at a quick glance. Can we have a formal patch review please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7
___
koobs added the comment:
+nosy doko on ned_deily's advice
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7352
___
___
koobs added the comment:
Still an issue on 2.7, 3.2, 3.3. Updating Versions to reflect this fact and
assist downstreams in backporting a forthcoming fix to those versions that
won't get it due to security-fix only branches.
See Also:
Issue:
Changes by Peter Otten __pete...@web.de:
--
nosy: +peter.otten
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23495
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Added comments on Rietveld.
Is there a limit to the length of header line? Would not unfolding all header
values exceed the limit?
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
___
Python tracker
Changes by Alistair Lynn arpl...@gmail.com:
--
nosy: +alynn
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23600
___
___
Python-bugs-list mailing
Changes by Håkan Lövdahl hlovd...@gmail.com:
--
nosy: +Håkan Lövdahl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16462
___
___
Python-bugs-list
Mark Lawrence added the comment:
The referenced issue1659410 has been closed as too late. Does that also
apply here or is this still considered to be a valid enhancement request?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 2.7
___
Python
Ben Hoyt added the comment:
Oops, I'm sorry re previous comment -- looks like I forgot to attach
scandir-8.patch. Now attached. Please re-read my previous comment and review.
:-)
--
Added file: http://bugs.python.org/file38374/scandir-8.patch
___
Marc-Andre Lemburg added the comment:
There seem to be quite a few other places where this simple optimization could
make sense as well, perhaps even going as far
as converting all uses of PyMem_MALLOC to PyObject_MALLOC.
There was a time when the small memory allocator did not return
free
Serhiy Storchaka added the comment:
The patch changes this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19610
___
___
Python-bugs-list
Davin Potts added the comment:
Attaching updated single patch for both default/3.5 and 3.4 to use Serhiy's
insightful simplification.
This updated patch has been tested on current Debian Hurd (see earlier comments
about full battery of tests there) and OS X 10.10 (full, verbose tests).
Note
Mark Lawrence added the comment:
This can be reproduced on Windows 8.1.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21779
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
title: mrohasattr and mrogetattr - add dedicated functions mrohasattr and
mrogetattr
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22268
Davin Potts added the comment:
I am unable to reproduce the described behavior using the script provided in
that gist using Python 2.7.9 on OS X 10.10 with scikit-learn 0.15.2, scipy
0.14.0, numpy 1.9.0.
For me, the sample code runs happily through to completion.
Can the OP still reproduce
Roundup Robot added the comment:
New changeset ad64b6a7c0e2 by Serhiy Storchaka in branch 'default':
Issue #21793: BaseHTTPRequestHandler again logs response code as numeric,
https://hg.python.org/cpython/rev/ad64b6a7c0e2
--
___
Python tracker
Serhiy Storchaka added the comment:
Thank you Martin for noticing a logging issue.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21793
___
Serhiy Storchaka added the comment:
According to RFC 6265, Section 5.2:
2. If the name-value-pair string lacks a %x3D (=) character,
ignore the set-cookie-string entirely.
But Set-Cookie: spam; Expires=Thu, 01 Jan 1970 00:00:10 GMT is accepted.
key=spam, value=None.
5. If the
Tuomas Suutari added the comment:
Here's a patch that fixes the description for 'g' to explain what happens for
`Decimal` and also documents the Decimal.__format__ in the documentation of the
decimal module.
--
keywords: +patch
nosy: +Tuomas Suutari
Added file:
New submission from Julian Taylor:
dictionary creation spends a not insignificant amount of time in malloc
allocating keys objects. Python has a nice small object allocator that avoids a
lot of this overhead and falls back to malloc for larger allocations.
Is there a reason the dictionary does
Changes by Peter Otten __pete...@web.de:
--
nosy: +peter.otten
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23551
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
type: - behavior
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23584
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23579
___
___
Julian Taylor added the comment:
attached documentation update patch.
--
keywords: +patch
Added file:
http://bugs.python.org/file38369/0001-Issue-23530-Update-documentation-clarify-relation-of.patch
___
Python tracker rep...@bugs.python.org
Tuomas Suutari added the comment:
The context manager support was added on issue #5511, so the documentation
should go to 2.7, 3.4 and default. Also the version added notes should be added.
--
nosy: +Tuomas Suutari
___
Python tracker
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7352
___
___
Python-bugs-list mailing list
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: commit review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21793
___
___
Changes by Mark Shannon m...@hotpy.org:
--
nosy: +Mark.Shannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23601
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
status: languishing - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
Serhiy Storchaka added the comment:
Added comments on Rietveld.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Python-bugs-list
Changes by SilentGhost ghost@gmail.com:
--
nosy: +lemburg, tim.peters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23601
___
___
Berker Peksag added the comment:
Looks good. I'll tweak the patch and commit it. Thanks Håkan.
--
stage: - patch review
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23581
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23138
___
Martin Panter added the comment:
Folded header fields are deprecated as of RFC 7230; see
https://tools.ietf.org/html/rfc7230#section-3.2.4. The only reasons to fold
them I can think of is for readability (debugging), when generating a
messsage/http MIME message (which I don’t think the Python
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7
___
___
Python-bugs-list
Changes by SilentGhost ghost@gmail.com:
--
components: +Installation, Windows -Extension Modules
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23604
Martin Panter added the comment:
The code changes look correct and worthwhile to me. Just added some suggestions
for the comments, which would become out of date.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7
Martin Panter added the comment:
I still think it would be worthwhile adding close() calls to the examples in
the documentation (Doc/library/html.parser.rst).
BTW I haven’t tested this, and maybe it is not a concern, but even with this
patch it looks like the parser will buffer unlimited data
STINNER Victor added the comment:
overflow-pipe-test.patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21619
___
___
New submission from Daiyue Weng:
Hi, I was doing a fresh installation for Python 2.7.9 (32 bit) and 3.4.3 (32
bit) (downloaded from PSF) on Win7 X64 today, and I found that there is no
'Script' folder in 'Python27' and 'Python34' folder as first child level
folder, but there is one in Tools.
Antoine Pitrou added the comment:
I have applied the patch to 3.4 and default. Thank you!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20876
Roundup Robot added the comment:
New changeset 40e8a8e83ed0 by Antoine Pitrou in branch '3.4':
Issue #20876: correctly close temporary file in
test.support.fs_is_case_insensitive()
https://hg.python.org/cpython/rev/40e8a8e83ed0
New changeset 5406ed13bd6e by Antoine Pitrou in branch 'default':
Changes by Claudiu Popa pcmantic...@gmail.com:
Added file: http://bugs.python.org/file38382/issue21518_5.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21518
___
Ezio Melotti added the comment:
I still think it would be worthwhile adding close() calls to
the examples in the documentation (Doc/library/html.parser.rst).
If I add context manager support to HTMLParser I can update the examples to use
it, but otherwise I don't think it's worth changing
Claudiu Popa added the comment:
This was fixed by a different patch in
https://hg.python.org/cpython/rev/5f3dd0a2b1ab
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Julian Taylor added the comment:
PyObject_Malloc just calls malloc above the threshold so there is no problem
for larger dicts.
For larger dicts the performance of malloc is also irrelevant as the time will
be spent elsewhere.
--
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - patch review
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20876
___
Changes by Ashish Sadanandan ashish.sadanan...@gmail.com:
--
title: MinGW-64 and embedding Python3.4 - Embedding Python3.4 -
PyUnicode_Check fails (MinGW-W64)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23603
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23103
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23103
___
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23602
___
___
Python-bugs-list
Martin Panter added the comment:
[padding]
This behaviour of returning an SSL-specific error code in the “errno” attribute
is not documented. The “errno” attribute is actually specified to hold a POSIX
error code, and I don’t think this specification should be changed.
I don’t see how
Roundup Robot added the comment:
New changeset d04d5b9c29f6 by Victor Stinner in branch 'default':
Issue #22524: New os.scandir() function, part of the PEP 471: os.scandir()
https://hg.python.org/cpython/rev/d04d5b9c29f6
--
nosy: +python-dev
___
STINNER Victor added the comment:
KNOWN ISSUE: There's a reference leak in the POSIX version (found with
python -m test -R 3:2 test_os).
Don't worry, it was a simple refleak, I fixed it:
diff -r 392d3214fc23 Modules/posixmodule.c
--- a/Modules/posixmodule.c Sun Mar 08 01:58:04 2015
1 - 100 of 130 matches
Mail list logo