[issue1715] Make pydoc list submodules

2008-01-01 Thread Christian Heimes

Changes by Christian Heimes:


--
assignee:  -> georg.brandl
keywords: +patch
nosy: +georg.brandl
priority:  -> normal

__
Tracker <[EMAIL PROTECTED]>

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



[issue1694] floating point number round failures under Linux

2008-01-01 Thread Christian Heimes

Changes by Christian Heimes:


__
Tracker <[EMAIL PROTECTED]>

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



[issue1692] Syntax Error exception dosen't print string; not informative

2008-01-01 Thread Christian Heimes

Changes by Christian Heimes:


--
components: +Interpreter Core
keywords: +py3k
priority:  -> high

__
Tracker <[EMAIL PROTECTED]>

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



[issue1703] getpass broken in Py3k: must flush()

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Committed revision 59646.

--
nosy: +gvanrossum
resolution:  -> accepted
status: open -> closed
type:  -> behavior

__
Tracker <[EMAIL PROTECTED]>

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



[issue1717] Get rid of more refercenes to __cmp__

2008-01-01 Thread Guido van Rossum

New submission from Guido van Rossum:

Should I apply this?  There are more places that reference __cmp__ in
the library.  OTOH there are some folks who would like to see __cmp__
make a come-back as a shorthand for defining 6 comparison operators, for
totally-ordered types.  (I'm still waiting for a PEP describing this
though.)  Even in that case I'm not sure that the code I'm proposing to
delete here would be useful.

--
assignee: gvanrossum
components: Interpreter Core
files: nocmp.diff
keywords: patch
messages: 59072
nosy: gvanrossum
priority: low
severity: normal
status: open
title: Get rid of more refercenes to __cmp__
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file9039/nocmp.diff

__
Tracker <[EMAIL PROTECTED]>

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



[issue1713] posixpath.ismount() claims symlink to a mountpoint is a mountpoint.

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Go ahead then!

--
assignee:  -> tiran
nosy: +gvanrossum
resolution:  -> accepted

__
Tracker <[EMAIL PROTECTED]>

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



[issue1711] socket functions that should return unsigned int return signed int

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

This should be fixed. Maarten, can you create a patch that works for
you? (Since few of us have access to the platform where it breaks.)

--
nosy: +gvanrossum

__
Tracker <[EMAIL PROTECTED]>

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



[issue1711] socket functions that should return unsigned int return signed int

2008-01-01 Thread Maarten Thibaut

Maarten Thibaut added the comment:

Guido, the problem is that my python foo is severely lacking - but I'll
have a stab at it.

Python believes that the number coming back from the C library is
negative. We can fool it by packing the "signed short" into a
system-native format, and then unpacking it explicitly into an unsigned
short. So I propose to do precisely that on big endian systems using
sys.byteorder: wrap these functions with a converter. Would that be
acceptible?

__
Tracker <[EMAIL PROTECTED]>

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



[issue1711] socket functions that should return unsigned int return signed int

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Maarten, can you build Python 2.6 from svn?  (See
http://www.python.org/dev/faq/#subversion-svn for help.)

It looks like this has been fixed there, per r53434.  Perhaps the same
changes can be backported.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1718] Tarfile fails to fully extract tar.bz2/tar.gz package

2008-01-01 Thread Ismail Donmez

New submission from Ismail Donmez:

Running python 2.5 maintainance branch,

Test code is :

import tarfile

f = file(r"nss-3.12_alpha2.tar.bz2", "rb")
tar = tarfile.open(fileobj=f, mode="r|bz2")
try:
for m in tar:
tar.extract(m)
finally:
tar.close()
f.close()

You can get the file from
http://cekirdek.pardus.org.tr/~ismail/dist/nss-3.12_alpha2.tar.bz2 .

When the script finishes it only creates mozilla/security/nss directory,
if you extract with tar you will see that it also creates
mozilla/security/coreconf directory.

Tarfile created with 1.19 on Linux i686. I can reproduce the same
problem with tar.gz version of the same file.

--
components: Library (Lib)
messages: 59077
nosy: cartman
severity: normal
status: open
title: Tarfile fails to fully extract tar.bz2/tar.gz package
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>

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



[issue1718] Tarfile fails to fully extract tar.bz2/tar.gz package

2008-01-01 Thread Ismail Donmez

Changes by Ismail Donmez:


--
type:  -> behavior

__
Tracker <[EMAIL PROTECTED]>

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



[issue1718] Tarfile fails to fully extract tar.bz2/tar.gz package

2008-01-01 Thread Ismail Donmez

Ismail Donmez added the comment:

Argh stupid me, this is due a patch on my side, grr. ı am really sorry.
Please close as invalid :(

__
Tracker <[EMAIL PROTECTED]>

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



[issue1718] Tarfile fails to fully extract tar.bz2/tar.gz package

2008-01-01 Thread Guido van Rossum

Changes by Guido van Rossum:


--
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



[issue1705] trace module does not annotate global statement

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

I don't see a bug here. It is as Amaury explains.

--
nosy: +gvanrossum
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



[issue1702] Word "alias" used in confusing way to compare open() and file()

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Looks like a doc change that Georg could easily apply.

--
assignee: nnorwitz -> georg.brandl
nosy: +georg.brandl, gvanrossum
priority:  -> low

__
Tracker <[EMAIL PROTECTED]>

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



[issue1700] Regular Expression inline flags not handled correctly for some unicode characters

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

I see this too.  Maybe Fredrik understands?

--
assignee:  -> effbot
nosy: +effbot, gvanrossum

__
Tracker <[EMAIL PROTECTED]>

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



[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Good catch!
Committed revision 59659.
I wonder how many other places have the same problem...

--
nosy: +gvanrossum
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



[issue1709] logging: log actual function name

2008-01-01 Thread Guido van Rossum

Changes by Guido van Rossum:


--
assignee:  -> vsajip
nosy: +vsajip
priority:  -> low

__
Tracker <[EMAIL PROTECTED]>

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



[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Andre Roberge

Changes by Andre Roberge:


__
Tracker <[EMAIL PROTECTED]>

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



[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Andre Roberge

Andre Roberge added the comment:

I did a quick search on the *.py files in the distribution.  I only
found two questionable places.

1. site.py has "raw_input" (python 2.5, line 311) replaced by the more
complicated 3 lines (python 3.0a2, lines 313-315) rather than the
simpler one-liner replacement.  However, I do not see any reason why
this could cause problems.

2. pydoc.py: raw_input is still present in 3.0a2 on line 1711; it should
be replaced by input imo.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

Actually, only the f.close() call should be conditionalized.
Does this patch fix the issue for you?

--
assignee:  -> gvanrossum
nosy: +gvanrossum
priority:  -> normal
Added file: http://bugs.python.org/file9040/distutils.diff

__
Tracker <[EMAIL PROTECTED]>

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



[issue1707] probable bug in code.py with Python 3.0a2

2008-01-01 Thread Guido van Rossum

Guido van Rossum added the comment:

site.py is already fixed in svn; it actually did cause problems, see
issue #1667.

I fixed pydoc.py.
Committed revision 59660.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1177] urllib* 20x responses not OK?

2008-01-01 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r58207 and r58247 patch logic is reversed.

--
assignee: facundobatista -> kbk
nosy: +kbk
resolution: fixed -> 
status: closed -> open

__
Tracker <[EMAIL PROTECTED]>

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



[issue1177] urllib* 20x responses not OK?

2008-01-01 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

Reversed the logic of the previous patches to urllib.py and added a 
test case.  I noticed the problem when I tried to retrieve a file 
which required auth.

r59661

--
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



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2008-01-01 Thread toxik

toxik added the comment:

It doesn't die now, but AFAICT, it doesn't even try to copy the script
now. (With your patch.)

I might also add that this is for package_data.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1719] Cosmetic patch for doc/code mismatch (msilib.UuidCreate)

2008-01-01 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto:

Doc says msilib.UUIDCreate(), while code says msilib.UuidCreate()
(Case differs) maybe doc is wrong?

--
components: Documentation
files: msilib.patch
messages: 59089
nosy: ocean-city
severity: normal
status: open
title: Cosmetic patch for doc/code mismatch (msilib.UuidCreate)
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9041/msilib.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1709] logging: log actual function name

2008-01-01 Thread Vinay Sajip

Vinay Sajip added the comment:

This must be some kind of SVN issue. Works fine on 2.5.1:

Python 2.5.1 (r251:54863, May  2 2007, 16:56:35) 
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> def myLoggingFunc():
... logging.warning("Be warned!")
... 
>>> logging.basicConfig(format="%(funcName)s %(message)s")
>>> myLoggingFunc()
myLoggingFunc Be warned!
>>>

--
resolution:  -> invalid
status: open -> pending

__
Tracker <[EMAIL PROTECTED]>

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