Parand Darugar tdaru...@yahoo.com added the comment:
You're absolutely right, it's from paramiko. Apologies.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14395
___
Roger Serwy roger.se...@gmail.com added the comment:
Hi Ankit,
It looks like your configuration files for IDLE has a bug. Can you try renaming
your .idlerc directory (likely located in your home directory) to something
else and then retry using IDLE?
Also, can you post your existing
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
typo fix
--
assignee: docs@python
components: Documentation
files: typo.patch
keywords: patch
messages: 156801
nosy: docs@python, tshepang
priority: normal
severity: normal
status: open
title: argparse typo
type: enhancement
New submission from Tshepang Lekhonkhobe tshep...@gmail.com:
This text appeared in Lib/rlcompleter.py in 1997, so ought to be outdated:
This requires the latest extension to the readline module...
--
assignee: docs@python
components: Documentation, Library (Lib)
messages: 156802
nosy:
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I've just started looking at this. Nice job and good attention to detail on
the error checking. Expect to have a few high-level suggestions and a ton of
minor edits.
Here are a couple of quick thoughts:
* The comment style
Cassaigne anthony.cassai...@gmail.com added the comment:
Tanks à lot. To complete Information about this bug.
it up and take a look. The relevant code is in Python, and I'm guessing
there is some logic bug when only the comment is set (and nothing is added
to the zipfile), but I haven't looked
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I don't quite understand what you're saying about line mismatch Victor.
Anyway, if you look at it, it is clear that:
1) sys_update_path() can be called with argc==0 (main.c line 647)
2) 1742 was always setting arg0 to argv[0] that
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14408
___
___
Python-bugs-list
Stefan Krah stefan-use...@bytereef.org added the comment:
It's the line argv0 = argv[0] in sys_update_path(). The copies of
argv made in python.c aren't NULL terminated. Kristján's patch
worked around that (and fixes the problem), but I'd prefer to
make a full copy of argv in python.c.
Could
Changes by R. David Murray rdmur...@bitdance.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14379
___
___
Stefan Krah stefan-use...@bytereef.org added the comment:
3) line 1812 assumes n to be equal to the length of arg0, but depending
on conditional compilation, it may not get set at all, and in any
case in line line 1805 it gets set only if p is not NULL.
n is initialized to 0
Matt Joiner anacro...@gmail.com added the comment:
I've fixed the commenting, and cache_info use.
I've left the element management in pure C as it reduces memory use (56 bytes
for 4 element list, vs. 16 for lru_cache_elem), and avoids ref counting
overhead (3 refs per link, plus GC). The
Changes by Matt Joiner anacro...@gmail.com:
Removed file: http://bugs.python.org/file24958/functools.lru_cache-in-c
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
New submission from Mendez goatsofmen...@users.sourceforge.net:
There appears to be a problem with the handling of integer fields in SQLite in
the 32-bit release candidate for 2.7.3.
I'm running the 64-bit version of Windows 7.
I've attached a script which reproduces the issue. The following
STINNER Victor victor.stin...@gmail.com added the comment:
Kristján's patch is wrong: n should be set to 0 even if argc 0. The
patch is also useless with argv-alloc.diff.
@Stefan: Your patch is correct and solves the issue. You can commit it
to 2.7, 3.2 and 3.3.
--
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I'm sure you didn't intend to use words such as wrong and useless Victor.
Perhaps n must be 0 even for argc0, but I did that as an afterthought. Which
is the reason I asked you to take a look rather than committing this right
Antoine Pitrou pit...@free.fr added the comment:
Can't reproduce under Linux. Can someone test under Windows?
--
components: +Library (Lib)
nosy: +benjamin.peterson, brian.curtin, pitrou, tim.golden
priority: normal - release blocker
___
Python
Stefan Krah stefan-use...@bytereef.org added the comment:
I only have the C99 standard. It says [5.1.2.2.1]:
- argv[argc] shall be a NULL pointer.
Is this different in C89?
Also, my patch terminates the *copies* of argv, not argv itself.
--
___
Stefan Krah stefan-use...@bytereef.org added the comment:
KR page 115 also says: The standard requires that argv[argc] be a NULL pointer.
So it must be in C89 as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3367
STINNER Victor victor.stin...@gmail.com added the comment:
New patch replacing dictproxy() builtin type with collections.mappingview()
type:
- dictproxy() type doesn't need to be a builtin type
- it is not specific to dict so replace dict prefix with mapping
- view is a better suffix than
STINNER Victor victor.stin...@gmail.com added the comment:
I'm sure you didn't intend to use words such as wrong and useless Victor.
Perhaps n must be 0 even for argc0, but I did that as an afterthought.
If n is initialized as wcslen(argv[0]), test_cmd_line_script fails.
--
Antoine Pitrou pit...@free.fr added the comment:
Can't reproduce on a 2.7 debug build under Windows either.
Some data points:
hex(530428456761032704)
'0x75c75df'
hex(12349)
'0x75c75df'
Looking at #8033, it seems unlikely to have caused this problem.
Perhaps we shipped the 2.7.3
Mendez goatsofmen...@users.sourceforge.net added the comment:
I've tried the 32-bit version of 3.2.3rc2 and that works as expected.
There don't seem to be Windows builds of 2.6 and 3.1 available so I haven't
been able to try those.
--
___
Python
Changes by Jesse Noller jnol...@gmail.com:
--
nosy: +asksol, jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14404
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c0900fd6e4b3 by Stefan Krah in branch '3.2':
Issue #3367: NULL-terminate argv[] copies to prevent an invalid access
http://hg.python.org/cpython/rev/c0900fd6e4b3
New changeset 1ab8fa2277d9 by Stefan Krah in branch
Charles-François Natali neolo...@free.fr added the comment:
Sorry if I missed something, didn't RTFM etc.
You didn't: it's a duplicate of #10332 (which has already been fixed).
--
nosy: +neologix
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder:
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1053687
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
You are right, Stefan, argv[argc] is defined to be NULL by the standard. Jolly
good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3367
Antoine Pitrou pit...@free.fr added the comment:
Why an environment variable instead of a command line switch (as
suggested by Ian Jackson)? Shouldn't a script be able to decide for
itself how it handles signals?
Because the available space for command line switches is rather limited, and
New submission from Jim Jewett jimjjew...@gmail.com:
http://www.python.org/~gbrandl/build/html2/whatsnew/3.3.html#pep-393-flexible-string-representation
The packaging module replaces the distutils module
All other deprecation messages list the deprecated object first, such as
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I've presented the patch, but no one has voiced an opinion on it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9609
___
Changes by Charles-François Natali neolo...@free.fr:
--
nosy: +pitrou
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14087
___
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Why do you think it isn't safe, Antoine?
We only support IEEE platforms, and IEEE defines positive 0.0 to be all bits
cleared.
I personally don't think that even a small measurable performance degradation
in creating new floats
Stefan Krah stefan-use...@bytereef.org added the comment:
Actually _iomodule.c already has a freefunc with the same signature.
atexit_free() is properly called in:
static void
module_dealloc(PyModuleObject *m)
{
PyObject_GC_UnTrack(m);
if (m-md_def m-md_def-m_free)
ranga r_pyb...@curdrice.com added the comment:
Thanks for the quick response, neologix. I copied the multiprocessing/
directory from latest cpython's 2.7 branch into my project dir and it works as
advertised now!
--
___
Python tracker
New submission from Joachim Bauch m...@joachim-bauch.de:
If a XML-RPC server returns an error page without a content-length header (for
example with transfer-encoding: chunked instead), the method single_request
in xmlrpclib doesn't read the response before raising a ProtocolError.
If this
Jim Jewett jimjjew...@gmail.com added the comment:
Patch is doc-only, and looks good to me.
--
nosy: +Jim.Jewett
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14410
___
Jason Tishler ja...@tishler.net added the comment:
AFAICT, this issue is resolved in the latest Cygwin Python package (i.e.,
2.6.7-1) that is built against a X11-based Tcl/Tk instead of a Win32 GDI
version:
http://cygwin.com/ml/cygwin-announce/2012-02/msg00014.html
--
Andrew Svetlov andrew.svet...@gmail.com added the comment:
I like to close the issue if problem has been solved by cygwin itself.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue786827
___
Jason Tishler ja...@tishler.net added the comment:
Please do.
When I tested the Cygwin Python 2.6.7-1 release, IDLE was one of my testcases.
In my limited testing (I'm not a regular IDLE user), the menus appeared to
function properly.
--
___
New submission from thao nguyen thaonphu...@gmail.com:
Dear Support Team,
I have built a function (enclosed here) to merge many files (in this example is
2 files: a1.txt and a2.txt) lines by lines. The output file is called
final_file. However, i could not have it run successfully.
Content
Changes by thao nguyen thaonphu...@gmail.com:
Removed file: http://bugs.python.org/file25029/argument.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14415
___
Changes by thao nguyen thaonphu...@gmail.com:
Added file: http://bugs.python.org/file25030/argument.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14415
___
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: -smccardell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue786827
___
___
poq p...@gmx.com added the comment:
Because the available space for command line switches is rather limited
Limited by what?
MYENVVAR=foo python ...
That does not work with hashbangs (and env is kludgey).
--
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
The bug tracker is not a good place to get programming help. Please try the
python-tutors list, or the general python-list (see mail.python.org for a list
of mailing lists). There will be people on one of those lists with time to
help
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c407db9120e9 by R David Murray in branch 'default':
#14413: tweak word order in deprecation section
http://hg.python.org/cpython/rev/c407db9120e9
--
nosy: +python-dev
___
R. David Murray rdmur...@bitdance.com added the comment:
Somebody (Raymond?) is going to go through and edit for style and consistency
before the release. But I applied your tweak anyway.
--
nosy: +r.david.murray
resolution: - fixed
stage: - committed/rejected
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
Looks like someone else noticed the problem, but did not notice that there was
an existing issue with a patch :(.
Sorry about that, Mark. Thanks very much for working on this, and I'm very
sorry it got lost. Hopefully Eli will review
David Manowitz david.manow...@gmail.com added the comment:
I have a couple of issues with that argument:
1.) Until fairly recently, the fact that sys.exit() when called from a
non-primary thread only causes the thread to die, was not clearly
documented (and still isn't in the python2.6 docs).
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 03771ea22ead by Sandro Tosi in branch '2.7':
Issue #14410: fix typo in argparse doc; patch by Tshepang Lekhonkhobe
http://hg.python.org/cpython/rev/03771ea22ead
New changeset 3e18af617266 by Sandro Tosi in branch
Sandro Tosi sandro.t...@gmail.com added the comment:
Thanks for your patch: committed!
--
nosy: +sandro.tosi
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Edward Yang ezy...@mit.edu:
The syslog module is missing constants for a number of logging priorities
available on modern Linuxen. In particular, the following options are missing:
LOG_ODELAY, LOG_AUTHPRIV, LOG_SYSLOG, LOG_UUCP.
--
components: Library (Lib)
New submission from Jim Jewett jimjjew...@gmail.com:
Per the 3.3 WhatsNew:
issue 14205: A dict lookup now raises a RuntimeError if the dict is modified
during the lookup. If you implement your own comparison function for objects
used as dict keys and the dict is shared by multiple threads,
R. David Murray rdmur...@bitdance.com added the comment:
Limited by what?
The alphabet.
I suppose we could use a -- option, but somebody would have to add support for
those.
--
___
Python tracker rep...@bugs.python.org
Jim Jewett jimjjew...@gmail.com added the comment:
It is now a useful function, as PyUnicode_AsUnicode defers to it.
It is still born-deprecated, but that may be unavoidable, as all use of the
wstr format is deprecated.
--
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
I must admit to being concerned by the possible impact of this change as well.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14417
Roger Serwy roger.se...@gmail.com added the comment:
There's a subtle bug in the currently applied patch.
import tkinter
a = tkinter.Tk()
b = tkinter.Tk()
Closing the first window will prevent closing the second window. This example
may seem abstract, but it is a real issue
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Closing as the latest cygwin build works fine.
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e38f4cf482c7 by Eli Bendersky in branch 'default':
Issue #6488: Explain the XPath support of xml.etree.ElementTree, with code
http://hg.python.org/cpython/rev/e38f4cf482c7
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e38f4cf482c7 by Eli Bendersky in branch 'default':
Issue #6488: Explain the XPath support of xml.etree.ElementTree, with code
http://hg.python.org/cpython/rev/e38f4cf482c7
--
nosy: +python-dev
Eli Bendersky eli...@gmail.com added the comment:
First step in the right direction - e38f4cf482c7
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14006
___
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6488
___
Eli Bendersky eli...@gmail.com added the comment:
Closing the issue, unless someone wants to back-port this to 3.2/2.7
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6488
Benjamin Peterson benja...@python.org added the comment:
It could be made an internal function.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13608
___
Eli Bendersky eli...@gmail.com added the comment:
There was a patch for the docs (+ other stuff) in issue #7635 as well. It can
be integrated, if relevant.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14202
Eli Bendersky eli...@gmail.com added the comment:
Yes, sorry for missing this. I've placed a note in issue #14202 to review this.
Mark, it would be great if you could prepare a fresh patch vs. 3.3 default with
your additions. Let's continue discussion in #14202 - it's still open.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 837ac3abf0c5 by Andrew Svetlov in branch 'default':
Issue #989712: update the code to process tkinter messages in IDLE
http://hg.python.org/cpython/rev/837ac3abf0c5
--
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Roger, your patch is pushed.
Please next time when you reopen closed bug set 'Resolution' field to 'remind'.
Thank you.
--
___
Python tracker rep...@bugs.python.org
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue989712
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
assignee: kbk - asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue989712
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue539907
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue539907
___
Jim Jewett jimjjew...@gmail.com added the comment:
See http://bugs.python.org/issue14417
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14205
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5680
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5233
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5594
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8378
___
___
Python-bugs-list
Andrew Svetlov andrew.svet...@gmail.com added the comment:
Ping
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8427
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6717
___
___
Python-bugs-list
Changes by Anthony Kong anthony.hw.k...@gmail.com:
--
nosy: +Anthony.Kong
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14399
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14417
___
___
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I would very much like this to go somewhere other than the collections module.
As the maintainer of that module, I've worked hard to keep it clutter free
(people frequently want to stick things in that module when they can't
John Bollinger john.bollin...@stjude.org added the comment:
I was already working on a standalone test, and now I have it ready. Using it
I can demonstrate the issue against both the cpython trunk and against my local
v2.6.6 binary distribution, therefore I have added v3.3 as an affected
Changes by Roger Serwy roger.se...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14409
___
___
Michael Foord mich...@voidspace.org.uk added the comment:
Thanks for doing the work Matt. In principle the patch looks good, and being
able to run standard library tests direct from unittest is nice. It's also a
step towards being able to use test discovery to run standard library tests.
Is
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 206c45f45236 by Victor Stinner in branch 'default':
Issue #14368: _PyTime_gettimeofday() cannot fail
http://hg.python.org/cpython/rev/206c45f45236
--
nosy: +python-dev
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14368
___
Guido van Rossum gu...@python.org added the comment:
Raymond, that sounds like a very irrational way of deciding where it should go.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14386
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c67f3681e032 by Victor Stinner in branch 'default':
Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions
http://hg.python.org/cpython/rev/c67f3681e032
--
nosy: +python-dev
Changes by Michael Foord mich...@voidspace.org.uk:
--
title: Support the test_cases protocol in the stdlib tests - Support the
load_tests protocol in the stdlib tests
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14408
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14383
___
STINNER Victor victor.stin...@gmail.com added the comment:
The PEP has been rejected. See issue #14386 for a new mappingview type.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
I wonder about the name: There is already a collections.abc.MappingView.
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14386
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
The weakref collections objects (sets, dicts, etc) were all put in a separate
module and that has worked out well. I suggest doing the same for proxy
objects.
In maintaining the itertools module, I learned long ago that adding
New submission from Geoffrey Bache gjb1...@users.sourceforge.net:
Here I'm referring to the section about RequestHandler objects under the
SocketServer page.
http://docs.python.org/release/2.7.2/library/socketserver.html#requesthandler-objects
This appears to be the same in Python 2.6 and
New submission from Serhiy Storchaka storch...@gmail.com:
The proposed patch accelerates ascii decoding in a particular case, when the
alignment of the input data coincides with the alignment of data in
PyASCIIObject. This is a common case on 32-bit platforms. I did not check
whether the
Guido van Rossum gu...@python.org added the comment:
I like the suggestion of a library module containing proxy classes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14386
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14419
___
___
Python-bugs-list
Serhiy Storchaka storch...@gmail.com added the comment:
I would like to have someone tested it on a 64-bit platform. May be worth a
copy smaller blocks, not sizeof(long) but sizeof(void *)? This guaranteed the
alignment of the destination (and very likely the source).
--
1 - 100 of 130 matches
Mail list logo