[issue829951] Fixes smtplib starttls HELO errors

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: and in r60017 on release25-maint for inclusion in 2.5.2. Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list

[issue829951] Fixes smtplib starttls HELO errors

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed in trunk (2.6) r60015. -- resolution: -> accepted status: open -> closed versions: +Python 2.5, Python 2.6 Tracker <[EMAIL PROTECTED]> ___

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2008-01-16 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Sorry for taking so long to get to this. gcc 4.2.1 still produces the following errors with this patch: gcc -c -fno-strict-aliasing -mno-fused-madd -no-cpp-precomp -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include -DPy_BUILD_CORE -o

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: Yes i believe it is unrelated to any recent change. I can reproduce both behaviors on my OS X 10.4 dual core mac using Python 2.5.1. Python 2.3 on the mac appears to get stuck in a loop when run stand alone but gets a memory access fault when run under gdb.

[issue1694155] Python 2.5 installer ended prematurely

2008-01-16 Thread anatoly techtonik
anatoly techtonik added the comment: The similar issue is just reported - http://img106.imageshack.us/img106/6892/pythonjo4.png -- nosy: +techtonik _ Tracker <[EMAIL PROTECTED]> ___

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2008-01-16 Thread Guido van Rossum
Guido van Rossum added the comment: So can we definitely rule out that this could be caused by the recent changes to threading.py (r57216)? -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]>

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: -> gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue829951] Fixes smtplib starttls HELO errors

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: -> gregory.p.smith Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list Unsubsc

[issue829951] Fixes smtplib starttls HELO errors

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list Unsubscribe:

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1568] PATCH: Armin's attribute lookup caching for 3.0

2008-01-16 Thread Neil Toronto
Neil Toronto added the comment: Well horse pucky. I plum forgot about deletes. I've attached an update that properly clears the cache entry for the deleted attribute for all non-shadowing subclasses. (It was a small change.) Undef'ing ATTRCACHE_SETATTR_INVALIDATES should work now. Re: different

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2008-01-16 Thread Gregory P. Smith
New submission from Gregory P. Smith: This probably applies to 3.0 as well but i have not tested it there. Here are some sample failures: === A == Exception in thread Thread-01 (most likely raised during interpreter shutdown):Exception in thread Thread-03 (mo

[issue595601] file (& socket) I/O are not thread safe

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith Tracker <[EMAIL PROTECTED]> ___ Python-bugs-list mailing list Unsubscribe:

[issue1404925] subprocess.Popen inside thread locks the thread in some case

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe

[issue1596321] KeyError at exit after 'import threading' in other thread

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: threadingbug.py doesn't fail for me on trunk (linux), anyone else? the output I get is always: Main thread ID: -134346528 Secondary thread ID: -135349328 Exception KeyError: KeyError(-134346528,) in ignored -- nosy: +gregory.p.smith ___

[issue1703448] "t.join(); assert t not in threading.enumerate()" fails

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe

[issue1339] smtplib starttls() should ehlo() if it needs to

2008-01-16 Thread Bill Fenner
Bill Fenner added the comment: jamesh, I attached the patch for that to the already-existing bug, filed in 2003: http://bugs.python.org/issue829951 __ Tracker <[EMAIL PROTECTED]> __ __

[issue1736792] dict reentrant/threading bug

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: I've just attached a diff against trunk that I believe fixes this (based off of jba's patch). Unit tests pass but that doesn't say a whole lot given that this is a hard to reproduce timing/scheduling related bug. Would someone please code review it?

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-16 Thread Gregory P. Smith
Gregory P. Smith added the comment: The uploaded file appears to be derives from Python 2.4.1 (tags/r241). i've uploaded an actual diff between the two. regardless, Thomas's point about disabling it -before- the fork() is true. Added file: http://bugs.python.org/file9186/diff-against-subproces

[issue1568] PATCH: Armin's attribute lookup caching for 3.0

2008-01-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I tried patch python30-attrcache-1.diff (after reverting the changes made to the 2.6 branch). But test_descr fails. The cache update does not handle the case when an attribute is unmasked, as shown in the following code: class A: pass class B(A): pass b=B

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue

2008-01-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: See rev 60020. -- assignee: gvanrossum -> rhettinger status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1731717] race condition in subprocess module

2008-01-16 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- nosy: +gregory.p.smith _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe

[issue1252550] modulefinder misses modules

2008-01-16 Thread Thomas Heller
Changes by Thomas Heller: -- resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list

[issue1793] ctypes.util.find_msvcrt() function

2008-01-16 Thread Thomas Heller
Thomas Heller added the comment: Amaury Forgeot d'Arc schrieb: > This code works on all pythons I have on my machine: official builds, > custom builds (relase/debug) with several MS compilers... > I did not test it with other compiled vendors (mingw32...). What I do not like about your code is t

[issue1855] Codepage unset in msilib.init_database()

2008-01-16 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> loewis components: +Windows -Distutils nosy: +loewis priority: -> normal type: -> resource usage __ Tracker <[EMAIL PROTECTED]> __ _

[issue1855] Codepage unset in msilib.init_database()

2008-01-16 Thread Jim Wilson
New submission from Jim Wilson: At http://msdn2.microsoft.com/en-us/library/aa367864(VS.85,printer).aspx, Satanic Verses sayeth: "The Codepage Summary property must be set before any string properties are set in the summary information.", but so far as I can tell, PID_CODEPAGE is never used in m

[issue1292] libffi needs an update to support mips64, arm and armeabi on linux

2008-01-16 Thread Thomas Heller
Thomas Heller added the comment: Matthias, can this issue be set to 'fixed' and 'closed' now? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue1796] ctypes should allow a tuple when an Array is expected

2008-01-16 Thread Thomas Heller
Thomas Heller added the comment: Lenard Lindstrom convinced me that tuples should not be allowed when an array is expected. -- resolution: -> rejected status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1831] ctypes.Structure constructor arguments

2008-01-16 Thread Thomas Heller
Thomas Heller added the comment: Committed as rev. 60003 in trunk. I'll also change the "too many arguments..." exception to a TypeError. Thanks. -- assignee: -> theller resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1836] 'weekly' rotating logging file rotation incorrect

2008-01-16 Thread Vinay Sajip
Vinay Sajip added the comment: Please can you post the data which caused the failure? Is 'the original' the current trunk revision, or a Python release version? There was a patch to this code not long ago, so I'd like to know which code you had originally. Thanks. -- assignee: -> vsajip

[issue1854] Broken link in msilib docs

2008-01-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r5 and r6. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1854] Broken link in msilib docs

2008-01-16 Thread Jim Wilson
New submission from Jim Wilson: at http://docs.python.org/lib/database-objects.html, under "See Also:", the link, MSIOpenView leads nowhere. From earlier reading, I suspect it should be "MSIDatabaseOpenView" (or perhaps "MSIDatabaseOpenViewPaddedOutEvenMoreToMakeYourEyesGlazeOver"). --

[issue1831] ctypes.Structure constructor arguments

2008-01-16 Thread Armin Rigo
Armin Rigo added the comment: For the "too many arguments" case... Clearly (IMHO) it should also be a TypeError. I have no clue about backward compatibility issues though. __ Tracker <[EMAIL PROTECTED]> _

[issue1840] Tools/i18n/msgfmt.py fixes for Python 3.0

2008-01-16 Thread Guido van Rossum
Changes by Guido van Rossum: -- assignee: -> loewis keywords: +patch nosy: +loewis priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ P

[issue1838] Ctypes C-level infinite recursion

2008-01-16 Thread Guido van Rossum
Guido van Rossum added the comment: I've got a hunch that any crashes you cause with ctypes are your own fault. :-) -- nosy: +gvanrossum priority: -> low __ Tracker <[EMAIL PROTECTED]> __

[issue1775] filehandle.write() does not return None (Python 3.0a2)

2008-01-16 Thread raA
Changes by raA: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-lis

[issue1747858] chown broken on 64bit

2008-01-16 Thread Andrew Ferguson
Andrew Ferguson added the comment: The idea of dynamic typing it seems quite heavy to me, but I'm not a Python hacker, so I don't know what's the norm. Notice that os.stat() does "PyInt_FromLong((long)st->st_uid)" on the stat structure's st_uid field. On my platform (OS X 10.4), st_uid is define

[issue1840] Tools/i18n/msgfmt.py fixes for Python 3.0

2008-01-16 Thread Peter Harris
New submission from Peter Harris: Python 3.0: Use bytes instead of str to construct the binary file, don't try to .sort a dict's keys(). This patch is a tentative fix - in one place I've had to provide an encoding from str to bytes and I've guessed UTF-8, which may be OK for most .po files, but

[issue1545837] array.array borks on deepcopy

2008-01-16 Thread mephinet
Changes by mephinet: -- nosy: +mephinet _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1838] Ctypes C-level infinite recursion

2008-01-16 Thread Maciek Fijalkowski
New submission from Maciek Fijalkowski: Code in example abuses the fact that _as_parameter_ is passed recursively. Not sure if this is for fixing or not. -- components: Extension Modules files: crash.py messages: 59993 nosy: arigo, fijal severity: normal status: open title: Ctypes C-leve

[issue1747858] chown broken on 64bit

2008-01-16 Thread Sean Reifschneider
Sean Reifschneider added the comment: I've reviewed the chown system call under Linux and I think the included patch will resolve the problem. With that patch on a Fedora 8 64-bit system I'm getting: >>> os.stat('/tmp/foo') posix.stat_result(st_mode=33188, st_ino=5111823, st_dev=64769L, st_nlin