Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I can reproduce refleaks with only test_distutils now.
E:\python-dev\py3k\Lib\testpy3k regrtest.py -R3:2: test_distutils
test_distutils
beginning 5 repetitions
12345
.
test_distutils leaked [280, 280] references, sum=560
1 test
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6097
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Duplicate of #6108.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - unicode(exception) behaves differently on Py2.6 when
len(exception.args) 1
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks, it fixed it. Applied in the trunk.
Can you guys merge r73008 into Py3k please ?
I have a problem today, I can't build py3k on Mac OS X anymore, I am
trying to figure out why.
--
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Done in r73010. I think it would be better to patch release26maint.patch
for release26-maint (and same patch for release30-maint) to complete
super() issue.
--
___
Python tracker
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file14110/release26maint.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6131
___
John Szakmeister j...@szakmeister.net added the comment:
On trunk, it seems that it's perfectly happy if you specify more than
one '+':
Python 2.7a0 (trunk, May 29 2009, 05:57:26)
[GCC 4.0.1 (Apple Inc. build 5470) (Aspen 5470.3)] on darwin
Type help, copyright, credits or license for more
New submission from Lie Ryan lie.1...@gmail.com:
Following from http://comments.gmane.org/gmane.comp.python.tutor/55576
import subprocess
subprocess.Popen(['a', 'b', 'c', 'd'], executable='echo')
subprocess.Popen object at 0x7fdf7bb2bd50
b c d
instead of the (what I) expected result
a b c d
Changes by John Szakmeister j...@szakmeister.net:
--
nosy: +jszakmeister
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3329
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done thx for the help.
Do you happen to know the exact reason why using super rather than an
explicit call avoids the leaking ?
--
status: open - closed
versions: +Python 2.6, Python 2.7, Python 3.0
Changes by John Szakmeister j...@szakmeister.net:
--
nosy: +jszakmeister
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
___
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Well, I don't know... But probably mixing super() and non super() caused
too many call of setUp() or tearDown(). I saw such case before.
To track down this, probably this info helps.
1. Revert to previous revision of distutils
2.
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I tracked down more deeper.
LoggingSilencer.setUp() was called twice, so restoration of log.Log._log
was not done correctly. log.Log._log becomes method of TestCase class
after test done in most cases. Probably this keeps reference
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Lars, I think that your question has a simple explanation, and is not
related to the original issue:
- On 4th line, the variable named A is bound to a new type object.
This type has no attribute by itself.
- The first dir(A) displays the
Martin v. Löwis mar...@v.loewis.de added the comment:
I have now committed this patch with the proposed modifications as r73014.
I don't believe that the additional destr call is necessary, as
releasing the capsule will invoke destr already.
--
resolution: - fixed
status: open -
R. David Murray rdmur...@bitdance.com added the comment:
The way it works is the way most programmers expect it to work, even
though most get bitten by it more than once. So the behavior isn't
going to change. I've attached a doc fix, but I'm not sure whether or
not the 'diplay name' piece
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patches. Committed as r73015.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4859
New submission from James purplei...@gmail.com:
Priority: 4
Keywords: patch, distutils, pyc
Comment:
I posted this on the distutils mailing list, and they said I should post
it here instead.
---
Hi,
I'm certaintly new to distutils and setuptools, however I figured I'd
send in this patch, and
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch. Committed as r73016, r73017, r73018, r73019.
--
nosy: +loewis
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Thanks for the patch. Committed as r73020.
--
nosy: +loewis
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6097
Changes by Collin Winter coll...@gmail.com:
--
nosy: +collinwinter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6133
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
This is a duplicate of issue 3061.
--
nosy: +loewis
resolution: - duplicate
status: open - closed
superseder: - time.strftime() always decodes result with UTF-8
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
This is a duplicate of issue 3061.
--
resolution: - duplicate
status: open - closed
superseder: - time.strftime() always decodes result with UTF-8
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
Antoine: Don't use autoconf 2.63 to generate pyconfig.h.in and
configure. Use 2.61 instead (until it is agreed to switch to a newer
version).
--
nosy: +loewis
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Here is a patch that resolves this issue for systems supporting
wcsftime, which should be the majority of systems on which the problem
can occur.
--
keywords: +patch
priority: high - release blocker
Added file:
Antoine Pitrou pit...@free.fr added the comment:
Antoine: Don't use autoconf 2.63 to generate pyconfig.h.in and
configure. Use 2.61 instead (until it is agreed to switch to a newer
version).
Oops, sorry. Are there any known issues with 2.63?
--
jamesie pos...@jamesie.de added the comment:
At least for Run in the main menu the changed shortcut shows up after a
restart of IDLE. Nevertheless in the Options dialog the string F5
seems to be hard coded.
--
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
The patch looks good. (Can this be tested?)
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3061
___
Georg Brandl ge...@python.org added the comment:
Patch looks good, just replace `ps` by :program:`ps` please.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6141
___
Terry J. Reedy tjre...@udel.edu added the comment:
Am closing based on 'My problem seems resolved'.
I don't know whether it will be fixed in 3.0.2 or not,
but that is pretty much a moot point.
--
nosy: +tjreedy
resolution: - fixed
status: open - closed
R. David Murray rdmur...@bitdance.com added the comment:
Fixed in r73026, thanks.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6141
Martin v. Löwis mar...@v.loewis.de added the comment:
It's difficult to test. The only test I can think of is one that gets
skipped if the fr_FR (say) locale is not configured. The test would then
try to find out what the name of February is, which should return a
string (see issue5562).
Changes by Phillip Sitbon phillip.sitbon+python-...@gmail.com:
Removed file: http://bugs.python.org/file14096/thread_nt.h.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6132
___
Phillip Sitbon phillip.sitbon+python-...@gmail.com added the comment:
Tabified new code and removed one C++-style comment.
--
Added file: http://bugs.python.org/file14114/thread_nt.h.patch
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
I believe that is a bug. The warning should be about 'order
comparisons', which did disappear, and not 'inequality comparisons', and
should not trigger on == or !=.
--
nosy: +tjreedy
___
Python
Terry J. Reedy tjre...@udel.edu added the comment:
FWIW, WindowsXP, Py3.1b1, May 7
io.StringIO('foo\r\nbar\r\n', newline=None).read()
'foo\nbar\n'
I believe there were changes to io after April 14 for May 7 release, so
this may be fixed in 2.6.3 branch already.
--
nosy: +tjreedy
R. David Murray rdmur...@bitdance.com added the comment:
This was applied by Georg in r72925.
--
nosy: +r.david.murray
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
type: - feature request
___
Python tracker
Changes by R. David Murray rdmur...@bitdance.com:
--
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3061
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Martin, I agree that we would have to think carefully about all
attributes of all constants loaded by LOAD_CONST, and about
special-casing marshal, but given that 'str' object attribute 'join' is
read-only, how is ''.join not a constant? Do you
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I'm working a better patch now. Will give to collin to review when it's
ready. Here's a draft of the new opcode:
TARGET(LOAD_CONST_ATTR)
u = GETLOCAL(oparg);/* Cached attribute or
Benjamin Peterson benja...@python.org added the comment:
Can you use test_support.run_with_locale?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3061
___
Terry J. Reedy tjre...@udel.edu added the comment:
I was hoping this would make 3.1. Too late, I guess. What about 3.2?
--
nosy: +tjreedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
Terry J. Reedy tjre...@udel.edu added the comment:
I agree. This and more is part of #2292
--
nosy: +tjreedy
resolution: - duplicate
status: open - closed
superseder: - Missing *-unpacking generalizations
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Fixed in r73028.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6139
___
Michael Foord mich...@voidspace.org.uk added the comment:
Committed in revision 73027.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6001
___
Guido van Rossum gu...@python.org added the comment:
I was hoping this would make 3.1. Too late, I guess. What about 3.2?
Here's what I said before:
I think we should either get this into the 3.0a5 release planned for May
7, or wait for 3.1. I'd prefer to see some kind of PEP discussion
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Attaching a rough patch for caching constant attribute lookups. Has an
open TODO for adding the new name to co-co_varnames.
--
Added file: http://bugs.python.org/file14115/constattr.diff
New submission from Roger Serwy roger.se...@gmail.com:
I noticed that the feature to clear the shell window has been a
discussion topic in the IDLE-dev archives for a few years. Here's an
extension that can clear the contents of the shell window. It provides
Clear Shell Window under Options and
New submission from jamesie pos...@jamesie.de:
IDLE 3.1b1 crashes when I press Control-SPACE in order to invoke Show
Completions from the Edit submenu. When I run that funtionality from the
menu it works ok.
Traceback (most recent call last):
File /usr/local/bin/idle3, line 5, in module
R. David Murray rdmur...@bitdance.com added the comment:
Brett Cannon apparently fixed this in r69111 for 3.1. I merged it to
the 30-maint branch in r73030.
It would be nice to add the tests, but they don't currently pass
(test_coverage_ignore fails). I don't know if that's a test bug or a
New submission from Lorenz Quack d...@amberfisharts.com:
I'm not sure if this is a bug or some weird backward-compatible behaviour...
In distutil.extension.read_setup_file it checks for the -C switch
but then appends word instead of value
So if you pass -C-Wall it actually passes exactly that
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +Interpreter Core
stage: - needs patch
type: - crash
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: barry -
versions: +Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4486
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Oops, sorry. Are there any known issues with 2.63?
Yes: it puts a carriage-return character into configure
which completely confuses subversion.
I'm puzzled how you were able to commit the generated
files; subversion should have reported
Antoine Pitrou pit...@free.fr added the comment:
Yes: it puts a carriage-return character into configure
which completely confuses subversion.
I'm puzzled how you were able to commit the generated
files; subversion should have reported an error
svn: File 'configure' has inconsistent
R. David Murray rdmur...@bitdance.com added the comment:
Reducing priority since the critical issues seem to have been resolved
already. Also retargeting for 3.2 since 3.1 is about to go rc.
--
nosy: +r.david.murray
priority: critical - normal
versions: +Python 3.2 -Python 3.0
Martin v. Löwis mar...@v.loewis.de added the comment:
Terry J. Reedy wrote:
Terry J. Reedy tjre...@udel.edu added the comment:
Martin, I agree that we would have to think carefully about all
attributes of all constants loaded by LOAD_CONST, and about
special-casing marshal, but given that
Martin v. Löwis mar...@v.loewis.de added the comment:
Benjamin Peterson wrote:
Benjamin Peterson benja...@python.org added the comment:
Can you use test_support.run_with_locale?
I don't think so. IIUC, run_with_locale will fallback to not
setting the locale if none of the listed locales
Benjamin Peterson benja...@python.org added the comment:
2009/5/29 Martin v. Löwis rep...@bugs.python.org:
Martin v. Löwis mar...@v.loewis.de added the comment:
Benjamin Peterson wrote:
Benjamin Peterson benja...@python.org added the comment:
Can you use test_support.run_with_locale?
I
Changes by R. David Murray rdmur...@bitdance.com:
--
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2775
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I did get that message (and got puzzled by it).
I worked around it by reading the file in universal newlines mode and
saving it again.
I believe this has broken part of the configure script. There is an
ac_cr variable that is supposed to
Antoine Pitrou pit...@free.fr added the comment:
Ouch, unfortunately it seems my distribution doesn't package autoconf
2.61. Is there any risk in installing it from scratch?
--
___
Python tracker rep...@bugs.python.org
New submission from Trundle andy-pyt...@hammerhartes.de:
There is a small markup error in the description of Completer objects.
The attached patch fixes this.
--
assignee: georg.brandl
components: Documentation
files: rlcompleter_doc_markup.patch
keywords: patch
messages: 88551
nosy:
Terry J. Reedy tjre...@udel.edu added the comment:
You are right, of course: bound methods are currently created fresh on
each access, even though each is equal except for identity. I was
thinking in terms of
str.join is str.join
True
This appears to be a classic time-space tradeoff: caching
Humberto Diogenes humbe...@digi.com.br added the comment:
How is this going?
--
nosy: +hdiogenes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2919
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Ouch, unfortunately it seems my distribution doesn't package autoconf
2.61. Is there any risk in installing it from scratch?
I usually install it into a private location, such as ~/ac261. This is
absolutely safe.
--
Gordon Fogus gordon.fo...@gmail.com added the comment:
I am having this issue again with python code running under python 2.6.2
compiled from source on May 28, 2009 in CentOS 5.3. The patch in the
socketmodule.diff file does not seem to be applied to the socketmodule.c
file in the current 2.6.2
Collin Winter coll...@gmail.com added the comment:
On Fri, May 29, 2009 at 3:45 PM, Martin v. Löwis rep...@bugs.python.org wrote:
py s =
py s.join is s.join
False
Every time you read it, you get a new object. Not what I would call a
constant. If you don't see how this matters, try
def
New submission from Alex James ac.ja...@shaw.ca:
When calling multithreading.Pool().map() to distribute computational
load I've recently got system crashes.
The attached minimalist script exhibits this issue.
On a Windows Vista home premium sp1 running Python 2.6.2 on a dual-core
laptop,
Antoine Pitrou pit...@free.fr added the comment:
Does this optimization actually help in real-world cases?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6133
___
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - jnoller
nosy: +jnoller
status: open -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6147
___
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
You can probably close this unless someone says otherwise. asyncore/asynchat
work in Python 3.0+, as long as only bytes are passed.
As of right now, this is a request for documentation stating you can only
send/receive
Jesse Noller jnol...@gmail.com added the comment:
Can you wrap the execution of the main code in a if __name__ ==
__main__: block, as shown in the documentation? Failure to do so can
cause a fork bomb on windows
--
___
Python tracker
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Returning the same object vs new object for bound methods is a
non-guaranteed implementation detail (as long the other semantics remain
true). I think Martin's real concern is that trying to intern bound
methods would be a
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
[AP]
Does this optimization actually help in real-world cases?
Yes and no. Yes, there are real world cases like ','.join and
'{}'.format that are dramatically sped-up. No, there are probably no
real-world programs that are
Martin v. Löwis mar...@v.loewis.de added the comment:
Returning the same object vs new object for bound methods is a
non-guaranteed implementation detail (as long the other semantics remain
true). I think Martin's real concern is that trying to intern bound
methods would be a can of worms
76 matches
Mail list logo