[issue1734] no effect if metaclass modifies dict

2008-01-04 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

When designing a metaclass, you should override __new__, not __init__:

class MetaNode(type):
   def __new__(cls, name, bases, cdict):
   cdict['z'] = name
   return type.__new__(cls, name, bases, cdict)

class Node(object):
   __metaclass__ = MetaNode

--
nosy: +amaury.forgeotdarc
resolution:  - invalid
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1734
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Eric Andresen

New submission from Eric Andresen:

The tarfile.TarFile.extractall() method is [by default] silently failing
to set directory permissions and times on all but the lexically-latest
directory extracted. This is due to an unintentional re-use of the
'path' variable.

The provided patch renames the second 'path' variable to 'dirpath' which
resolves the problem.

--
components: Library (Lib)
files: python-tarfile-extractall-fix.patch
messages: 59219
nosy: eandres
severity: normal
status: open
title: tarfile.TarFile.extractall not setting directory permissions correctly
versions: Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9056/python-tarfile-extractall-fix.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Eric Andresen

Changes by Eric Andresen:


--
type:  - behavior

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1733] Maybe PC/VS7.1/pythoncore.vcproj is missing Modules/md5module.c

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in r59708

Thanks again! I don't have VC 6 and VS 7.1 on my machine to test the
build directories and your fixes. I hope they are fine. It looks ok :)

--
nosy: +tiran
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1733
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Lars Gustäbel

Changes by Lars Gustäbel:


--
assignee:  - lars.gustaebel
nosy: +lars.gustaebel

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
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-04 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in r59709 (trunk) and r59710 (2.5)

--
resolution: accepted - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1713
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1687] plistlib.py restricts integer to Python int when writing

2008-01-04 Thread lafcadio

lafcadio added the comment:

tiran wrote:
 Should it be backported to 2.5?

I'm sure to understand what 'backport' means. Of course it would be nice
if in future 2.5 versions the read data could be written. But for me its
not important.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1687
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Lars Gustäbel

Lars Gustäbel added the comment:

Committed to release25-maint branch as r59713.

--
resolution:  - accepted
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1739648] zipfile.testzip() using progressive file reads

2008-01-04 Thread Alan McIntyre

Alan McIntyre added the comment:

This sort of change definitely needs to be made to avoid reading huge
files into memory for testzip().  I've attached a modified patch as
zipfile_testzip_amcintyre.diff; it didn't seem appropriate to have a
module-level variable for the size of the test read, and I made a few
other minor tweaks.

--
nosy: +alanmcintyre
Added file: http://bugs.python.org/file9057/zipfile_testzip_amcintyre.diff

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1739648
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Lars Gustäbel

Lars Gustäbel added the comment:

Thanks for the patch. I added a testcase and applied it to the trunk,
see r59712. Python 2.5 follows later on.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1727] VC6 build patch for python3000

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

I've applied a fraction of your patch in r59711 but the part for PC/VS6
didn't apply. It may be a newline problem. Can you send me the files in
a zip or tar archive, please?

--
nosy: +tiran

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1727
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735] tarfile.TarFile.extractall not setting directory permissions correctly

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
keywords: +patch
priority:  - high
versions: +Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1687] plistlib.py restricts integer to Python int when writing

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
priority:  - normal
resolution: fixed - remind
versions:  -Python 2.6, Python 3.0

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1687
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1567
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1527] Problem with static libs on Windows

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Already fixed in svn

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1527
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1727] VC6 build patch for python3000

2008-01-04 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

Thank you. This file is zipped file.

Added file: http://bugs.python.org/file9059/PC_VC6.zip

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1727
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue889544] win32 raw socket support

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

I've implemented the WSAIoctl wrapper myself and added a working example
for a network sniffer. IPPROTO_RAW is wrong, it must be IPPROTO_IP.

--
nosy: +tiran
resolution:  - fixed
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue889544

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



[issue1736] Three bugs of FCICreate (PC/_msi.c)

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
assignee:  - loewis
components: +Windows
keywords: +patch, py3k
nosy: +loewis
priority:  - normal

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue846388] Check for signals during regular expression matches

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
type:  - rfe
versions: +Python 2.5, Python 2.6 -Python 2.4


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue846388

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



[issue1243] option.dest not set when callback called with optparse

2008-01-04 Thread Raghuram Devarakonda

Raghuram Devarakonda added the comment:

I was under the impression that no change is necessary but I will take a
closer look and will see if something needs to be done.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1243
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1737] Windows installer issue (ObjectBrowser.py)

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
assignee:  - loewis
nosy: +loewis

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1737
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1727] VC6 build patch for python3000

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Committed in 59720

Thanks Hiro! I still wonder why you are still using VS6 :)

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1727
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1737] Windows installer issue (ObjectBrowser.py)

2008-01-04 Thread Dariusz Suchojad

New submission from Dariusz Suchojad:

Hello,

for some reasons I cannot install Python 2.5.1 using the default MSI
package which may be found here
http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi. This only
happens on two of my PC's at work but I cannot reproduce it at home.
The only difference I could find between those Windows is that the
PC's at work are connected to Active Directory domain whereas my home
machine isn't. I tried to install Python as a domain user and also
as a local administrator but every time I encountered the very same
screen (see attached file objectbrowser.png) and then the installation
process rollbacks. I'd like to investigate
it further but I have no slightest idea where to start. Do you perhaps
have any suggestions? It's all Windows XP SP2.

--
components: Installation, Windows
files: objectbrowser.png
messages: 59234
nosy: dsuch
severity: normal
status: open
title: Windows installer issue (ObjectBrowser.py)
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file9060/objectbrowser.png

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1737
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue798876] windows sys.path contains nonexistant directory

2008-01-04 Thread Joseph Armbruster

Joseph Armbruster added the comment:

If I look at Lib/plat-win back at rev 16910, winreg.py could be found
there.  Everything I see in the tree referencing plat-win is
documentation, except the PYTONPATH define itself.  It looks like
Lib/plat-win was removed back in revision 16911 [Aug 20,2000].

Log output:
Remove the winreg module from the project.  I don't believe any
docs changes are needed (only reference to winreg I could find
was in libwinreg.tex, which is documenting _winreg, and merely
mentions that a higher-level winreg module *may* appear someday;
that's still true).

And made its way back in, in 27697 [July 19, 2002].

Log output:
Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.


I'm thinking this is stale code.

As per the test app, I know from a previous inquiry of mine that
C:\WINNT\system32\python25.zip (and the like on different systems /
version) is in fact necessary.

Your thoughts?

--
nosy: +JosephArmbruster


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue798876

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



[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Next time please give the patch a more meaningful name than patch :)

--
components: +Interpreter Core
keywords: +patch
nosy: +tiran
versions: +Python 2.5, Python 2.6

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1700463] VC6 build patch for trunk

2008-01-04 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

I zipped PC/VC6/* as files.

Added file: http://bugs.python.org/file9062/vc6-trunk-ver4c.zip

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1700463
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1700463] VC6 build patch for trunk

2008-01-04 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

I zipped PC/VC6/* as files.

Added file: http://bugs.python.org/file9061/vc6-trunk-ver4c.zip

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1700463
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1700463] VC6 build patch for trunk

2008-01-04 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

Oops, sorry for double post. My network provider now stucks somehow...

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1700463
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1243] option.dest not set when callback called with optparse

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Hm, perhaps I misinterpreted the discussion. If no patch is necessary,
please close as won't fix or invalid.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1243
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1243] option.dest not set when callback called with optparse

2008-01-04 Thread Raghuram Devarakonda

Raghuram Devarakonda added the comment:

 Hm, perhaps I misinterpreted the discussion. If no patch is necessary,
 please close as won't fix or invalid.

I spent some time looking at optparse code and OP's request.
_check_dest has a clear comment that says dest will be set iff a
store action is selected (which callback is not) or if a type is
given. But from the code itself, I don't see how setting dest in all
cases would be bad. Do you want to assign this to Greg Ward to ask his
opinion? Also, it doesn't look like we can directly patch optparse.py
as it seems to be auto-generated. On a side note, I don't have tracker
permissions to change status.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1243
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1089358] need siginterrupt() on Linux - impossible to do timeouts

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Looks okay, but needs docs.

--
nosy: +gvanrossum

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
___
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

2008-01-04 Thread Joseph Armbruster

Joseph Armbruster added the comment:

Backport to 2.6a0 and tested with:

Python 2.6a0 (trunk:59710M, Jan  4 2008, 11:36:45) [MSC v.1500 32 bit
(Intel)] on win32

Added file: http://bugs.python.org/file9063/pythonstartup.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1442
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue846388] Check for signals during regular expression matches

2008-01-04 Thread Facundo Batista

Facundo Batista added the comment:

Couldn't apply cleanly the patch, as it appears to be a diff in other
format.

Anyway, applied it by hand, and now I attach the correct svn diff.

The test cases run ok with this change, and the problem is solved.

Regarding the delay introduced, I tested it with:

  $ ./python timeit.py -s import re;r=re.compile('a?a?a?a?a?a')
r.match('a')

Trunk:
  10 loops, best of 3: 5.4 usec per loop
  10 loops, best of 3: 5.32 usec per loop
  10 loops, best of 3: 5.41 usec per loop

Patch applied:
  10 loops, best of 3: 7.28 usec per loop
  10 loops, best of 3: 6.79 usec per loop
  10 loops, best of 3: 7.00 usec per loop

I don't like that. Anyway, I do NOT trust for timing the system where
I'm making the timing, so you may get different results.

Suggestions?

--
nosy: +facundobatista
type: rfe - 
versions: +Python 2.4 -Python 2.5, Python 2.6
Added file: http://bugs.python.org/file9064/sre_exception.diff


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue846388

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



[issue1734] documentation on metaclasses is incomplete and misleading

2008-01-04 Thread L. Peter Deutsch

L. Peter Deutsch added the comment:

Please reopen this issue as a documentation bug.

The documentation for __new__ in section 3.4.1 says:

__new__() is intended mainly to allow subclasses of immutable types
(like int, str, or tuple) to customize instance creation.

The documentation for metaclasses in 3.4.3 says nothing about __new__
vs. __init__. It says the metaclass will be called for class creation,
and it says the metaclass can be any callable. This would imply the
use of __call__ rather than __new__ or __init__.

I think 3.4.1 should say:

__new__() is intended mainly to allow subclasses of immutable types
(like int, str, or tuple) to customize instance creation. It is also
used for custom metaclasses (q.v.).

I think 3.4.3 should be reviewed in its entirety to replace the
misleading language about called and callable with language that
explicitly mentions __new__.

--
title: no effect if metaclass modifies dict - documentation on metaclasses is 
incomplete and misleading

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1734
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1243] option.dest not set when callback called with optparse

2008-01-04 Thread Raghuram Devarakonda

Raghuram Devarakonda added the comment:

FWIW, the change to _check_dest to always set 'dest' breaks quite a few
tests.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1243
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue482531] python directory not added to PATH

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

This bug is about 6 years old. Please discuss the matter on the python
dev mailing list if you are still interested in the problem.

--
nosy: +tiran
resolution:  - wont fix
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue482531

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



[issue1243] option.dest not set when callback called with optparse

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Then let's leave well enough alone.  I believe Greg Ward doesn't usually
respond to queries about optparse, but I'm assigning it to him anyway in
case his interest is piqued.  But for now, let's close this.

--
assignee:  - gward
nosy: +gward
resolution:  - invalid
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1243
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue846388] Check for signals during regular expression matches

2008-01-04 Thread Ralf Schmitt

Ralf Schmitt added the comment:

./python Lib/timeit.py -n 100 -s import
re;r=re.compile('a?a?a?a?a?a') r.match('a') gives me for

Trunk:
100 loops, best of 3: 3.02 usec per loop
100 loops, best of 3: 2.99 usec per loop
100 loops, best of 3: 3.01 usec per loop

Patched:
100 loops, best of 3: 3.04 usec per loop
100 loops, best of 3: 3.04 usec per loop
100 loops, best of 3: 3.14 usec per loop

which would be ok, I guess.

(This is on a 64bit debian testing with gcc 4.2.3).

Can you test with the following:

if ((0 == (sigcount  0x))  PyErr_CheckSignals())

(i.e. the code will (nearly) not even call PyErr_CheckSignals).

I guess this is some c compiler optimization issue (seems like mine does
a better job at optimizing :)


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue846388

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



[issue770280] PyMarshal_ReadLastObjectFromFile

2008-01-04 Thread Paul Felix

Paul Felix added the comment:

Maybe not. With the addition of thread.stack_size([size]), it's fairly
easy to get around the problem by bumping up the stack size. It would be
nice if PyMarshal_ReadLastObjectFromFile didn't allocate a small file
buffer on the stack (think of the impact when *recursively* importing
many .pyc files).


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue770280

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



[issue490264] Portable compiler option specification

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

This bug is about 6 years old. Please discuss the matter on the python
dev mailing list if you are still interested in the problem and come up
with a patch.

--
nosy: +tiran
resolution:  - out of date
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue490264

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



[issue734115] Packaging without disturbing an existing installation

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

This patch should be considered for Python 2.6 and newer.

--
keywords: +patch
nosy: +tiran
priority: normal - low
versions: +Python 2.6, Python 3.0


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue734115

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



[issue699594] refcount problem involving debugger

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

The bug report is about 5 years old and probably outdated. Please open a
new one if you see the bug again.

--
nosy: +tiran
resolution:  - out of date
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue699594

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



[issue706392] faster _socket.connect variant desired

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Consider and discuss the patch for Python 2.6 or close it.

--
keywords: +patch
nosy: +tiran
priority: normal - low
versions: +Python 2.6, Python 3.0


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue706392

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



[issue1009929] PyErr_Clear() vs. AsynchronousException

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

The problem was solved with the new BaseException class

--
nosy: +tiran
resolution:  - fixed
status: open - closed

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1009929
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue990749] os constants missing

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

The docs claim are wrong.

--
nosy: +tiran
resolution:  - fixed
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue990749

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



[issue812369] module shutdown procedure based on GC

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Consider this patch for 2.6 and discuss it at the bug day.

--
nosy: +tiran
versions: +Python 2.6, Python 3.0 -Python 2.4


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue812369

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



[issue813922] Zero Configuration Networking?

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

I agree with Jack! Please work on an extension package and provide
patches if you need extra socket code in the core.

--
nosy: +tiran
resolution:  - out of date
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue813922

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



[issue618593] Windows binary missing IPv6 support

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Python 2.5 and newer support IPv6 on Windows.

--
nosy: +tiran
resolution:  - fixed
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue618593

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



[issue452144] How to install some stuff to /usr/sbin

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

The feature request is several years old. Please create a new request
with a working patch if you still want to get the feature into Python 2.6+

--
nosy: +tiran
resolution:  - out of date
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue452144

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



[issue842171] Digital Unix build fails to create ccpython.o

2008-01-04 Thread Christian Heimes

Christian Heimes added the comment:

Digital Unix is no longer officially supported. If somebody needs Python
on the system please open a new bug and provide some patches.

--
nosy: +tiran
resolution:  - out of date
status: open - closed


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue842171

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



[issue759525] inspect.getmembers broken (?)

2008-01-04 Thread Christian Heimes

Changes by Christian Heimes:


--
components: +Documentation
versions: +Python 2.5, Python 2.6, Python 3.0


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue759525

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



[issue1738] filecmp.dircmp does exact match only

2008-01-04 Thread Oliver Nelson

New submission from Oliver Nelson:

dircmp's ignore and hide list only take exact files to ignore, not unix
filename pattern's.  This means you can't hide/ignore *.bak or something
similar.  Changing the _filter function adds this:

def newfilter(flist, skip):
  for pattern in skip:
flist = list(ifilterfalse(fnmatch.filter(flist,
pattern).__contains__, flist))
  return flist

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1738
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1738] filecmp.dircmp does exact match only

2008-01-04 Thread Oliver Nelson

Changes by Oliver Nelson:


--
components: None
nosy: flxkid
severity: normal
status: open
title: filecmp.dircmp does exact match only
type: behavior
versions: Python 2.5

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1738
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue846388] Check for signals during regular expression matches

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Mind if I assign this to Facundo? Facundo, if you wish to pass this on,
just unassign it.

--
assignee: effbot - facundobatista
nosy: +gvanrossum


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue846388

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



[issue1738] filecmp.dircmp does exact match only

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

I'm sorry, but can you rephrase that in the form of a patch? I can't
quite figure out what you're trying to say, except that it sounds like
it's scratching an itch of yours.

--
nosy: +gvanrossum

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1738
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1472] Small bat files to build docs on Windows

2008-01-04 Thread Joseph Armbruster

Joseph Armbruster added the comment:

I tested this out out in the trunk (59706).  Placed builddoc.bat in /Doc
and ran the following commands:

builddoc checkout
builddoc html
builddoc htmlhelp
builddoc web

All appeared to work fine on my system.

--
nosy: +JosephArmbruster

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1472
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1656] Make math.{floor,ceil}(float) return ints per PEP 3141

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

looks good.

--
assignee: gvanrossum - jyasskin
resolution:  - accepted

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1656
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1737] Windows installer issue (ObjectBrowser.py)

2008-01-04 Thread Martin v. Löwis

Martin v. Löwis added the comment:

Can you please run

msiexec /i msifile /l*v python.log

then compress python.log, and attach it to the report? Thanks.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1737
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1725] -1e-1000 converted incorrectly

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Committed revision 59725.

Thanks for the fix, Mark!  This issue is a great example of how our
development process works well.

I propose not to backport this to 2.5.2, it's a rather minor issue and
who knows what user code might depend on the existing buggy behavior...

--
keywords: +patch
priority:  - normal
resolution:  - accepted
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1725
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1725] -1e-1000 converted incorrectly

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

PS. I reformatted some long lines in the patch.  In general, I like to
keep all lines  80 chars, in both C and Python code.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1725
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue683910] zipfile should have a tarfile-like API

2008-01-04 Thread Alan McIntyre

Alan McIntyre added the comment:

I just posted a patch on issue 467924
(http://bugs.python.org/issue467924) that adds extract and extractall
methods.  Recommend closing this issue unless the patch over there is
insufficient for some reason.

--
nosy: +alanmcintyre


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue683910

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



[issue1722225] Build on QNX 6

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

I think it's fine to accept this (once the remaining issues are
resolved) -- it's a remarkably small patch.

Regarding TCGETA, perhaps the issue is that it isn't defined unless
sys/termio.h is included?  While Python doesn't USE it, it exports it
fro the termios module, if it exists.  Though the suggestion that this
should be resolved by configure is still a good one.  Matt, can you
provide an updated patch or clarifications?

--
nosy: +gvanrossum

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue175
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue467924] Improve the ZipFile Interface

2008-01-04 Thread Alan McIntyre

Alan McIntyre added the comment:

I attached a patch with the following changes (as zipfile_extract.diff):

(1) Add a note to the docs (under writestr) about how the compression is
selected if a ZipInfo is passed as the zinfo_or_arcname parameter.  If
anybody thinks it's a good idea to add a compression argument to the
ZipInfo constructor, I can modify the patch/docs accordingly.

(2) Add an extract method to ZipFile and associated test/documentation
changes.

Added file: http://bugs.python.org/file9066/zipfile_extract.diff


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue467924

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



[issue1381] cmath is numerically unsound

2008-01-04 Thread Mark Dickinson

Mark Dickinson added the comment:

Here's an updated patch for cmath, complete with tests and documentation 
changes.
There's an extra file, Lib/test/cmath.ctest, containing test values for the 
various functions;  
these test values were obtained using MPFR and interval arithmetic, and (modulo 
bugs) should 
all be correctly rounded.

Any feedback would be much appreciated.

Added file: http://bugs.python.org/file9065/cmath3.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1381
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue467924] Improve the ZipFile Interface

2008-01-04 Thread Alan McIntyre

Alan McIntyre added the comment:

Are the method renames/additions suggested in the original issue worth
doing?  When I first started using this module, I found the
documentation easy and thorough enough to understand how to use it, so I
would vote for just leaving the ZipFile interface the way it is.


Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue467924

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



[issue1698] urlparse and usernames containing @

2008-01-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Committed revision 59726.

This is in the trunk (2.6).  Do you need this backported to 2.5.2 as well?

--
keywords: +patch
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1698
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1738] filecmp.dircmp does exact match only

2008-01-04 Thread Oliver Nelson

Oliver Nelson added the comment:

Patch attached (sorry, this is my first bug report on an os project). 
dircmp has a list of files to ignore and hide.  These lists right now
are compared to the left and right lists using __contains__ to filter
out the ignore/hide lists.

This patch adds the ability to pass file patterns in addition to
filenames so that you can filter classes of files such as *.bak or temp*.*

Added file: http://bugs.python.org/file9067/filecmp.py.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1738
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1738] filecmp.dircmp does exact match only

2008-01-04 Thread Oliver Nelson

Oliver Nelson added the comment:

sorry...jacked up the patch file...new one attached

Added file: http://bugs.python.org/file9068/filecmp.py.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1738
__
___
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-04 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

This short patch appears to fix the problem, please review.

--
keywords: +patch
Added file: http://bugs.python.org/file9069/pythonrun.c.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1692
__
___
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-04 Thread Guido van Rossum

Guido van Rossum added the comment:

Yup, thanks! Can you submit it and close this?

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1692
__
___
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-04 Thread Kurt B. Kaiser

Kurt B. Kaiser added the comment:

r59729

--
assignee: gvanrossum - kbk
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1692
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2008-01-04 Thread Mike Klaas

Mike Klaas added the comment:

Updated patch, now with documentation and test.  Patch is against 
2.6trunk, but probably will apply against 3.0 as well

--
components: +Library (Lib) -Interpreter Core
versions: +Python 2.6 -Python 2.5
Added file: http://bugs.python.org/file9070/posix_closerange.patch

_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1663329
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com