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__ =
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
Changes by Eric Andresen:
--
type: - behavior
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list
Unsubscribe:
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
__
Changes by Lars Gustäbel:
--
assignee: - lars.gustaebel
nosy: +lars.gustaebel
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list mailing list
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
__
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
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
__
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
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
__
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]
Changes by Christian Heimes:
--
keywords: +patch
priority: - high
versions: +Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1735
__
___
Python-bugs-list
Changes by Christian Heimes:
--
priority: - normal
resolution: fixed - remind
versions: -Python 2.6, Python 3.0
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1687
__
Changes by Christian Heimes:
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1567
__
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Already fixed in svn
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1527
__
___
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
__
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
Changes by Christian Heimes:
--
assignee: - loewis
components: +Windows
keywords: +patch, py3k
nosy: +loewis
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1736
__
Changes by Christian Heimes:
--
type: - rfe
versions: +Python 2.5, Python 2.6 -Python 2.4
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue846388
___
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
Changes by Christian Heimes:
--
assignee: - loewis
nosy: +loewis
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1737
__
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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].
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]
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
_
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
_
Hirokazu Yamamoto added the comment:
Oops, sorry for double post. My network provider now stucks somehow...
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1700463
_
___
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
__
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
Guido van Rossum added the comment:
Looks okay, but needs docs.
--
nosy: +gvanrossum
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1089358
_
___
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]
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
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
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
__
___
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
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
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:
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
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
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
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]
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
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
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
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
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]
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
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
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
Changes by Christian Heimes:
--
components: +Documentation
versions: +Python 2.5, Python 2.6, Python 3.0
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue759525
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 =
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
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
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
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
Guido van Rossum added the comment:
looks good.
--
assignee: gvanrossum - jyasskin
resolution: - accepted
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1656
__
___
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
__
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
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
__
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
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
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
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
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
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
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
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
__
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
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
Kurt B. Kaiser added the comment:
r59729
--
assignee: gvanrossum - kbk
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1692
__
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:
72 matches
Mail list logo