New submission from Toshihiro Kamishima m...@kamishima.net:
Keywords to specify as string type are incorrect.
'string' should be 'str'
--
components: Library (Lib)
files: argparse.py.patch
keywords: patch
messages: 156635
nosy: shima__shima
priority: normal
severity: normal
status: open
New submission from Toshihiro Kamishima m...@kamishima.net:
According to the documentation of argparse.Action, a keyword 'bool' is not
allowed for type argument, but it doesn't raise no errors.
One possible way to fix this issue is to check in the
argparse._ActionsContainer.add_argument
Serhiy Storchaka storch...@gmail.com added the comment:
PyBench contains a lot of different tests and executes them not too long.
Random fluctuations of a few percent are possible. We need a more stable
realistic test working with floats.
$ ./python -m timeit 'x,y,d=1,0,0.01
for i in
Charles-François Natali neolo...@free.fr added the comment:
In any case, I'd appreciate, if cpython would be changed to something more
sane/less verbose by default.
By default, certainly not.
--
___
Python tracker rep...@bugs.python.org
New submission from Dirkjan Ochtman dirk...@ochtman.nl:
Should we perhaps ask if we can include
https://github.com/RafeKettler/magicmethods in the official docs? It seems nice
(and now ranks higher on Google than the official docs...).
--
assignee: docs@python
components:
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
Looking at What's New section for cdecimal [1], I see this claim:
Performance gains range from 12x for database applications to 80x for
numerically intensive applications...
But there's no link on the benchmark code.
[1]
Georg Brandl ge...@python.org added the comment:
It would be nice to have access to the benchmarks, yes, but I hope our users
have enough trust in Python to believe this claim as it is.
--
nosy: +georg.brandl
priority: normal - low
type: - enhancement
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
Georg Brandl ge...@python.org added the comment:
It would be nice to have access to the benchmarks, yes, but I hope our users
have enough trust in Python to believe this claim as it is.
Well, there's also curiosity. For example to
Nadeem Vawda nadeem.va...@gmail.com added the comment:
[Adding Alan McIntyre, who is listed as zipfile's maintainer.]
I haven't yet had a chance to properly familiarize myself with the
zipfile module, but I did notice an issue in the changes to ZipExtFile's
read() method. The existing code
Nadeem Vawda nadeem.va...@gmail.com added the comment:
I plan on doing a review of the patch, but it might be a week or two
before I have time to do it.
Regarding changes to lzma; exactly what is being proposed? If it's just
additional functions for encoding and decoding of filter specs, then
Michael Foord mich...@voidspace.org.uk added the comment:
So PyGame __init__.py has various not-a-module objects with __getattr__ that
raises a NotImplementedError on every attribute access. Changing inspect to use
getattr_static, so it doesn't trigger code execution on attribute access, would
Serhiy Storchaka storch...@gmail.com added the comment:
The existing code uses the b.join() idiom for linear-
time concatenation, but the patch replaces it with a version that does
buf += data after each read.
You made a mess. The existing code uses ``buf += data``, but I allowed myself
to
Nadeem Vawda nadeem.va...@gmail.com added the comment:
You made a mess. The existing code uses ``buf += data``, but I allowed myself
to replace it with the ``b.join()`` idiom. The bzip2 codec has to deal with
large pieces of data, now this may be important. In read1 still used ``buf +=
Eli Bendersky eli...@gmail.com added the comment:
Hello, thanks for the patch!
Since this is a new feature, I suggest discussion it on the python-ideas list
first.
Next, as for your patch:
1. What is ElementTree_new.py?
2. Note that new features have to be added to in-development versions of
Eli Bendersky eli...@gmail.com added the comment:
Patch attached.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file25002/issue14349.1.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 75268a773455 by Eli Bendersky in branch 'default':
Issue #13782: streamline argument type-checking in ET.Element
http://hg.python.org/cpython/rev/75268a773455
--
nosy: +python-dev
Eli Bendersky eli...@gmail.com added the comment:
Closing the issue.
3.3 was fixed, and there was no concensus regarding 2.7/3.2 in the list, so
status-quo as usual.
--
resolution: - fixed
status: open - closed
___
Python tracker
Ramchandra Apte maniandra...@gmail.com added the comment:
What is the status of this bug?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13657
___
Changes by Eli Bendersky eli...@gmail.com:
--
stage: test needed - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13782
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e35a5bbb0b91 by Giampaolo Rodola' in branch 'default':
fix failing asyncore test as per http://bugs.python.org/issue10340#msg156586
http://hg.python.org/cpython/rev/e35a5bbb0b91
--
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Sorry about that. It should now be fixed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10340
___
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10131
___
___
Python-bugs-list
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13968
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
This is an issue, not a bug, and the status is as it was: unclear just what to
do; would require some major work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13657
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - needs patch
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13657
___
telmich nico-bugs.python@schottelius.org added the comment:
Hello François,
I'm confused about your statement: You prefer to throw random and useless error
messages to users who are using python instead of doing a clean shutdown like
every other application by default?
Don't be offended,
R. David Murray rdmur...@bitdance.com added the comment:
Better, but not stable:
http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.2/builds/984/steps/test/logs/stdio
http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.2/builds/998/steps/test/logs/stdio
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Adding a patch to disable Side by Side assemblies in VS2010 (MS saw the light)
--
keywords: +patch
Added file: http://bugs.python.org/file25003/sxs.patch
___
Python tracker
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Here is a comprehensive patch to errnomodule.c, as used in production at CCP
--
Added file: http://bugs.python.org/file25004/errnomodule.diff
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Don't be offended, but this looks like a software coded by a 12 years
old, who is proud about it and does not accept an error being an error
and insists on doing it right, although it's a common understanding
that throwing errors in non error
telmich nico-bugs.python@schottelius.org added the comment:
Antoine,
let me explain again: I do not say, python should not print uncaught exceptions.
My point here is that an exception is thrown, which is not catchable at all and
this results in random and misleading errors.
I really
Giampaolo Rodola' g.rod...@gmail.com added the comment:
http://hg.python.org/cpython/rev/0b960e41e533
Let's see how it goes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10340
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Adding a patch containing a proposed PCBuild10 folder.
This consists of:
1) automatically updated .vcxproj and .sol files, provessed by 3) below
2) manually edited and new .props files to edit TargetName and Extension
attributes
3)
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 113b8e3cbba4 by Vinay Sajip in branch '2.7':
Closes #14314: backported fix.
http://hg.python.org/cpython/rev/113b8e3cbba4
New changeset 54055646fd1f by Vinay Sajip in branch '3.2':
Closes #14314: backported fix.
poq p...@gmx.com added the comment:
No, the point is that the exception may be caused by a real bug and having
the traceback is tremendously useful to debug such situations. [...]
KeyboardInterrupt is not different in this regard from, say,
ZeroDivisionError.
KeyboardInterrupt *is*
Benjamin Peterson benja...@python.org added the comment:
Someone would have to 1) determine if this a good idea 2) ask the author 3)
actually perform the integration (that is determine how this would
replace/complement things in reference/*).
--
nosy: +benjamin.peterson
Daniel Swanson popcorn.tomato.d...@gmail.com added the comment:
ok
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4652
___
___
Python-bugs-list
Changes by Jason R. Coombs jar...@jaraco.com:
--
nosy: +jason.coombs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14243
___
___
Python-bugs-list
devurandom devuran...@gmx.net added the comment:
Well, without a valid MAC address the function cannot work...
It should not break in such ugly way either, imo.
On the other hand, I would not worry too much:
uuid._ifconfig_getnode() is an internal function; and since all the
other tests
Ezio Melotti ezio.melo...@gmail.com added the comment:
Could you tell us something more (e.g. where you were expecting to find it,
where have you looked, how/where have you found it eventually, what search
queries you have used)?
--
___
Python
Serhiy Storchaka storch...@gmail.com added the comment:
Fixed regeression in decompression.
Nadeem Vawda, we both were wrong. `buf += data` is noticeably faster
`b''.join()` in CPython.
--
Added file: http://bugs.python.org/file25006/bzip2_in_zip_3.patch
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f6d646e30028 by Stefan Krah in branch 'default':
Issue #7652: Enable linking of _decimal.so against an installed libmpdec.
http://hg.python.org/cpython/rev/f6d646e30028
--
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Usually, I would counsel against removing anything that isn't broken by design,
but the code for these functions offers nothing substantive. So, +1 for
marking as deprecated in 3.3 and removing in 3.4.
--
nosy:
David Manowitz david.manow...@gmail.com added the comment:
I don't see why this should be considered acceptable behavior. Why don't
threads have their own ThreadExit exception, rather than overloading the use,
and therefore, the meaning, of the SystemExit exception? As indicated by their
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file25007/bzip2_and_lzma_in_zip_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14366
___
Serhiy Storchaka storch...@gmail.com added the comment:
For EOS, please re-read the specification.
Well, nothing prevents the setting of this bit. Lzma raw compressor already
appends EOS.
--
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
But there's no link on the benchmark code.
I don't know if external links are appropriate in whatsnew, but this
is it:
http://www.bytereef.org/mpdecimal/quickstart.html
--
nosy: +skrah
___
Serhiy Storchaka storch...@gmail.com added the comment:
Regarding changes to lzma; exactly what is being proposed?
Yes, it's just additional functions for encoding and decoding of filter specs.
But this is not necessary, the current implementation uses own functions (need
the support of
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
FWIW, I'm -1 on making the change. Any memory savings would be microscopic for
most Python programs. And anything that slows down float creation (even a
teeny bit) is detrimental to all Python programs. We're better off not
New submission from Parand Darugar tdaru...@yahoo.com:
Attempting to download a file with a % as part of the name (eg. test%sfile)
, sftp.get fails with:
File
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py,
line 328, in getMessage
msg = msg %
Jim Jewett jimjjew...@gmail.com added the comment:
(1) How does the user control (or even find out) which clock is used by
time.steady()?
If the answer is time.steady(clock=QueryPerformanceCounter) then there is no
need for strict=?, but then I'm not sure what the point of time.steady itself
STINNER Victor victor.stin...@gmail.com added the comment:
(2) That fragment from the C++ standard suggests that MAY NOT ought to
have been replaced by the unambiguous MUST NOT.
No. A program cannot deny the modification of system clock and time.steady()
may use the system date.
Senthil Kumaran sent...@uthcode.com added the comment:
Instead of what's new, I think, linking the benchmarks in the docs could be
helpful so that library users can find it they want to. I think, we have
similar performance benchmark links at other places too.
--
nosy: +orsenthil
Ariel Poliak apol...@gmail.com added the comment:
To answer eli.bendersky's questions:
1. That's just the name of the file with my changes in it.
I pulled the original file from Hg, copied it to ElementTree_new.py, made my
changes, and created a patch from the two.
2. I'm not very familiar
New submission from Adin Scannell a...@scannell.ca:
While running a complex python process that executes a bunch of subprocesses
(using the subprocess module, specifically calling communicate()), I found
myself with occasional zombie processes piling up. Turns out Python is not
correctly
Changes by Brian Curtin br...@python.org:
--
keywords: +needs review
nosy: +gps
stage: - patch review
versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14396
56 matches
Mail list logo