Steven Bethard steven.beth...@gmail.com added the comment:
I think the proposed API looks fine and should be backwards compatible since
add_subparsers will currently throw an exception with a default= argument.
In case someone feels like writing a patch, you'll want to look at
Senthil Kumaran orsent...@gmail.com added the comment:
Revisiting this issue.
- Cookie: should contain name=value pairs
- Set-Cookie: header can contain a single word like 'secure'
The current design is along the same lines only.
In the original comment, the request had asked to document the
Senthil Kumaran orsent...@gmail.com added the comment:
Did you attach the correct files? You mention about two programs in the
description, but you have attached only one file 'deadlock.py'.
Also, it does not fail on Python 2.7.1. Please try it on the latest
codeline from release27-maint too.
Changes by Senthil Kumaran orsent...@gmail.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10399
___
___
Python-bugs-list
Senthil Kumaran orsent...@gmail.com added the comment:
It is 'attributes' instead of term 'members'. The term 'method' when it denotes
methods can be left as such.
--
assignee: d...@python - orsenthil
nosy: +orsenthil
___
Python tracker
Changes by Senthil Kumaran orsent...@gmail.com:
--
stage: - needs patch
type: - behavior
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10403
Ned Deily n...@acm.org added the comment:
With 3.2a4, OS X 10.4 Tiger buildbot failures reported:
==
ERROR: test_run_code (test.test_cmd_line.CmdLineTest)
--
Éric Araujo mer...@netwok.org added the comment:
I have read and closed too fast, Johannes still has the bug on OS X. Can
someone turn his example script into a patch adding a unit test?
--
resolution: out of date -
stage: committed/rejected - unit test needed
status: closed - open
Éric Araujo mer...@netwok.org added the comment:
That's fair enough.
:) Do you want to close this feature request then?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10070
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7325
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10431
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
Removed message: http://bugs.python.org/msg121278
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10431
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file19614/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10431
___
New submission from admin roundup-ad...@psf.upfronthosting.co.za:
You are not a registered user.
Unknown address: Order Real Pfizer rep...@bugs.python.org
--
files: unnamed
messages: 121278
nosy: admin
priority: normal
severity: normal
status: open
title: Failed issue tracker
Michael Foord mich...@voidspace.org.uk added the comment:
The issue is with a non-ascii character in a *Unicode* docstring. Python has to
encode the string to write it to the terminal; the encode is implicit and so
fails.
The problem doesn't happen with Python 3 unless you run on an ascii
New submission from Scott Dial sc...@scottdial.com:
The code in as_completed() waits on a FIRST_COMPLETED event, which means that
after the first future completes, it will no longer wait at all. The proposed
patch adds a _AsCompletedWaiter and uses a lock to swap out the finished list
and
Adam Bielański abg...@gmail.com added the comment:
Ok, I apologize for being to hasty. Below you can find my answers:
1. SlowParser used in xmlrpclib doesn't deal with namespaces in any reasonable
way. If there's a namespace prefix for tag, it's not separated from tag name,
but passed as part
Nick Coghlan ncogh...@gmail.com added the comment:
Note that my suggestion was to move the if statement out of the loop as-is: you
would still be pulling the traceback to display from the caught exception
rather than displaying the stack from the current point of execution. If you
want the
Senthil Kumaran orsent...@gmail.com added the comment:
On Tue, Nov 16, 2010 at 11:32:03AM +, Adam Bielański wrote:
just accept ex:nil as well as nil and not try to analyze namespaces at all.
But even that seems specific to Java/ Apache Extension.
If it is, then it might go in as part of
Changes by Senthil Kumaran orsent...@gmail.com:
--
assignee: - bquinlan
nosy: +bquinlan
stage: - patch review
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10432
___
Adam Bielański abg...@gmail.com added the comment:
It is. It might go. Didn't notice issue8792 before, thanks for pointing it out.
Whole ex:nil issue is discussed there, so this issue might be closed.
--
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran orsent...@gmail.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10425
___
Eugene Kapun abacabadabac...@gmail.com added the comment:
Actually, this can't be fixed without modifying C API methods PyArg_ParseTuple
and PyArg_ParseTupleAndKeywords, because it's possible to make an object
deallocated before PyArg_ParseTuple returns, so Py_INCREF immediately after
parsing
Changes by Eugene Kapun abacabadabac...@gmail.com:
Added file: http://bugs.python.org/file19617/test-ctypes.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6083
___
Changes by Eugene Kapun abacabadabac...@gmail.com:
Added file: http://bugs.python.org/file19618/test-functools.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6083
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10070
___
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10134
___
___
Changes by Éric Araujo mer...@netwok.org:
--
superseder: - Support Apache extensions to XML-RPC in xmlrpclib
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10425
___
Éric Araujo mer...@netwok.org added the comment:
There's no need to apologize, we welcome contributions like your report and are
open to discuss patches :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10425
Éric Araujo mer...@netwok.org added the comment:
An addition: It was reported in #10425 that None values are incorrectly
serialized as valuenil//value, instead of just nil/, or maybe
{namespace prefix for extensions defined by Apache}:nil/.
--
nosy: +Adam.Bielański, eric.araujo,
Éric Araujo mer...@netwok.org added the comment:
Johannes, can you paste the output of the locale command?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10417
___
R. David Murray rdmur...@bitdance.com added the comment:
I agree with Stephen. The test in question is *not a valid test* on OSX.
Therefore on OSX it should be skipped.
If you can think of a way to test the actual behavior of getgroups on OSX,
that's even better.
--
Changes by Michael Foord mich...@voidspace.org.uk:
--
nosy: -michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7900
___
___
Adam Bielański abg...@gmail.com added the comment:
To make example provided by Amaury complete I'll add that in order to support
both ways you also need to replace xmlrpclib.dumps() with code from attached
file.
Changes to original xmlrpclib.dumps() function are outlined with comments. In
Ronald Oussoren ronaldousso...@mac.com added the comment:
Please explain how the failure can be reproduced.
I've done some testing on my machine using Apple's copy of python 2.6.1 (on OSX
10.6), which has the same getgroups implementation as the current heads of the
active branches.
R. David Murray rdmur...@bitdance.com added the comment:
Having just reread this issue more carefully, my understanding is that Ronald
had elected to make the results returned from os.getgroups match that returned
by system tools (by which I understood him to mean the 'id' command). Since
New submission from R. David Murray rdmur...@bitdance.com:
Per issue 7900, os.getgroups on OSX does not behave the same way as on any
other unix platform. This seems worthy of a documentation note, since anyone
trying to write portable code could get bit by this.
I don't really understand
STINNER Victor victor.stin...@haypocalc.com added the comment:
In Python 3, sys.stderr uses the 'backslashreplace' error handler. With C
locale, sys.stderr uses the ASCII encoding and so the é unicode character is
printed as \xe9.
In Python 2, sys.stderr.errors is strict by default.
It works
R. David Murray rdmur...@bitdance.com added the comment:
And it's entirely possible (even likely) that what Stephen is seeing here is a
platform bug in OSX's quirky implementation of group management.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in revision 86478. Should this go in 3.1? This is a comments-only
change, so it is fairly safe and merging may help future maintenance. On the
other hand, it is very unlikely that the header file will need to
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
As discussed in Breaking undocumented API thread [1] on python-dev, a
definition of public names is buried deep in the language reference manual:
The public names defined by a module are determined by checking the
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10433
___
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: - d...@python
components: +Documentation, Macintosh
nosy: +d...@python
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10433
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in revision 86478. Should this go in 3.1? This is a comments-only
change, so it is fairly safe and merging may help
Changes by Marc-Andre Lemburg m...@egenix.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10413
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Michael Foord suggested adding the following to developer documentation such as
PEP 8. [1] I am not sure PEP 8 is the right place for it. In my opinion, PEP 8
is mostly about stylistic choices that don't have a major
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed to 3.1 branch in revision 86481.
--
status: pending - closed
type: - behavior
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed to 3.1 branch in revision 86481.
Thanks.
--
___
Python tracker
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
The following C-APIs are only documented in comments inside unicode.h:
PyUnicode_GetMax
PyUnicode_Resize
PyUnicode_InternImmortal
PyUnicode_FromOrdinal
PyUnicode_GetDefaultEncoding
PyUnicode_AsDecodedObject
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +ned.deily, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10433
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
There are more undocumented functions in unicode.h. It makes sense to fix all
of them in one patch. Closing this as superseded by #10435.
--
nosy: +belopolsky
resolution: - duplicate
status: open - closed
Ron Adam ron_a...@users.sourceforge.net added the comment:
You may also want to update help topics.
help(PRIVATENAMES).
Identifiers (Names)
***
An identifier occurring as an atom is a name. See section
*Identifiers and keywords* for lexical definition and section *Naming
and
Georg Brandl ge...@python.org added the comment:
Documenting Unicode C APIs is now tracked in #10435.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
superseder: - Document unicode C-API in reST
___
Python tracker
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
components: +Interpreter Core
stage: - needs patch
versions: +Python 3.3 -Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2799
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10433
___
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10318
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
This was a real bug in IMAP.starttls() actually. Fixed in r86485.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Giampaolo Rodola' g.rod...@gmail.com added the comment:
I'm not sure whether it's related but on psutil we have a similar error message
by using Python 2.6.1 64-bit:
http://code.google.com/p/psutil/issues/detail?id=135
--
nosy: +giampaolo.rodola
status: pending - open
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +ixokai
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2901
___
___
Python-bugs-list
New submission from David Nesting da...@fastolfe.net:
When opening a tarfile with mode r| (streaming mode), extractfile(filename)
and extractfile(mytarfile.getmembers()[0]) raise tarfile.StreamError: seeking
backwards is not allowed. extractfile(mytarfile.next()) succeeds. A more
complete
Terry J. Reedy tjre...@udel.edu added the comment:
This still needs to be verified that there is a problem with a *current*
release. That means 2.7.1 (rc just out) or 3.2 (a4 just out).
If this would be considered a security issue (I do not know) then 'current'
includes 2.5.5, 2.6.6, and
Christoph Mathys erase...@gmail.com added the comment:
Yes, it's the correct file. Sorry, I'm making quite a mess in my description
about program: The attached program is deadlock.py. Program One and Two are
python scripts executed using python -c, the code is inside deadlock.py.
I installed
New submission from Daniel Stutzbach stutzb...@google.com:
ProcessPoolExecutor allows the max_workers parameter to the constructor to be
omitted or None, in which case it will set the max_workers based on the number
of CPUs.
It would be nice if ThreadPoolExecutor's constructor worked the same
Stephen Hansen me+pyt...@ixokai.io added the comment:
On 11/16/10 5:44 AM, Ronald Oussoren wrote:
Ronald Oussoren ronaldousso...@mac.com added the comment:
Please explain how the failure can be reproduced.
I have. But to do so more directly:
1. Launch Terminal.app; leave the window console
Stephen Hansen me+pyt...@ixokai.io added the comment:
I can try to do some testing to reproduce w/ 2.7: 2.5 was IIRC 32-bit on
leopard by default though, so should I force a non-64-bit build to test this?
I'm not entirely sure if that'll change things, but want to make sure. I can
test with
New submission from Ian ifreeca...@gmail.com:
Concerning this section of the docs:
http://docs.python.org/library/functions.html#staticmethod
There is no example for calling a static method from another static method
within the same class.
As I discovered later, it's simple: C.f() -- from
R. David Murray rdmur...@bitdance.com added the comment:
IMO this follows logically from Python's self-consistent rules. I'm not
convinced that the amount of extra verbiage required to detail this particular
case would make the docs clearer, but you are welcome to suggest a wording for
us to
R. David Murray rdmur...@bitdance.com added the comment:
Woops, I see you did suggest a wording. However, what you wrote is imprecise
and confused me when I first read it (I thought you meant that self.f() didn't
work!).
--
___
Python tracker
Georg Brandl ge...@python.org added the comment:
I tend to agree with David. Especially since calling base class methods also
uses the explicit class name.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Łukasz Langa luk...@langa.pl added the comment:
We'll try to solve this for 3.2.
--
assignee: - lukasz.langa
nosy: +lukasz.langa
priority: normal - high
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
However, what you wrote is imprecise and confused me when I first read
it (I thought you meant that self.f() didn't work!).
Well, it doesn't work in the specific case he mentioned of calling from another
static method :)
--
R. David Murray rdmur...@bitdance.com added the comment:
Only because you don't *have* self. Which is why I said imprecise and not
incorrect :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10438
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Nov 16, 2010 at 10:38 AM, M.-A. Lemburg m...@egenix.com wrote:
Alexander Belopolsky wrote:
..
I also have a similar question about C API. Here, in absence of
__all__, the answer should be clear: all symbols in
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +haypo, lemburg, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10435
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10430
___
___
Python-bugs-list
Ian ifreeca...@gmail.com added the comment:
Am I to understand that self.f() is a valid way to call a static method? Can
you see how that would run counter to intuition for someone who is familiar
with other languages?
Given that, I would make the following (more precise) change:
It can be
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
PyUnicode_AsDecodedObject() and PyUnicode_AsDecodedUnicode() appear to be
broken as well: both start with a PyUnicode_Check(unicode) and then pass
unicode to PyCodec_Decode() which expects bytes.
--
Ian ifreeca...@gmail.com added the comment:
Disregard my previous comment; calling self.f() does not work from a static
method.
I stand by my previous suggestion, but I'll clarify it like this:
Note: you must also use the C.f() syntax when calling from a static method
within the C class
Marc-Andre Lemburg m...@egenix.com added the comment:
Please note that PyCodec_Encode()/PyCodec_Decode() will return whatever the
codec returns for these operations.
The codec system is not limited to converting between Unicode and bytes only.
A typical example is a same-type codec such as
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Nov 16, 2010 at 5:54 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
Marc-Andre Lemburg m...@egenix.com added the comment:
Please note that PyCodec_Encode()/PyCodec_Decode() will return whatever the
codec
v_peter leanmeandonothingmach...@gmail.com added the comment:
Added a test to the patch
--
nosy: +v_peter
Added file: http://bugs.python.org/file19620/shutil_logger_with_test.py27.patch
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attached patch documents all previously undocumented unicode C API functions.
Note that for the PyUnicode_As{En,De}codedObject() and
PyUnicode_As{En,De}DecodedUnicode() functions I attempted to capture what they
are
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
Python Codec Registry and support functions are well documented in codecs.h
header file. It should be easy to convert that to reST.
--
assignee: d...@python
components: Documentation
keywords: easy
messages:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Nov 16, 2010 at 7:19 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
* Decoding converts a bytes object encoded using a particular
character set encoding to a string object.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10439
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I agree and will handle this in #10435 because codecs.h
s/#10435/#10439/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10435
Ned Deily n...@acm.org added the comment:
The problem Stephen is seeing with the buildbot machine is ABI-dependent; the
behavior of getgroups(2) changed in 10.6. You can demonstrate this all on a
10.6 system. Open a terminal session and verify the process's groups:
$ id -G
20 40200 401 204
Ned Deily n...@acm.org added the comment:
(Argh! Just to be very clear, those ./configure commands are all one line,
including the MACOSX_DEPLOYMENT_TARGET as an argument to the configure script.)
--
___
Python tracker rep...@bugs.python.org
88 matches
Mail list logo