New submission from Berker Peksag:
I have an outdated and WIP patch to implement PEP 431 on GitHub:
https://github.com/berkerpeksag/cpython Hopefully, I will complete my work
before beta 1.
--
assignee: berker.peksag
components: Library (Lib)
messages: 235423
nosy: berker.peksag
Steve Dower added the comment:
Got about as many reviews as I expected, but the builds have been going fine
and I want this checked in before alpha, so in it goes :)
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker
Roundup Robot added the comment:
New changeset e7dbef447157 by Steve Dower in branch 'default':
Issue #23260: Update Windows installer
https://hg.python.org/cpython/rev/e7dbef447157
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Changes by Vinson Lee v...@freedesktop.org:
--
nosy: +vlee
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19884
___
___
Python-bugs-list mailing
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23392
___
Serhiy Storchaka added the comment:
What are your thoughts Victor?
--
title: Marshal: special case int and float, don't use references - Marshal:
performance regression with versions 3 and 4
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 6384c0cd3b2d by Benjamin Peterson in branch '3.4':
fix many custom mro() edge cases and improve code quality (#22735)
https://hg.python.org/cpython/rev/6384c0cd3b2d
New changeset 75fd0bd89eef by Benjamin Peterson in branch 'default':
merge 3.4
Daniil Bondarev added the comment:
As long as you think It fits into your issue, I'm ok with adding this patch to
it (: it's different files, so no conflicts. Should I just add this patch to
your ticket?
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Actually this is #23381, not #23881.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22765
___
___
Roundup Robot added the comment:
New changeset 30e6c8caa5b9 by Serhiy Storchaka in branch '3.4':
Issue #23881: Only use entry-values with gdb 7.4 in tests.
https://hg.python.org/cpython/rev/30e6c8caa5b9
New changeset 981e108039f1 by Serhiy Storchaka in branch 'default':
Issue #23881: Only use
Roundup Robot added the comment:
New changeset e55f955659bc by Serhiy Storchaka in branch '2.7':
Issue #23392: Added tests for marshal C API that works with FILE*.
https://hg.python.org/cpython/rev/e55f955659bc
New changeset 05153851d1d6 by Serhiy Storchaka in branch '3.4':
Issue #23392: Added
Serhiy Storchaka added the comment:
I provided similar patch in issue22765, but your patch looks more clear.
Committed in 30e6c8caa5b9, 981e108039f1, and cee39701b280. Thanks for your
patch Vinson.
--
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 3.4,
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22765
___
Serhiy Storchaka added the comment:
LGTM.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20289
___
___
Roundup Robot added the comment:
New changeset 28a9da0842aa by Serhiy Storchaka in branch '3.4':
Issue #18982: Add tests for CLI of the calendar module.
https://hg.python.org/cpython/rev/28a9da0842aa
New changeset e057da873673 by Serhiy Storchaka in branch 'default':
Issue #18982: Add tests for
Søren Løvborg added the comment:
I take it the silence means that the patch is neither obviously good nor
obviously bad. :-)
It all comes down to a judgment call: is this a bug, or expected (but
undocumented) behavior?
In PEP 387 lingo: Is this a reasonable bug fix? Or is it a design
Antoine Pitrou added the comment:
Would it be possible to push the latest patch right now
It's ok for me. Please watch the buildbots :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23285
Serhiy Storchaka added the comment:
Thanks for your review Berker.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18982
___
Roundup Robot added the comment:
New changeset f2991b52157e by Serhiy Storchaka in branch '2.7':
Issue #18982: Fixed newlines in calendar CLI tests on Windows.
https://hg.python.org/cpython/rev/f2991b52157e
--
___
Python tracker
STINNER Victor added the comment:
2015-02-05 18:46 GMT+01:00 Giampaolo Rodola' rep...@bugs.python.org:
+def modify(self, fileobj, events, data=None):
+...
+if events != key.events:
You should update the SelectorKey in the case, no?
--
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17189
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: -Use allowZip64=True by default
resolution: - out of date
superseder: - Use allowZip64=True by default
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17189
Charles-François Natali added the comment:
Antoine Pitrou added the comment:
Would it be possible to push the latest patch right now
It's ok for me. Please watch the buildbots :)
Cool, I'll push on Friday evening or Saturday.
--
___
Python
Serhiy Storchaka added the comment:
Ping.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21717
___
___
Python-bugs-list mailing list
eryksun added the comment:
The changeset from 03 Dec is in the Windows 2.7.9 release.
Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit
(AMD64)] on win32
Type help, copyright, credits or license for more
information.
import zipfile
zipfile._SharedFile
STINNER Victor added the comment:
Would it be possible to push the latest patch right now, and fix remaining
issues (if there are known issues?), before Python 3.4 alpha 1? According to
the PEP 478, the alpha 1 is scheduled for this sunday (February 8, 2015).
--
STINNER Victor added the comment:
- drop SelectSelector._modify(): calling unregister() + register() is just
fine
I checked with strace: PollSelector.modify() doesn't require any syscall, so I
propose to also drop it (to just call unregister + register). What do you think?
I would like to
Antoine Pitrou added the comment:
I just posted some review comments.
I also realized that it posted some older comments that I hadn't submitted
before... some of them may be obsolete, sorry :-/
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch which skips tests if there are no write access to the installed
location.
--
keywords: +patch
stage: needs patch - patch review
versions: +Python 2.7
Added file: http://bugs.python.org/file38021/issue17753.patch
STINNER Victor added the comment:
Updated patch with a less surprising _modify() method:
- the default implementation simply calls unregister() + register(), as before
- drop SelectSelector._modify(): calling unregister() + register() is just fine
--
Added file:
Changes by Anthony Sottile asott...@yelp.com:
--
nosy: +asottile
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16806
___
___
Python-bugs-list
Nick Coghlan added the comment:
I think in this case, the fact that it's easier to decompose an exception
into the corresponding triple rather than vice-versa, together with the
fact that other exception state manipulation APIs like exc_info() and
__exit__() methods work with triples, means it
Antoine Pitrou added the comment:
The solution of having two constructor classmethods actually seems nice
and symmetric to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17911
___
New submission from Barry A. Warsaw:
There is a subtle behavior difference between virtualenv and pyvenv. When you
create a venv with virtualenv, the symbolic links files venv/bin are
relative, while they are absolute with pyvenv. This means that virtual
environments created with virtualenv
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18982
___
Ben Hoyt added the comment:
Victor, I'd love to push forward with this (I doubt it's going to make alpha 1
on February 8, but hopefully alpha 2 on March 8).
It seems pretty settled that we need to use the all-C version I've created,
especially for Linux.
Can you please review
STINNER Victor added the comment:
Updated patch:
- drop PollSelector._at_fork(): PollSelector is not shared with the parent
process
- _at_fork() of BaseEventLoop and SelectorEventLoop now do nothing by default:
only _UnixSelectorEventLoop._at_fork() handle the fork, nothing is needed on
STINNER Victor added the comment:
A workaround is to check (once) that the command set print entry-values no
and set print address off are supported.
Gdb provides its version in the Python API as a string: gdb.VERSION (ex:
'Fedora 7.8.2-38.fc21').
--
Serhiy Storchaka added the comment:
Here is a patch which adds command 'set print entry-values no' only for gdb
version = 7.4.
--
Added file: http://bugs.python.org/file38020/test_gdb_entry_values.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
New changeset 5b5a581d91c8 by Serhiy Storchaka in branch '3.4':
Issue #22765: Fixed test_gdb failures. Supressed unexpected gdb output.
https://hg.python.org/cpython/rev/5b5a581d91c8
Since this change, test_gdb fails on AMD64 OpenIndiana 3.x:
Nick Coghlan added the comment:
+1 for having the base __init__ API be the exception triple and then a
TracebackException.from_exception() class method as an alternate constructor.
However, the redundancy between TracebackException.__init__() and
TracebackException.from_exc_tuple() feels very
paul added the comment:
ping
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23361
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22079
Giampaolo Rodola' added the comment:
Yes, it appears so. I would suggest to come up with a patch which overrides
modify() for all those selectors which can benefit from it (poll, epoll,
kqueue) and refactor register() / unregister() (for select) in a separate issue
/ patch. Also, I suppose a
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
stage: - needs patch
type: - performance
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18932
___
Roundup Robot added the comment:
New changeset 7b74c65758ca by Ned Deily in branch '2.7':
Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
https://hg.python.org/cpython/rev/7b74c65758ca
New changeset 1ddf68f118c7 by Ned Deily in branch '3.4':
Issue #23212: Update OS X installer
Changes by Ned Deily n...@acm.org:
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23212
___
Giampaolo Rodola' added the comment:
I mean something like this (for epoll), as in avoiding to call unregister() /
register() at all:
diff -r 017e7391ab58 Lib/selectors.py
--- a/Lib/selectors.py Wed Feb 04 08:37:02 2015 -0800
+++ b/Lib/selectors.py Thu Feb 05 18:42:26 2015 +0100
@@ -412,6
New submission from Sergiy:
print(calendar.monthrange(2015,2))
(6, 28)
February has only 5 weeks.
--
components: Extension Modules
messages: 235440
nosy: skarpovsky
priority: normal
severity: normal
status: open
title: calendar.monthrange for February 2015
type: behavior
versions:
Antoine Pitrou added the comment:
That would be great!
--
nosy: +barry, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23397
___
___
Geoffrey Spear added the comment:
Returns weekday of first day of the month and number of days in month, for the
specified year and month..
The 6 means February began on a Sunday, not that there are 6 weeks in the month.
--
nosy: +geoffreyspear
___
Ethan Furman added the comment:
https://docs.python.org/3/library/calendar.html#calendar.monthrange
--
nosy: +ethan.furman
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Robert Collins added the comment:
I can certainly do that; I was aiming to make it fair I guess, given Antoines
strong feelings on this matter. As long as I'm not piggy-in-the-middle, I don't
have a care in this regard :)
--
___
Python tracker
Eldar Abusalimov added the comment:
I feel a bit uneasy, but... any news on this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22735
___
___
Anthony Sottile added the comment:
Any updates on this? I'm running into this as well (still a problem in 3.4)
```$ python3.4
Python 3.4.2 (default, Oct 11 2014, 17:59:27)
[GCC 4.4.3] on linux
Type help, copyright, credits or license for more information.
import ast
Serhiy Storchaka added the comment:
Fixed in issue14099 for 3.5. Do you think that this solution should be
backported Martin?
An alternative solution of this issue would be to convert relative path to
absolute path in ZipFile constructor.
--
versions: -Python 3.2
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +nadeem.vawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23306
___
___
Serhiy Storchaka added the comment:
Looks as this bug was fixed in issue1710703.
--
nosy: +serhiy.storchaka
resolution: - out of date
stage: test needed - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Vinson Lee v...@freedesktop.org:
--
keywords: +patch
Added file:
http://bugs.python.org/file38022/0001-Issue-23881-Only-use-entry-values-with-gdb-7.4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23381
59 matches
Mail list logo