Changes by Georg Brandl :
--
keywords: +easy
priority: -> critical
___
Python tracker
<http://bugs.python.org/issue6951>
___
___
Python-bugs-list mai
Georg Brandl added the comment:
Also note that this patch will not sort sequences of mixed types where
some types are intercomparable "correctly" (in the way that Python 2
did), e.g. for
{1:2, 2:3, 'a':4, 1.5: 5}
the 1.5 key will not be placed between the 1 and 2 keys.
I&
Georg Brandl added the comment:
OK, there *is* a way. Consider this:
class safe_key(object):
__slots__ = ('obj',)
def __init__(self, obj):
self.obj = obj
def __eq__(self, other):
return self.obj.__eq__(other.obj)
def __lt__(self, other):
Georg Brandl added the comment:
2.6.3 will be out soon with a valid chm again.
--
resolution: -> later
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Also, don't forget to update the "python -h" help text.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.py
Changes by Georg Brandl :
--
assignee: -> benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue6964>
___
___
Python-
Georg Brandl added the comment:
Fixed in r75015.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue6967>
___
__
Changes by Georg Brandl :
--
assignee: -> michael.foord
nosy: +michael.foord
___
Python tracker
<http://bugs.python.org/issue6966>
___
___
Python-bugs-list mai
Georg Brandl added the comment:
It seems that nobody updated the documentation to say that configparser
operates on text files. The example is also wrong, it should open the
file in 'w' mode, not 'wb'.
Fixed in r75016.
PS: please use more expressive titles for
Georg Brandl added the comment:
Bottom line: move over to the types module *before* running 2to3.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue6
Georg Brandl added the comment:
Sorry, I don't understand what the issue is. Long options with
arguments use 'testing=', those without use 'testing'. Could you please
elaborate?
--
___
Python tracker
<http
Georg Brandl added the comment:
Fixed in r75043.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue6984>
___
__
Georg Brandl added the comment:
Can this issue be closed then?
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue7026>
___
___
Python-bug
Changes by Georg Brandl :
--
assignee: georg.brandl -> pitrou
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue7022>
___
___
Python-bugs-list mai
Changes by Georg Brandl :
--
assignee: michael.foord
components: Library (Lib)
files: assertIsInstance.diff
keywords: easy, needs review, patch, patch
nosy: georg.brandl, michael.foord
priority: normal
severity: normal
status: open
title: add assertIsInstance
type: feature request
New submission from Georg Brandl :
Change negated method name to assertNotIsInstance.
--
Added file: http://bugs.python.org/file15018/assertIsInstance2.diff
___
Python tracker
<http://bugs.python.org/issue7
Georg Brandl added the comment:
Committed in r75180.
--
assignee: michael.foord -> georg.brandl
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.o
Georg Brandl added the comment:
Sounds like a useful new API. Two comments:
* The version without *base* is not needed. Passing an explicit NULL
for *base* is easy enough.
* The name "PyErr_Create" is needlessly different from
"PyErr_NewException". Something like "
Georg Brandl added the comment:
Closing as "won't fix".
--
nosy: +georg.brandl
resolution: -> wont fix
status: open -> closed
___
Python tracker
<http://b
Georg Brandl added the comment:
I've already added logging to test___all__.py which checks the __all__
attribute.
--
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Hey, I was doing that too! :)
--
___
Python tracker
<http://bugs.python.org/issue7055>
___
___
Python-bugs-list mailing list
Unsub
Georg Brandl added the comment:
The "as if with" feels strange, otherwise it is fine with me.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.
Georg Brandl added the comment:
Fixed in r75402. Not backporting, since an exception message is changed.
Thanks!
--
nosy: +georg.brandl
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r75403.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Fixed in r75416.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7129>
___
__
Georg Brandl added the comment:
Thanks, fixed in r75418.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Changes by Georg Brandl :
--
assignee: -> benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue7141>
___
___
Python-
Georg Brandl added the comment:
Probably the whole of r63042 should be undone.
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue7
Georg Brandl added the comment:
Fixed in r75580, r75581.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Assigning to Philip who added the warning.
--
assignee: georg.brandl -> pjenvey
nosy: +pjenvey
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
Thanks, fixed in r75606.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r75607.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
I added the 3.0 whatsnew and 2to3 links in (pydotorg) r12618.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r75609.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
That's the case for all undocumented modules (there are some like IN,
that only contain constants; they're also going away in Py3k). However,
pydoc can't know which modules are documented, so I'm going to close
this as "won'
Georg Brandl added the comment:
As far as I can tell, the text is still correct:
>>> class a(object): __slots__ = 'a'
>>> class b(a): __slots__ = 'a'
works without raising TypeError.
I've nevertheless enhanced the docs a bit in r75610.
--
r
Georg Brandl added the comment:
Thanks, fixed in r75611.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, this is now fixed.
--
___
Python tracker
<http://bugs.python.org/issue7067>
___
___
Python-bugs-list mailing list
Unsub
Georg Brandl added the comment:
Added "Platform: Unix" to curses docs in r75612.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.p
Georg Brandl added the comment:
Fixed in r75613.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue6977>
___
__
Georg Brandl added the comment:
Fixed based/passed in r75616, the rest will be done for #1294232.
--
resolution: -> fixed
status: open -> closed
superseder: -> Error in metaclass search order
___
Python tracker
<http://bugs.python.o
Georg Brandl added the comment:
OK, fixed in Sphinx, and in the Python stylesheet in r75617.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
2to3 still uses hasattr(x, 'callable').
--
assignee: georg.brandl -> benjamin.peterson
___
Python tracker
<http://bugs.pyth
Georg Brandl added the comment:
Not really, that was the last thing to get this issue closed.
--
___
Python tracker
<http://bugs.python.org/issue7006>
___
___
Georg Brandl added the comment:
Thanks, fixed in r75623.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
The decompressor can't have a window size smaller than the size used to
compress the stream. Therefore in your case, it can't be smaller than 15.
Still, the docs must be improved, e.g. compressobj() has more parameters
than documented.
-
New submission from Georg Brandl :
Currently, ``map(None, a)`` is recognized and converted to ``list(a)``
which is correct but quite useless.
``map(None, a, b, ...)`` is not treated specially. An approximate
translation would be ``map(lambda *xs: xs, a, b, ...)`` which however
doesn't
Georg Brandl added the comment:
This has already been fixed in r69619.
--
nosy: +georg.brandl
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Fixed now that 2.6.4 is final.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
FYI, /etc/pythonX.Y (and /etc/python) are used by Debian; the former
contains site.py and sitecustomize.py, the latter a file called
debain_config.
I can't see how this could become a problem, but maybe someone else does.
--
nosy: +georg.b
Georg Brandl added the comment:
But ~/.local is simply not the location for config files.
--
___
Python tracker
<http://bugs.python.org/issue7175>
___
___
Pytho
Georg Brandl added the comment:
The patch is incorrect; tp_iternext can raise exceptions other than
StopIteration which must be let through.
--
assignee: -> rhettinger
nosy: +georg.brandl, rhettinger
___
Python tracker
<http://bugs.pyth
Georg Brandl added the comment:
> I tried your code (with the new-style class) with Python 2.6.4 and 2.7a0
> (trunk), and both worked fine. I built them with GCC 4.2.4 on Ubuntu 8.04.
The problem seems to only show up in debug builds on 2.x, but it is
Changes by Georg Brandl :
--
assignee: -> pitrou
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue7249>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
Raymond, do you have an opinion on this?
--
assignee: georg.brandl -> rhettinger
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
Thanks, fixed in r76095 and will backport.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Changes by Georg Brandl :
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/issue7257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Thanks, applied in r76105.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Fixed in r76143.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7271>
___
__
Georg Brandl added the comment:
normpath() doesn't look at the file system. It cannot know that your
current directory is ~/tmp, so it cannot know that . and ../tmp are the
same directory.
--
nosy: +georg.brandl
resolution: -> wont fix
status: open -
Georg Brandl added the comment:
If your current directory is (e.g.) /home/user, then ../xyz will not
"bring you back" to it. (xyz/.. would.)
--
___
Python tracker
<http://bugs.python.
Georg Brandl added the comment:
Thanks, fixed in r76326.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
The docs already contain the following note:
.. note::
The default *locals* act as described for function :func:`locals`
below:
modifications to the default *locals* dictionary should not be
attempted.
Pass an explicit *locals* dictionary
Georg Brandl added the comment:
BadZipfile is actually the correct name of the exception.
Fixed the other nit in r76376.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Now I'm confused. So the only thing left to do is the patch attached here?
--
___
Python tracker
<http://bugs.python.org/i
Georg Brandl added the comment:
Fixed in r76471.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7345>
___
__
Georg Brandl added the comment:
Patch looks ok to me, do you want to apply it?
--
___
Python tracker
<http://bugs.python.org/issue7128>
___
___
Python-bugs-list m
Georg Brandl added the comment:
Alexander, how hard would it be to change the profile output?
--
___
Python tracker
<http://bugs.python.org/issue7372>
___
___
Changes by Georg Brandl :
--
keywords: +easy
priority: -> low
___
Python tracker
<http://bugs.python.org/issue7388>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
As you write, the parentheses "trick" only works in expressions (what
you tried to wrap in your with statement is not an expression).
The backslash works for all kinds of statements however, so the
suggested change is wrong.
--
resolution: -
Georg Brandl added the comment:
Agreed.
--
priority: -> low
resolution: wont fix ->
___
Python tracker
<http://bugs.python.org/issue7391>
___
___
Pyth
Georg Brandl added the comment:
Thanks, fixed in r76538.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Looks good to me (module indentation).
--
assignee: -> pitrou
nosy: +georg.brandl, pitrou
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
Make that "modulo."
--
___
Python tracker
<http://bugs.python.org/issue7417>
___
___
Python-bugs-list mailing list
Un
Georg Brandl added the comment:
I don't see why we can't start it. I'd prefer "Some Unices" though,
since you never know when e.g. Linux is going to start supporting e.g.
lchmod().
--
status: closed -> open
_
Georg Brandl added the comment:
The docs have a different wording, which I suggest copying to the docstring:
*buffering* is an optional integer used to set the buffering policy. By
default full buffering is on. Pass 0 to switch buffering off (only
allowed
in binary mode), 1 to set
Georg Brandl added the comment:
Maybe Antoine wants (!) to look at it.
--
assignee: georg.brandl -> pitrou
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/iss
Georg Brandl added the comment:
I changed the prose into a versionadded tag in r76882.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r76883, r76884, r76885.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Hmm, I cannot reproduce the problem here (with a checkout before your
commit); as you say the module should be set by the module directive. I
guess it's a Sphinx bug; I will investigate that. Closing this issue,
since it's not in Python.
---
Georg Brandl added the comment:
Thanks, committed in r76886, r76887.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Committed in r76888. Thanks!
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Applied with a few edits in r76889. Note that the notation for number
ranges with "mismatching" brackets is actually correct.
--
resolution: -> accepted
status: open -> closed
___
Pytho
Georg Brandl added the comment:
Applied (minus the warning) in r76890.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Patch looks good. (I'm a bit unsure about the syntax "ie: blah" and "eg:
blah" though.)
--
___
Python tracker
<http
Georg Brandl added the comment:
I also seem to recall that adding .transform()/.untransform() was
already accepted at some point.
--
___
Python tracker
<http://bugs.python.org/issue7
Changes by Georg Brandl :
--
assignee: georg.brandl ->
___
Python tracker
<http://bugs.python.org/issue7475>
___
___
Python-bugs-list mailing list
Unsubscri
Georg Brandl added the comment:
Added such a note in r76891.
--
resolution: invalid -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Where can I find this?
--
___
Python tracker
<http://bugs.python.org/issue7485>
___
___
Python-bugs-list mailing list
Unsubscribe:
Georg Brandl added the comment:
Agreed, removed in r76892.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, applied in r76895.
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
This only happens in Python 2.5, where GeneratorExit inherits from
Exception. In 2.6, it inherits from BaseException and is therefore not
caught by the except clause.
--
resolution: -> out of date
status: open ->
Georg Brandl added the comment:
Funnily, I already did ask on python-dev, and only got one (+1) answer
from Brett. I was going to add it some time when I have more cycles for
Python.
--
___
Python tracker
<http://bugs.python.org/issue7
Georg Brandl added the comment:
Thanks, applied in r76920 and r76922.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue7495>
___
_
Georg Brandl added the comment:
Thanks, applied in r76923.
For future patches, please use notes sparingly, and warnings even more
so. Not every sentences starting with "Note that..." needs to be a
Note. Also, Notes should contain whole sentences (i.e. the first word
is
Georg Brandl added the comment:
This sentence has already been removed from the version of the FAQ that
is now in the source tree:
http://docs.python.org/dev/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments
--
resolution: -> out of date
status: o
Georg Brandl added the comment:
> Merci Florent
> Mais alors où se cache la documentation 3.1 "officiel" sur la classe file.
Even though we seem to have a disturbing accumulation of French
developers here, please keep to Englis
Georg Brandl added the comment:
Added signature from msg95885 in r77009.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r77081, r77082.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Georg Brandl added the comment:
Thanks, fixed in r77084.
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/
4001 - 4100 of 5257 matches
Mail list logo