[issue1220] popen3 website documentation inconsistency

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Sorry, but you're confusing the os.popen* functions with the
popen3.popen* functions. (That they both exist, and return the handles
in different orders is a mess, but it is documented correctly.)

--
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1273] email module example email-unpack.py error

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Thanks, this is fixed in the development docs now (r58445).

--
nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1344] subprocess.communication doc could use clarification

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Thanks, this is now documented (r59164).

--
nosy: +georg.brandl
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1467] error in TestResult.addError and TestResult.addFailure

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Thanks, this is now fixed in the development docs (r59165).

--
nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1355] xml.dom refers to PyXML, which is no longer maintained

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

I've now removed mention of PyXML from the docs (r59166).

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1442] pythonstartup addition of minor error checking

2007-11-24 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

Shall we close this issue?

--
nosy: +amaury.forgeotdarc

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1315] Bug in pstats.print_callers

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Exception in pstats print_callers()

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1445] SystemError accessing uninitialised cell contents

2007-11-24 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

Fixed in r59170 (trunk) and r59171 (release25-maint).

--
nosy: +amaury.forgeotdarc
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735632] Add O_NOATIME to os module

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Added the constant in r59172.

The behavior is way too special though to warrant a change to builtin
open().

--
nosy: +georg.brandl
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285] setp.py error "The process cannot access the file ..."

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


--
assignee:  -> loewis
nosy: +loewis

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1282] re module needs to support bytes / memoryview well

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


--
type: rfe -> behavior

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1442] pythonstartup addition of minor error checking

2007-11-24 Thread Christian Heimes

Christian Heimes added the comment:

I think we should backport it to 2.6 and maybe 2.5.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Christopher Denter

Changes by Christopher Denter:


--
components: Documentation
nosy: dennda
severity: normal
status: open
title: DOM-Documentation should mention that appendChild() removes the child it 
appends

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285] setp.py error "The process cannot access the file ..."

2007-11-24 Thread Martin v. Löwis

Martin v. Löwis added the comment:

Can you provide a setup.py that allows to reproduce this error?

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Martin v. Löwis

New submission from Martin v. Löwis:

Can you propose a specific wording?

--
nosy: +loewis

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Guido van Rossum

Guido van Rossum added the comment:

I'm waiting for those failing tests to magically start passing. :-)

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Christopher Denter

Christopher Denter added the comment:

"Add a new child node to this node at the end of the list of children,
returning newChild. The original child node is removed after appending
the child to the new node." maybe?

It took me quite some time to figure that out because I thought "it's
not popAndAppend()", so having a hint in the documentation would be nice.

(This is the first time I use this bugtracker. I hope this message will
be displayed correctly.)

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1494] DOM-Documentation should mention that appendChild() removes the child it appends

2007-11-24 Thread Martin v. Löwis

Martin v. Löwis added the comment:

Thanks. I committed something like that as 59176.

Notice that the precise semantics of all operations is specified in the
DOM itself,

http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html

which says

Adds the node newChild to the end of the list of children of this node.
If the newChild is already in the tree, it is first removed.

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Christian Heimes

Christian Heimes added the comment:

Do you still believe in the tooth fairy, too? :p

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Okay, this new patch takes care of test_pyclbr, test_inspect and
test_weakref.

test_unittest is a bit hard:

previously, calling loadTestsFromName with the name of a method would
create a test that runs that test case with that method being the test
method. With the name of a staticmethod though it would call the
staticmethod first and use the result of that call as the test case.

Now, there is no visible distinction between static methods and normal
methods anymore.

--
nosy: +georg.brandl
Added file: http://bugs.python.org/file8800/py3k_remove_unbound_2.patch

__
Tracker <[EMAIL PROTECTED]>

__

py3k_remove_unbound_2.patch
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Got test_typechecks too - the test is simply not applicable anymore.

Added file: http://bugs.python.org/file8801/py3k_remove_unbound_3.patch

__
Tracker <[EMAIL PROTECTED]>

__

py3k_remove_unbound_3.patch
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Okay, got test_descr too -- the problem was introduced by the patch
itself :)

Added file: http://bugs.python.org/file8802/py3k_remove_unbound_4.patch

__
Tracker <[EMAIL PROTECTED]>

__

py3k_remove_unbound_4.patch
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


Removed file: http://bugs.python.org/file8800/py3k_remove_unbound_2.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


Removed file: http://bugs.python.org/file8801/py3k_remove_unbound_3.patch

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1495] Unicode in a comment.

2007-11-24 Thread Magnus Valle

New submission from Magnus Valle:

My script reports this problem:

"""
$ python bug.py 
  File "bug.py", line 4
SyntaxError: Non-ASCII character '\xc2' in file bug.py on line 4, but no
encoding declared; see http://www.python.org/peps/pep-0263.html for details
"""

This error looks fine and all, but the problem is that the non-ASCII
character (in this case '¤') is in a comment, not in the script itself.
If I remove it the non-ASCII character from the comment, it runs perfectly. 

I always assumed that comment didn't effect the script.

This isn't exactly a big problem, but I don't think it should be this way.

I included the demo script.

PS.
$ python -V
Python 2.5.1

--
components: Unicode
files: bug.py
messages: 57817
nosy: wiscados
severity: minor
status: open
title: Unicode in a comment.
versions: Python 2.5
Added file: http://bugs.python.org/file8803/bug.py

__
Tracker <[EMAIL PROTECTED]>

__# Bug report recreation
a=1
print a
# If a unicode character is in a comment it won't run ¤
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1495] Unicode in a comment.

2007-11-24 Thread Facundo Batista

Facundo Batista added the comment:

This is the way it's supposed to work, read the PEP.

--
nosy: +facundobatista
resolution:  -> invalid
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Christian Heimes

Christian Heimes added the comment:

Georg Brandl wrote:
> Okay, got test_descr too -- the problem was introduced by the patch
> itself :)

Yes, I introduced the problem because I thought that sometimes is wrong
here. The question mark in > doesn't look right.

Christian

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1222] locale.format bug if thousand separator is space (french separator as example)

2007-11-24 Thread Dave Hughes

Changes by Dave Hughes:


--
nosy: +waveform

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

I think it is correct -- normally the __get__ call gets a second
argument of C.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1391] Adds the .compact() method to bsddb db.DB objects

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


--
keywords:  -rfe
type:  -> rfe

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1342] Crash on Windows if Python runs from a directory with umlauts

2007-11-24 Thread Georg Brandl

Changes by Georg Brandl:


--
keywords:  -rfe

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1480] sqlite module is leaking lots of references

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Fixed in r59180.

--
nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1479] csv module is leaking references

2007-11-24 Thread Georg Brandl

Georg Brandl added the comment:

Fixed in r59181.

--
nosy: +georg.brandl
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1496] add str.maketrans()

2007-11-24 Thread Georg Brandl

New submission from Georg Brandl:

This patch restores old behavior of str.translate() and adds the
str.maketrans() static method. Docs and tests will follow if this is the
right way to go.

--
assignee: gvanrossum
files: str-maketrans.diff
messages: 57823
nosy: georg.brandl, gvanrossum
priority: normal
severity: normal
status: open
title: add str.maketrans()
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file8804/str-maketrans.diff

__
Tracker <[EMAIL PROTECTED]>

__

str-maketrans.diff
Description: PGP signature
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1516613] Decimal should allow leading or trailing spaces.

2007-11-24 Thread Mark Dickinson

Mark Dickinson added the comment:

This is a feature request rather than a bug.  There's a least one good 
reason not to do this, namely that the specification on which the decimal 
module is based specifically disallows this:  At

http://www2.hursley.ibm.com/decimal/daconvs.html

it says:  "No blanks or other white space characters are permitted in a 
numeric string.", and the "to-number" operation of the specification, 
which converts strings to Decimal instances, is expected only to accept 
numeric strings.

Of course, all the specification requires is that the functionality of to-
number is present in the Decimal module *somewhere*:  currently it's 
implemented by Decimal.__new__, but it would be possible to alter 
Decimal.__new__ to allow leading and trailing spaces, and have a strictly 
conforming to-number implementation elsewhere in the Decimal module.  I 
don't think there's any real benefit to this.  It's easy enough to add a 
call to strip() to the Decimal argument.

I recommend closing this issue as a "won't fix".

--
nosy: +marketdickinson
type:  -> rfe

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com