[issue8453] build_installer.py breaks bzip compilation

2010-04-18 Thread Martin v . Löwis
New submission from Martin v. Löwis : The current build_installer fails to build dependencies, e.g. with gcc-4.0 -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -o bzip2 bzip2.o -L. -lbz2 collect2: cannot find 'ld' collect2: cannot find 'ld' lipo: can't open input file: /var/tmp

[issue8451] syslog.syslog('msg') logs message with ident "python".

2010-04-18 Thread Sean Reifschneider
Changes by Sean Reifschneider : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8451] syslog.syslog('msg') logs message with ident "python".

2010-04-18 Thread Sean Reifschneider
Changes by Sean Reifschneider : Added file: http://bugs.python.org/file16982/syslog-kwargs.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue8451] syslog.syslog('msg') logs message with ident "python".

2010-04-18 Thread Sean Reifschneider
New submission from Sean Reifschneider : As discussed in this thread: http://mail.python.org/pipermail/python-dev/2010-March/098500.html The syslog module is using the C argv[0] as the program name, not the python sys.argv[0]. So, in most cases this means that unless you explicitly set a ide

[issue8415] namedtuple vs tuple

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: We don't do flags either :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue8425] a -= b should be fast if a is a small set and b is a large set

2010-04-18 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- stage: unit test needed -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8415] namedtuple vs tuple

2010-04-18 Thread H Krishnan
H Krishnan added the comment: Sorry, I didn't know about "python-ideas". Actually, there is a way to do this without breaking any existing code. namedtuple could support an optional additional argument, say, useIterableCtr, which is by default False, and the class template could be appropriate

[issue8425] a -= b should be fast if a is a small set and b is a large set

2010-04-18 Thread Ezio Melotti
Ezio Melotti added the comment: Raymond, have you forgotten to attach the patch or have you just set the stage to 'patch review' by mistake? -- nosy: +ezio.melotti priority: -> normal stage: patch review -> unit test needed ___ Python tracker

[issue8299] Improve GIL in 2.7

2010-04-18 Thread David Beazley
David Beazley added the comment: Here are the results of running the fair.py test on a Mac OS-X system using a "fair" GIL implementation (modified condition variable): [ Fair GIL, Dual-Core, OS-X ] Sequential execution slow: 5.490943 (0 left) fast: 0.369257 (0 left) Threaded execution slow: 6.

[issue6095] os.curdir as the default argument for os.listdir

2010-04-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-18 Thread STINNER Victor
STINNER Victor added the comment: I commited the platform.py patch as r80166 (trunk) and r80167 (py3k), but quickly reverted it because the patch on trunk broke Python bootstrap. The patch might be applied, but only on py3k and with more tests (ensure that it doesn't break bootstrap on any OS

[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +tarfile: use surrogates for undecode fields ___ Python tracker ___ ___ Python-bugs-list m

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Eugene Kapun
Changes by Eugene Kapun : Added file: http://bugs.python.org/file16981/repr.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: buildbot: test_ttk_guionly failures -> buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback) ___ Python tracker

[issue8436] set.__init__ accepts keyword args

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: r80202, r80203, r80204, and r80205 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue8448] buildbot: test_subprocess failure (test_no_leaking, Broken pipe)

2010-04-18 Thread STINNER Victor
STINNER Victor added the comment: "op->_ob_prev->_ob_next" comes from _Py_ForgetReference() compiled in pydebug mode and it should ends with "UNREF invalid object" but it looks like _PyObject_Dump(op->_ob_next->_ob_prev); crashed. Anyway, something gone wrong here. -- __

[issue8449] buildbot: test_dbm and test_dbm_ndbm

2010-04-18 Thread roundup-admin
failures To: python-bugs-list@python.org From: STINNER Victor Date: Sun, 18 Apr 2010 22:30:17 + Precedence: bulk X-Roundup-Name: Python tracker X-Roundup-Loop: hello X-Roundup-Version: 1.4.10 Reply-To: Python tracker Message-Id: <1271629817.22.0.668476357491.issue8...@psf.upfronthosting.co.za

[issue8445] buildbot: test_ttk_guionly failures

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Tests, Tkinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-04-18 Thread STINNER Victor
STINNER Victor added the comment: Mac/Modules/icgluemodule.c has a call to PyErr_WarnPy3k if (PyErr_WarnPy3k("In 3.x, the icglue module is removed.", 1)) return; Other modules check if the result is smaller than 0, but PyErr_WarnPy3k() possible results are only 0 or -1, so I don't understa

[issue8450] httplib: false BadStatusLine() raised

2010-04-18 Thread mschu
New submission from mschu : Independent from HTTP strict, an invalid BadStatusLine() exception is raised when a keep-alive connection exceeds its timeout: client->server s->c s->c: FIN/ACK c->s: ACK c->s: /FIN s->c: RST (without data) which raises the exception. An easy workaround is to ei

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- components: +Library (Lib), Tests -Macintosh ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8265] test_float fails on ARM Linux EABI with soft floating point

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker ___ ___ Pyt

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Patch please. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8448] buildbot: test_subprocess failure (test_no_leaking, Broken pipe)

2010-04-18 Thread STINNER Victor
New submission from STINNER Victor : http://www.python.org/dev/buildbot/builders/sparc Debian 3.1/builds/49/steps/test/logs/stdio test_subprocess * ob object : type: str refcount: 0 address : 0x1038220 * op->_ob_prev->_ob_next object : type: str refcount: 0 address : 0x1038220 * op-

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Eugene Kapun
Eugene Kapun added the comment: This code crashes python by using another bug in set_repr. This only affects py3k. This code relies on out-of-memory condition, so run it like: $ (ulimit -v 65536 && python3 test.py) Otherwise, it will eat all your free memory before crashing. val = "a" * 1

[issue8447] buildbot: test_httpservers failure (No module named operator)

2010-04-18 Thread STINNER Victor
New submission from STINNER Victor : http://www.python.org/dev/buildbot/builders/x86 Tiger 3.1/builds/16/steps/test/logs/stdio test_httpservers [28139 refs] [28139 refs] [28139 refs] Traceback (most recent call last): File "/private/tmp/tmpqYIZuO/cgi-bin/file2.py", line 2, in import cgi

[issue8191] Make arg0 required argument in os.execl* functions

2010-04-18 Thread Matthias Klose
Matthias Klose added the comment: attached is a search for execlp for all files found in Ubuntu lucid, there's one package which uses just one argument to execlp. -- Added file: http://bugs.python.org/file16980/execlp.log ___ Python tracker

[issue3771] test_httpservers intermittent failure, test_post and EINTR

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: test_httpservers intermittent failure -> test_httpservers intermittent failure, test_post and EINTR ___ Python tracker ___ _

[issue8445] buildbot: test_ttk_guionly failures

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8445] buildbot: test_ttk_guionly failures

2010-04-18 Thread STINNER Victor
STINNER Victor added the comment: http://www.python.org/dev/buildbot/builders/x86 FreeBSD 3.1/builds/149/steps/test/logs/stdio == FAIL: test_traversal (tkinter.test.test_ttk.test_widgets.NotebookTest) -

[issue8446] buildbot: DeprecationWarning not raised for icglue (test_py3kwarn.TestStdlibRemovals)

2010-04-18 Thread STINNER Victor
New submission from STINNER Victor : http://www.python.org/dev/buildbot/builders/x86 Tiger trunk/builds/15/steps/test/logs/stdio test_py3kwarn test test_py3kwarn failed -- Traceback (most recent call last): File "/Users/db3l/buildarea/trunk.bolen-tiger/build/Lib/test/test_py3kwarn.py", line

[issue5930] Transient error in multiprocessing (test_number_of_objects)

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: Transient error in multiprocessing -> Transient error in multiprocessing (test_number_of_objects) ___ Python tracker ___ ___

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-04-18 Thread STINNER Victor
Changes by STINNER Victor : -- title: Transient test_multiprocessing failure -> Transient test_multiprocessing failure (test_active_children) ___ Python tracker ___ _

[issue8410] Fix emulated lock to be 'fair'

2010-04-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Is it possible that unistd.h isn't included by Python on mac builds? perhaps the config script is broken and HAVE_UNISTD_H doesn't get defined. I'll have a look at the generated pyconfig.h file on my colleague's machine tomorrow. --

[issue8435] It is possible to observe a mutating frozenset

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks ggeal. Closing as won't fix. The code is functioning as designed and documented. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue8445] buildbot: test_ttk_guionly failures

2010-04-18 Thread STINNER Victor
New submission from STINNER Victor : http://www.python.org/dev/buildbot/builders/x86 Tiger trunk/builds/15/steps/test/logs/stdio test test_ttk_guionly failed -- multiple errors occurred; run in verbose mode for details Re-running test 'test_ttk_guionly' in verbose mode test_horizontal_range (t

[issue8299] Improve GIL in 2.7

2010-04-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, I´ve explained it in my other dissue, issue 8411, with a step by step > example. Hmm. Can't find it there. What message or file should I be looking at? -- ___ Python tracker

[issue8410] Fix emulated lock to be 'fair'

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. "This appears to be the case on Mac OS X": OSX 10.4 and later seem to support posix semaphores, the program below prints "yes": #include int main() { #ifdef _POSIX_SEMAPHORES printf("yes\n"); #else printf("no\n"); #endif } --

[issue8381] IDLE 2.6 freezes on OS X 10.6

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Aaron: How did you install python? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue5652] OS X Installer: remove references to Mac/Tools which no longer exists

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fix in r80201 (3.1) and r80200 (3.2). The fix is already in 2.6 and the trunk. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue8444] openssl version detection doesn't work properly when using OSX SDK

2010-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: On recent trunk and py3k you can get the real version number: http://docs.python.org/dev/library/ssl.html#ssl.OPENSSL_VERSION So perhaps you can first build the _ssl module, then import it to get that information. Of course it would be much better to build aga

[issue7580] distutils makefile from python.org installer doesn't work on OS X Snow Leopard

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've fixed this issue in the repository earlier today, the installer for the next 3.1 release will include that fix. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior

[issue7154] urllib.request system proxy configuration lookup broken for OS X in Python 3

2010-04-18 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- stage: -> committed/rejected type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue7154] urllib.request system proxy configuration lookup broken for OS X in Python 3

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed a port of _scproxies and the related code in urllib in r80198 (3.2), r80199 (3.1) BTW. With some luck this should already include a fix for the crash your seeing on OSX 10.3 with the trunk and 2.6. -- resolution: -> fixed status: ope

[issue8444] openssl version detection doesn't work properly when using OSX SDK

2010-04-18 Thread Ronald Oussoren
New submission from Ronald Oussoren : setup.py detects the version of openssl by looking for openssl headers on a deduced search path. That path is not guaranteed to be equal to the real compiler search path, in particular not when building using the OSX 10.4 SDK on MacOSX 10.6: in that situat

[issue8299] Improve GIL in 2.7

2010-04-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Martin, I´ve explained it in my other dissue, issue 8411, with a step by step example. It is unfair because a thread can _bypass_ the condition variable. A thread just woken up from the condition variable has to race to get the lock, and it is a race

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed set_repr() issue in r80197 and r80196. Looks like someone futzed the unicode updates for 3.x. -- ___ Python tracker ___ _

[issue8002] on OSX the file creation date not available in os.stat

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue as won't fix. The additional fields are available if you build from source and target 10.5 or later (set 'MACOSX_DEPLOYMENT_TARGET=10.5' when you run configure). My current plan is to have two installers for python 2.7 and 3.2: one is

[issue8001] os.stat on osx 10.5 or later doesn't expose all fields in struct stat

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixing this requires duplicating a significant amount of code in posixmodule.c and is imho not worth the effort. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Ned: I've attached a new patch, could you please test this one on an 10.3 box? It turns out that testing if a weaklinked variable is defined should be done by testing the address of the variable, not its value. I've tested this new approach with a symbol tha

[issue8126] Python 3.1.2rc1 doesn't compile using the 10.4 sdk on a 10.6 Mac

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: This issue should be fixed in the repository for both python 3.1 and 3.2, could you please test this? -- ___ Python tracker ___ __

[issue8439] test_linecache failing in py3k r80169

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8439] test_linecache failing in py3k r80169

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> pitrou status: pending -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8439] test_linecache failing in py3k r80169

2010-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed in r80194 / r80195. -- nosy: +pitrou resolution: -> fixed stage: patch review -> committed/rejected status: open -> pending ___ Python tracker

[issue7958] test_platform failure on OS X 10.6

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm closing this issue because a patch simular to the attached patch was applied in r78835 and the issue therefore fixed. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Pyth

[issue8175] 2.6.5 OS X 10.5 --with-universal-archs=all (4-way) fails building pythonw-64

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Applied as r80193, thanks for looking into this. -- resolution: -> accepted stage: -> committed/rejected status: open -> closed type: -> compile error ___ Python tracker __

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Eugene Kapun
Eugene Kapun added the comment: > > One solution is to check that so->mask didn't > > change as well. > > I saw that and agree it would make a tighter check, but haven't convinced > myself that it is necessary. Without this check, it is possible that the comparison shrinks the table, so en

[issue8366] OS X universal builds fail on 2.7b1 and py3k with "Don't know machine value for archs"

2010-04-18 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8366] OS X universal builds fail on 2.7b1 and py3k with "Don't know machine value for archs"

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: This should now be fixed: * r80187 (trunk) * r80188 (2.6) * r80191 (3.2) * r80192 (3.1) The fix is not ideal, there's still two '-isysroot' flags in the compiler command-line, but at least everything compiles and works again. -- resolution: -> fixe

[issue6095] os.curdir as the default argument for os.listdir

2010-04-18 Thread Virgil Dupras
Virgil Dupras added the comment: Since I last submitted this patch, my leet C skills have improved. I'm submitting another patch, without the needless PyUnicode creation this time. (Moreover, I think the previous patch was wrong to insert code before variable declaration of the block) --

[issue8426] multiprocessing.Queue fails to get() very large objects

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> jnoller nosy: +jnoller priority: -> normal versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ _

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file16975/surrogateescape.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: New patch fixing Windows compatibility. -- Added file: http://bugs.python.org/file16977/surrogateescape.patch ___ Python tracker ___ ___

[issue2090] __import__ with fromlist=

2010-04-18 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, George. I will get it when I can. And this make me even more glad that we removed the file path import from 3.x. -- ___ Python tracker

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-04-18 Thread Brett Cannon
Brett Cannon added the comment: Let's try this again... -- Added file: http://bugs.python.org/file16976/subprocess__del__.diff ___ Python tracker ___

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: >Bugs in set_repr: >> keys = PySequence_List((PyObject *)so); >> if (keys == NULL) >> goto done; >> >> listrepr = PyObject_Repr(keys); >> Py_DECREF(keys); >List pointed to by keys is already deallocated at this point. >> if (listrepr == NULL) { >>

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread STINNER Victor
STINNER Victor added the comment: > I think it would be best to backport the handler (even though > it is not needed in Python 2.7), since it makes porting apps > to 3.x easier. surrogateescape should not be used directly be applications. It's used by Python3 internals using unicode by defau

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : Added file: http://bugs.python.org/file16975/surrogateescape.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file16974/surrogateescape.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a fix + test. -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file16974/surrogateescape.patch ___ Python tracker

[issue6507] Enhance dis.dis to autocompile codestrings

2010-04-18 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson stage: needs patch -> commit review versions: +Python 2.7 ___ Python tracker ___ ___

[issue6507] Enhance dis.dis to autocompile codestrings

2010-04-18 Thread Daniel Urban
Daniel Urban added the comment: Any chance, that my patch will be accepted? Is there a problem with it? Thanks. -- ___ Python tracker ___ ___

[issue8438] Codecs: "surrogateescape" error handler in Python 2.7

2010-04-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: The 2.x io lib should use the same encoding principles as the rest of 2.x. -- ___ Python tracker ___

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: > One solution is to check that so->mask didn't > change as well. I saw that and agree it would make a tighter check, but haven't convinced myself that it is necessary. > Also, checking that refcnt > 1 is redundant > because if entry->key == startkey th

[issue8366] OS X universal builds fail on 2.7b1 and py3k with "Don't know machine value for archs"

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Btw. this issue is caused by the fix for issue 1628484. -- ___ Python tracker ___ ___ Python-bugs-l

[issue7384] curses crash on FreeBSD

2010-04-18 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven added the comment: Just to state the obvious: ncursesw is needed for wide character support (i.e. Unicode). Also, have you tried asking Thomas Dickey (dic...@invisible-island.net) about this? He might be able to give some clue about it since he's the main curses

[issue8391] os.execvpe() doesn't support surrogates in env

2010-04-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8435] It is possible to observe a mutating frozenset

2010-04-18 Thread Gath-Gealaich
Gath-Gealaich added the comment: I have found this in Python 3.1.2 documentation: "Note, the elem argument to the __contains__(), remove(), and discard() methods may be a set. To support searching for an equivalent frozenset, the elem set is temporarily mutated during the search and then rest

[issue8366] OS X universal builds fail on 2.7b1 and py3k with "Don't know machine value for archs"

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: This problem is caused by this bit in Makefile.pre.in: OPT=@OPT@ BASECFLAGS= @BASECFLAGS@ CFLAGS= $(BASECFLAGS) @CFLAGS@ $(OPT) $(EXTRA_CFLAGS) There both 'BASECFLAGS' and 'CFLAGS' get patched in from configure.in, while the intentio

[issue8299] Improve GIL in 2.7

2010-04-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Martin, I don't know if you were suggesting that a "fair" mutex would > make the emulated semaphore fair too. You probably weren't, but just > in case, the fairness of the mutex is immaterial because it is only > held for a short time to guard the internal s

[issue5651] OS X Installer: add checks to ensure proper Tk configuration during build

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed the patch in r80179 (trunk), r80184 (2.6), r80185 (3.2), r80186 (3.1) -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue8443] Broken zipfile with python 3.2 on osx

2010-04-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Duplicate of #8442 -- nosy: +loewis resolution: -> duplicate status: open -> closed superseder: -> Broken zipfile with python 3.2 on osx ___ Python tracker

[issue7384] curses crash on FreeBSD

2010-04-18 Thread Stefan Krah
Stefan Krah added the comment: To clarify a couple of things: On some systems (Redhat?) readline is not linked against ncurses in order to give the user the possibility to choose. This is why setup.py has to select an ncurses version. However, things can go wrong if readline is already linked

[issue8443] Broken zipfile with python 3.2 on osx

2010-04-18 Thread Ronald Oussoren
New submission from Ronald Oussoren : In the output of test_distutils with python 3.2 (current version checkout): == ERROR: test_prune_file_list (distutils.tests.test_sdist.SDistTestCase) -

[issue8442] Broken zipfile with python 3.2 on osx

2010-04-18 Thread Ronald Oussoren
New submission from Ronald Oussoren : In the output of test_distutils with python 3.2 (current version checkout): == ERROR: test_prune_file_list (distutils.tests.test_sdist.SDistTestCase) -

[issue7072] isspace(0xa0) is true on Mac OS X

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r80178 (trunk), r80180 (2.6), r80182 (3.2), r80183 (3.1) -- resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue8441] Framework build broken in 3.2 brunk

2010-04-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Fixed in r80181 (3.2) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> compile error ___ Python tracker

[issue1037516] ftplib PASV error bug

2010-04-18 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Closing this out as invalid as an exception being raised after an invalid PASV response makes perfect sense. -- resolution: -> rejected stage: -> committed/rejected status: open -> closed type: -> behavior ___

[issue1726451] ftplib and ProFTPD NLST 226 without 1xx response

2010-04-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue8441] Framework build broken in 3.2 brunk

2010-04-18 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- components: +Build ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue8441] Framework build broken in 3.2 brunk

2010-04-18 Thread Ronald Oussoren
New submission from Ronald Oussoren : I cannot build a framework build of the 3.2 branch at the moment due to unresolved references to "_Py_char2wchar" when linking the dylib that gets placed into the framework: Undefined symbols: "__Py_char2wchar", referenced from: _Py_Main in libpyth

[issue3817] ftplib: ABOR does not consider 225 response code

2010-04-18 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Fixed as r80172 (python 2.7) and r80176 (python 3.2). -- assignee: -> giampaolo.rodola priority: -> normal resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior versions: +Python 2.6, Python 2.7, Python 3.1,

[issue8440] test_heapq interfering with test_import on py3k

2010-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Tests nosy: +barry, brett.cannon priority: -> normal stage: -> needs patch type: -> behavior versions: +Python 3.2 ___ Python tracker __

[issue8431] buildbot: hung on ARM Debian

2010-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: > the ARMv4 buildbot is a 500Mhz Xscale, with a SATA disk attached, 256MB > RAM. It can't go faster :-/ Have you checked running the test suite manually (possibly with the -v option for more progress information), to check whether these were genuine freezes?

[issue8440] test_heapq interfering with test_import on py3k

2010-04-18 Thread Tim Golden
New submission from Tim Golden : If test_heapq is run before test_import on the current py3k head, test_import will fail as per the attached traceback. python -m test.regrtest -W test_heapq test_import > test_import.log At a glance I can't see any obvious reason why test_heapq should have any e

[issue8431] buildbot: hung on ARM Debian

2010-04-18 Thread Matthias Klose
Matthias Klose added the comment: the ARMv4 buildbot is a 500Mhz Xscale, with a SATA disk attached, 256MB RAM. It can't go faster :-/ the ARMv7 buildbot is a cortex-a8, 500Mhz, 512MB RAM. I found here five or six python processes still running, now killed. The machine may be unresponsive som

[issue8420] Objects/setobject.c contains unsafe code

2010-04-18 Thread Eugene Kapun
Eugene Kapun added the comment: This patch still assumes that if so->table didn't change then the table wasn't reallocated (see http://en.wikipedia.org/wiki/ABA_problem). One solution is to check that so->mask didn't change as well. Also, checking that refcnt > 1 is redundant because if entry

[issue2090] __import__ with fromlist=

2010-04-18 Thread George Sakkis
George Sakkis added the comment: > On the surface this seems like a potential directory traversal attack > hole, although I couldn't get past 'pkg' by passing '../../../', so I > guess there must be other checks before attempting the import. I rushed to post; it turns out one *can* access pack

  1   2   >