Georg Brandl added the comment:
Please call it codec.rst. It is probably best placed under "utilities".
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.o
Changes by Georg Brandl :
--
assignee: -> orsenthil
___
Python tracker
<http://bugs.python.org/issue10231>
___
___
Python-bugs-list mailing list
Unsubscri
Georg Brandl added the comment:
Thanks for the catch, fixed in r86555.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Yes, apparently the parameter was (intended to be) called "error" at some
point. Can you put the correction in your patch?
--
___
Python tracker
<http://bugs.python.o
Georg Brandl added the comment:
Done in r86561. Thanks for the report!
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
This is the old issue of casting the result of malloc() -- frowned upon in C,
but required in C++. Looking at the Python sources, most uses of PyMem_Malloc
seem to have the cast, so it doesn't seem wrong to add one here (where it
actually can be configur
Georg Brandl added the comment:
Please also keep to 3-space indentation in directives.
--
___
Python tracker
<http://bugs.python.org/issue10439>
___
___
Pytho
Georg Brandl added the comment:
FWIW, this doesn't belong in the style guide; it is obvious that the docs
should exhibit "best practice" Python code, and using the with statement when
opening resources is certainly such a best practice now.
--
nosy
Georg Brandl added the comment:
Reviewed and applied in r86562. Thanks!
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
New submission from Georg Brandl :
There are a couple of functions for accessing UnicodeError subclass properties
that are needed e.g. in codec error handlers. They should be documented in
exceptions.rst.
--
assignee: d...@python
components: Documentation
messages: 121641
nosy: d
Georg Brandl added the comment:
ad 1: yes, that makes sense.
ad 2: "cuddling" and "non-cuddling" else are actually pretty evenly mixed in
the source. I didn't explicitly look at PEP 7 for this, but in that case it
should get preference.
Your suggested profile looke
Georg Brandl added the comment:
Applied in r86608. Thanks!
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
-tt is documented on the page you link to. -b and -bb are only available in
Python 3, and are documented there:
<http://docs.python.org/py3k/using/cmdline>. -b and -bb also show up in python
-h.
In the contrary, -t and -tt have been removed in Python
Georg Brandl added the comment:
+1 for applying the doc patch.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue1859>
___
___
Python-bug
Georg Brandl added the comment:
patchcheck.py is not so complicated; why don't you debug that hangup yourself?
--
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Yes, please do apply. You don't need to run a doc build for every small
change; of course it is nice if you do, but errors will be caught by the daily
build routine anyway and mailed to me.
As for the two blank lines: you'll see that the original
Georg Brandl added the comment:
Thanks, reviewed and applied in r86705.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Well, I can't see a problem with it. Backported in r86706, r86707.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.
New submission from Georg Brandl :
On the python-docs mailing list, a user suggested to rewrite the first
paragraph of the heapq docs like this. Are you okay with this change, Raymond?
Heaps are trees for which every parent node has a value less than or equal to
any of its children. This
Georg Brandl added the comment:
Great! Applied in r86708.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Georg Brandl :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue1745035>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Georg Brandl :
--
assignee: -> pitrou
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue10538>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
I don't waste my time by merging every little typo fix to the maintenance
branches immediately; I rather merge them all at once every now and then. You
will certainly understand that nobody is harmed by a stray "d", even if it ha
Georg Brandl added the comment:
Dividing the table in sections makes sense to me; it provides the kind of
grouping that is helpful sometimes, but cannot be kept when sorting
alphabetically. So when the table is grouped, the actual docs can remain
alphabetized
Georg Brandl added the comment:
Thanks, fixed in r86794.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Yes, you're right; you could have linked to the correct -c option by using this
form: :option:`unittest -c`
--
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Thanks, fixed in r86798.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
This is because the Python used to render doesn't recognize the new-style
exception catching; this will be fine once the system is upgraded to 2.6.
--
nosy: +georg.brandl
resolution: -> later
status: open -
Georg Brandl added the comment:
I don't think so; closing as invalid.
--
nosy: +georg.brandl
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.
Georg Brandl added the comment:
Yes, list_clear should be called, but no, it cannot be used directly because a
method needs a PyObject* return value. So a wrapper method is needed that
looks like listappend() does for list.append(). list_copy() will just look like
list_slice() with the
New submission from Georg Brandl :
This patch adds an "optimize" parameter to compile(), as discussed in
<http://mail.python.org/pipermail/python-ideas/2010-November/008784.html>.
I also needed to introduce two new C APIs. Better naming suggestions are
welcome.
-
Georg Brandl added the comment:
At the very least we'd need to know what virus scanner, and what version of it,
the OP used.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/is
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19844/unnamed
___
Python tracker
<http://bugs.python.org/issue10500>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
While the behavior is confusing, I don't think yield inside comprehensions
should be disallowed. Rather, the fact that comprehensions have their own
scope should be stated clearer.
--
nosy: +georg.brandl
___
P
Georg Brandl added the comment:
rst2html doesn't help, since it doesn't recognize Sphinx' and Python's own
markup extensions.
--
nosy: +georg.brandl
___
Python tracker
<http://bug
Changes by Georg Brandl :
--
assignee: -> loewis
nosy: +loewis
___
Python tracker
<http://bugs.python.org/issue10560>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
Not sure what you're referring to, all occurrences of BadZipfile (except for
its definition and its documentation) have been removed in py3k.
--
___
Python tracker
<http://bugs.python.org/issu
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19858/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
ISTM that the new name is worse than the old name. I hadn't followed this
issue, heard assertCountEqual the first time today, and couldn't guess what it
does. I'd have assumed that it checks only for equality of the number of items
in a se
Georg Brandl added the comment:
Fixed in 86881.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Not sure what "unsupported methods" means. E.g. "readinto" is listed as
provided by RawIOBase in the doc text.
--
___
Python tracker
<http://bug
Georg Brandl added the comment:
Thanks, fixed in r86914.
--
nosy: +georg.brandl
resolution: accepted -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Before the multiplication, "bufsz" is not aptly named: as your snippet shows
it's counting the number of delimiters in the PYTHONPATH.
--
nosy: +georg.brandl
resolution: -> invalid
status: open -> closed
_
Georg Brandl added the comment:
Well, you're not to blame since the patch merely extended the definition which
was still using obsolete syntax anyway.
--
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
You can give "two" homes; prefix and exec_prefix. r86933 now links to
PYTHONHOME where this is already documented properly.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
__
Georg Brandl added the comment:
Codecs brought back and (un)transform implemented in r86934.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
We also should consider a good roadmap to account for the eventual support of
quaternions in the language syntax.
Since the conventional mathematical symbols for the additional imaginary units
of quaternions are j and k, confusion is bound to happen.
My
Georg Brandl added the comment:
I heard that MathWorks has a patent on METHOD AND APPARATUS FOR IMAGINATORIAL
FREEDOM, so if that's true we might not be allowed to implement it.
--
___
Python tracker
<http://bugs.python.org/is
Georg Brandl added the comment:
That's legacy from the good old latex days.
--
___
Python tracker
<http://bugs.python.org/issue10299>
___
___
Python-bugs-l
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19908/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19910/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19911/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19912/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
Sure. I have personally written software where i denotes, in effect, an
electrical current.
--
___
Python tracker
<http://bugs.python.org/issue10
Georg Brandl added the comment:
That would be good. While you could argue it's a bug, the fix is also slightly
incompatible.
--
___
Python tracker
<http://bugs.python.org/is
Georg Brandl added the comment:
That would be a good question for a numpy/scipy-related mailing list, I guess.
--
___
Python tracker
<http://bugs.python.org/issue10
Georg Brandl added the comment:
Don't worry about doc additions too much; all doc changes can be considered bug
fixes.
In this patch, it appears that two of the three attributes are new? They
should get a versionadded.
--
___
Python tr
Georg Brandl added the comment:
Committed in r86955. Thanks!
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
Looks good; committed in r86957.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/is
Georg Brandl added the comment:
I agree; committed in r86960.
If anyone wants to change this to raise TypeError for objects that are both
unhashable and unrefable, please speak up.
--
resolution: -> fixed
status: open -> closed
___
Python t
Georg Brandl added the comment:
An imaginary basis maybe?
--
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailing list
Unsub
Georg Brandl added the comment:
Fixed in r86964.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
The html_getfile() function is Unix-specific: it constructs paths like
path = os.sep + path.replace('%20', ' ')
Consequently, its test fails on Windows:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/3703/s
Georg Brandl added the comment:
Don't worry, it will be ported.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10360>
___
_
Changes by Georg Brandl :
--
nosy: -georg.brandl
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Georg Brandl :
Removed file: http://bugs.python.org/file19925/unnamed
___
Python tracker
<http://bugs.python.org/issue10562>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
I'm fine with it: as with the other changes for .count and .index, consistency
with the protocols/ABCs the types are members of is not exclusively a new
feature.
--
status: open -> closed
___
Python tracke
Georg Brandl added the comment:
The culprit seems to be r83957, which was done to fix #2304. Assigning to Tim,
who committed that revision.
--
assignee: -> tim.golden
nosy: +georg.brandl, tim.golden
___
Python tracker
<http://bugs.pyth
Georg Brandl added the comment:
In util.system(), Mercurial adds its own pair of quotes:
if os.name == 'nt':
cmd = '"%s"' % cmd
That will result in one level of quoting too much.
Now it seems unfortunate that this change was done in a minor versi
Changes by Georg Brandl :
--
assignee: -> pitrou
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue6210>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
r87013 adds get() and setdefault() to dbm.gnu -- now gdbm and ndbm have the
same set of dict methods available.
For me, that is enough to demote this to feature request.
There's another issue anyway for iteration protocol support.
--
pri
Georg Brandl added the comment:
Yes, list.copy was also approved IIRC. And it should be a shallow copy, like
all other copy methods on builtins.
--
___
Python tracker
<http://bugs.python.org/issue10
Georg Brandl added the comment:
Added PyZipFile API, and fixed the "optimze". Committed in r87019.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.py
Georg Brandl added the comment:
Committed what was left applicable of the patch in r87020.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
Based on the +1's in #1728488, committed in r87021, with addition to the
command-line docs.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.or
Georg Brandl added the comment:
I changed the patch to look more like unicode_repeat (which addresses Alex'
point #2) and committed in r87022.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://b
Georg Brandl added the comment:
Patched up and committed in r87024.
--
resolution: -> fixed
status: open -> closed
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Committed rest of patch in r87045. Will try to get test_pdb2 in shape and
working on all platforms.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Yes, a doc update is probably a good idea. (But after the freeze :)
--
___
Python tracker
<http://bugs.python.org/issue10
Georg Brandl added the comment:
Applied rest in r87083.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
What a nice mess :) Raising priority so that this doesn't get overlooked.
--
priority: normal -> deferred blocker
___
Python tracker
<http://bugs.python.org
Georg Brandl added the comment:
Note that while Python's long type gives you unlimited-size integers, the float
type doesn't make such promises: it is just a double-precision float. As such,
math.factorial(1234) cannot be interpreted; it would simply be positive
Georg Brandl added the comment:
I leave this to MAL, on whose behalf I finished this to be in time for beta.
--
assignee: -> lemburg
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
What is the result of calling it twice?
--
___
Python tracker
<http://bugs.python.org/issue10637>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
After forking, the parent waits for the child's exec call to determine if it
succeeds. Otherwise, you wouldn't get an exception in the parent when you do
Popen('/bin/ech')
or somesuch.
--
nosy: +georg.brandl
resolution: -&g
Georg Brandl added the comment:
OK, I would say this is an acceptable bug in a beta release. Will fix it after
the release is done.
--
___
Python tracker
<http://bugs.python.org/issue10
Georg Brandl added the comment:
Duplicate of #6083?
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue10638>
___
___
Python-bugs-list mailin
Georg Brandl added the comment:
No, he means mapp_methods. Why don't you simply look at the file?
--
___
Python tracker
<http://bugs.python.org/is
Georg Brandl added the comment:
FWIW, the "endless loop possibility" is not of issue here, and is simply an
artifact of the specific generator function the OP uses.
--
___
Python tracker
<http://bugs.python.o
Georg Brandl added the comment:
Fixed in r87143.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
The development docs are rebuilt twice a day; that should be enough.
As for tracker integration with version control, that is already an issue for
the meta tracker at http://psf.upfronthosting.co.za/roundup/meta/issue20 (which
you should know, since you
Georg Brandl added the comment:
Fixed in r87146.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Added in r87147.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Granted. Since the rest of the file uses old-style format, I've kept to it,
r87148.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org
Georg Brandl added the comment:
Fixed in r87156.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue10668>
___
__
Georg Brandl added the comment:
It is in fact new in 2.5, but only available when using "from __future__ import
with_statement", which the note near the end of the section details.
--
nosy: +georg.brandl
resolution: -> invalid
status: o
Georg Brandl added the comment:
Thanks, fixed in r87169.
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Nice, definitely a blocker.
(BTW, if you configured without any specific --prefix, you shouldn't clobber
anything installed by the distribution...)
--
___
Python tracker
<http://bugs.python.org/is
Georg Brandl added the comment:
Yes, this already irked me with previous versions.
--
___
Python tracker
<http://bugs.python.org/issue10679>
___
___
Python-bug
Georg Brandl added the comment:
Applied the fix from msg123808 in r87172.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue10188>
___
___
901 - 1000 of 5257 matches
Mail list logo