Benjamin West bew...@gmail.com added the comment:
I spent some time looking at this, as I was interested in
using this pattern to simulate what git and hg do. I
considered a few modifications and then found this bug. I
think the default keyword passed to
_SubParsersAction.__init__ makes sense.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b378864d8ff3 by Mark Dickinson in branch '3.2':
Issue #12973: Fix itertools bug caused by signed integer overflow. Thanks
Stefan Krah.
http://hg.python.org/cpython/rev/b378864d8ff3
New changeset 18eec56bcf29 by
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5a1cb8506cea by Mark Dickinson in branch '2.7':
Backport issue #12973 itertools fix from 3.x.
http://hg.python.org/cpython/rev/5a1cb8506cea
--
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
Okay, all fixed here. Let's add any further signed overflow issues to the
issue #1621 discussion.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0b2660384d4e by Mark Dickinson in branch 'default':
Issue #13012: Allow 'keepends' to be passed as a keyword argument in
str.splitlines, bytes.splitlines and bytearray.splitlines.
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the reviews.
Applied the first patch, plus Misc/NEWS entry, and minus the change to
Lib/collections/__init__.py; I think that change belongs more with the second
patch.
--
___
Python
Mark Dickinson dicki...@gmail.com added the comment:
Resetting versions.
--
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
Georg Brandl ge...@python.org added the comment:
Closing as per python-dev discussion.
--
nosy: +georg.brandl
status: languishing - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13008
Mark Dickinson dicki...@gmail.com added the comment:
Clang has an -ftrapv option that seems to be less buggy and more complete than
gcc's. Compiling and running the test suite with that option enabled looks
like a good way to catch a lot of these signed overflows.
--
Georg Brandl ge...@python.org added the comment:
I vote for plugging the refleak and keeping the function non-static.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13013
Georg Brandl ge...@python.org added the comment:
Both hunks look reasonable.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13019
___
Georg Brandl ge...@python.org added the comment:
Looks correct but awkwardly indented.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13015
___
New submission from Richard86 gbo...@gmail.com:
Call to tkinter.messagebox.showinfo(Test, test) makes the script hang in
Windows 7 with Python 3.2.2 with Timer(2, methodname, ()).start().
--
components: Tkinter, Windows
files: test1.py
messages: 144496
nosy: Richard86
priority: normal
Changes by Richard86 gbo...@gmail.com:
--
title: call to tkinter.messagebox.showinfo hangs the script - call to
tkinter.messagebox.showinfo hangs the script after timer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13040
Mark Dickinson dicki...@gmail.com added the comment:
Ezio's patch looks fine to me, though as Meador points out in the Rietveld
review, there are a couple of omissions that could be fixed.
Personally, I'm not so convinced of the value of upgrading all the existing
uses of splitlines to use
Ezio Melotti ezio.melo...@gmail.com added the comment:
Out of curiosity, what is typically the convention on that?
In theory every issue should be about a single problem and therefore have a
single patch to fix it. Sometimes a secondary problem that is not strictly
related to the first one
Martin v. Löwis mar...@v.loewis.de added the comment:
Do we consider these overflows as bugs in Python, or do we declare that we
expect compilers to do the right thing for the bug fix releases (i.e. care
only about the default branch). I'd personally vote for the latter - i.e. don't
apply any
Denilson Figueiredo de Sá denilso...@gmail.com added the comment:
adding a formatter instance seems overkill for the usual case of
wanting to preserve formatting of the epilog.
Related bug (look at it before (re)designing the API):
http://bugs.python.org/issue12806
--
Mark Dickinson dicki...@gmail.com added the comment:
don't apply any of the resulting changes to the maintenance releases,
and target the issue only for 3.3.
That sounds fine to me, though if we find more instances of signed overflow
that actually trigger test failures in the maintenance
Luke Plant l.plant...@cantab.net added the comment:
David,
Thanks again for the time on this. Can I push to get the patches included, or
is there work that still needs to be done on the patches now that the idea is
accepted in principle? I did experiment with a few approaches to implement,
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 698fa089ce70 by Mark Dickinson in branch 'default':
Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__,
tuple.__hash__, frozenset.__hash__ and set indexing operations.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 95ee0df1e746 by Charles-François Natali in branch 'default':
Issue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.
http://hg.python.org/cpython/rev/95ee0df1e746
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5e456e1a9e8c by Mark Dickinson in branch 'default':
Issue #1621: Fix undefined behaviour from signed overflow in get_integer
(stringlib/formatter.h)
http://hg.python.org/cpython/rev/5e456e1a9e8c
--
Changes by Richard86 gbo...@gmail.com:
--
title: call to tkinter.messagebox.showinfo hangs the script after timer - call
to tkinter.messagebox.showinfo hangs the script on timer on Windows
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
Given that someone is willing to write a patch and someone else to review it, I
am +1 on changing 0/1 to False/True anywhere appropriate in the stdlib. Ditto
for using a new feature. The # True == keep line ends comment illustrates why
the
Changes by Zbyszek Szmek zbys...@in.waw.pl:
--
nosy: +zbysz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12353
___
___
Python-bugs-list mailing
Changes by Zbyszek Szmek zbys...@in.waw.pl:
--
nosy: +zbysz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4256
___
___
Python-bugs-list mailing
New submission from Zbyszek Szmek zbys...@in.waw.pl:
COLUMNS is a shell variable (updated whenever the window size
changes), that usually isn't exported to programs. Therefore checking
for COLUMNS in sys.environ will not work in the majority of cases. The
proper check is to use the TIOCGWINSZ
New submission from Zbyszek Szmek zbys...@in.waw.pl:
COLUMNS is a shell variable (updated whenever the window size
changes), that usually isn't exported to programs. Therefore checking
for COLUMNS in sys.environ will not work in the majority of cases. The
proper check is to use the TIOCGWINSZ
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13041
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - argparse: terminal width is not detected properly
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
I'm flat out right now on other projects. But if no one else gets around to
doing a final review and commit I should be able to get to it by the end of
October. If I don't, please ping me by posting here again.
--
Zbyszek Szmek zbys...@in.waw.pl added the comment:
This is a great idea! I think that this formatter is much more useful than the
default one. I was pretty surprised the first time I added a multi-paragraph
epilog to a program and it got all jumbled into a single line. I would vote to
make
Zbyszek Szmek zbys...@in.waw.pl added the comment:
Hm, I have somehow submitted the same tex ttwwiiccee. Sorry about that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13042
___
Benjamin West bew...@gmail.com added the comment:
https://github.com/bewest/argparse/tree/bewest
https://bitbucket.org/bewest/argparse/changesets
I think this does the right thing.
--
hgrepos: +69
___
Python tracker rep...@bugs.python.org
Graylin Kim graylin@gmail.com added the comment:
I fully support taking blank line based line-wrapping approach and agree with
Zbyszek's suggested indentation approach as well. I am not sure why they didn't
occur to me at the time but they are certainly a more effective and widely
adopted
Tigger Level-5 a.wild.tig...@gmail.com added the comment:
First time posting, how about something like this. Just added a os.walk method
to do the chown recursively.
--
nosy: +Tigger.Level-5
Added file: http://bugs.python.org/file23240/temp.py
___
Éric Araujo mer...@netwok.org added the comment:
Sorry, it's been sitting at the bottom of my starred list for months,
the prospect of reloading context always making it a little less
attractive than something else.
I understand that very well :)
Error was caused by an actual change in
Éric Araujo mer...@netwok.org added the comment:
I'm not sure why it's run upload instead of just upload
pysetup has actions and commands. Actions do stuff on the Python installation:
“pysetup metadata foobar” prints metadata, “pysetup remove foobar” uninstalls,
“pysetup install foobar”
Changes by Denilson Figueiredo de Sá denilso...@gmail.com:
--
nosy: +denilsonsa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13041
___
___
Phillip Feldman phillip.m.feld...@gmail.com added the comment:
Raymond-
I think that you may have overestimated the complexity of the problem. In
about 5 hours, I coded, debugged, and documented a set of generator functions
to solve the general formulation (including box limits) for three
Denilson Figueiredo de Sá denilso...@gmail.com added the comment:
Good catch, I had intended on '-' being a valid list item character.
It clearly needs to be escaped.
Either escaped, or it can be the first character in the set.
but I happen to like list() and dict() instead of [] and {} for
42 matches
Mail list logo