[issue6800] os.exec* raises "OSError: [Errno 45] Operation not supported" in a multithreaded application

2009-08-29 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue6800] os.exec* raises "OSError: [Errno 45] Operation not supported" in a multithreaded application

2009-08-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: There is no OS level API to kill threads. Python does not kill threads. When you exec, your entire process should be replaced by the OS, threads shouldn't matter they should simply disappear just as the rest of your process state does. This is an OS proble

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a new version. Now it works with all the major browsers and it's more usable. I tested it on the following browsers, and I didn't notice any problem/bug: Firefox 2.0/3.0/3.5; Internet Explorer 6/7/8; Opera 9.64; Chrome 2.0; Konqueror 4.2.2; Seamonkey 1.1;

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file14794/sidebar.zip ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file14800/sidebar.zip ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue2057] difflib: add patch capability

2009-08-29 Thread Alexander Stanley
Changes by Alexander Stanley : -- nosy: +swixel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue6750] threading issue in __builtins__.print

2009-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks ok to me. It should be noted that TextIOWrapper was not designed to be thread-safe at all (neither the Python nor the C version); but admittedly it is more common to write() than to read() from multiple threads, so fixing this particular case mak

[issue6799] mimetypes does not give cannonical extension for guess_extension with text/plain

2009-08-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is quite a reasonable request indeed. -- nosy: +pitrou priority: -> normal stage: -> needs patch versions: -Python 2.5, Python 3.0 ___ Python tracker __

[issue6797] When Beginning Expression with Lookahead Assertion I get no Matches

2009-08-29 Thread Matthew Barnett
Matthew Barnett added the comment: "(?![a-z0-9])" is a negative lookahead, so "(?![a-z0-9])0" is saying that the next character shouldn't be any of [a-z0-9], yet it should match "0". Hence, no matches. -- nosy: +mrabarnett ___ Python tracker

[issue6797] When Beginning Expression with Lookahead Assertion I get no Matches

2009-08-29 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, MRAB! Closing as invalid. -- nosy: +marketdickinson resolution: -> invalid status: open -> closed ___ Python tracker ___ _

[issue6801] symmetric_difference_update documentation fix

2009-08-29 Thread Tarek Ziadé
New submission from Tarek Ziadé : the symmetric_difference_update also accepts | -- assignee: tarek components: Documentation messages: 92065 nosy: tarek severity: normal status: open title: symmetric_difference_update documentation fix ___ Python tra

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-08-29 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6245] Add "intel" universal architecture on OSX

2009-08-29 Thread Mattias Stahre
Mattias Stahre added the comment: Is there any progress on this? -- nosy: +plux versions: +Python 2.6 ___ Python tracker ___ ___ Pytho

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Joshua Root
New submission from Joshua Root : Building Python 2.6.2 on Mac OS X 10.6 (final version, 10A432) fails. Full build transcript is attached. Other system details: Xcode 3.2, hardware is MacPro1,1 -- assignee: ronaldoussoren components: Build, Macintosh files: py26-snowleopard.log message

[issue6245] Add "intel" universal architecture on OSX

2009-08-29 Thread mike bayer
Changes by mike bayer : -- nosy: +zzzeek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue6803] Context manager docs refer to contextlib.contextmanager as contextlib.contextfactory

2009-08-29 Thread Dan Haffey
New submission from Dan Haffey : The documentation at http://docs.python.org/library/stdtypes.html#context-manager-types refers to the contextlib.contextmanager decorator as contextlib.contextfactory. -- assignee: georg.brandl components: Documentation files: doc-stdtypes-contextmanageme

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Bryan Blackburn
Changes by Bryan Blackburn : -- nosy: +blb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue1023290] Conversion of longs to bytes and vice-versa.

2009-08-29 Thread Mark Dickinson
Mark Dickinson added the comment: The patch looks great! Some comments: - I think the type check for length_obj in long_tobytes should be more lenient: I'd suggest a PyIndex_Check and PyNumber_AsSsize_t conversion instead of the PyLong_Check. Or just use 'n' instead of 'O' in the PyArg_Pa

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Mark Dickinson
Mark Dickinson added the comment: This also applies to trunk, py3k and release31-maint. -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ __

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2009-08-29 Thread Gabriel Genellina
New submission from Gabriel Genellina : A Python source file name doesn't necesarily end in .py/.pyw; on Linux, scripts usually have no extension but are recognized by its shebang line. Windows uses file type associations: .py files are of type Python.File, and .pyc files are Python.NoConFile

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2009-08-29 Thread Gabriel Genellina
Gabriel Genellina added the comment: Note that this is also a documentation issue: "The pickle serialization format is guaranteed to be backwards compatible across Python releases." -- assignee: -> georg.brandl components: +Documentation nosy: +gagenellina, georg.brandl

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Erik S. LaBianca
Changes by Erik S. LaBianca : -- nosy: +easel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6750] threading issue in __builtins__.print

2009-08-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: fixed with r74581, r74582 and r74583 (in: trunk, py3k and release31-maint) -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Brett Cannon
Brett Cannon added the comment: For those trying to debug this, to silence the math.h warnings, set MACOSX_DEPLOYMENT_TARGET to 10.6 or something. -- ___ Python tracker ___

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Jesse Noller
Jesse Noller added the comment: 3k and trunk compile fine for me. Clean snow leopard install. My first suggestion is nuking macports. -- nosy: +jnoller ___ Python tracker ___ __

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Jesse Noller
Jesse Noller added the comment: 2.6.2 maint compiles fine too - again, with a clean install of Snow Leopard, no macports. -- ___ Python tracker ___ _

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Joshua Root
Joshua Root added the comment: Note that this problem appears to be x86_64-specific (caused by "- arch_only i386"), and only happens if you configure with --enable- framework. -- ___ Python tracker

[issue6805] Should be URL for documentation of current release of Python 3 (without version)

2009-08-29 Thread Mitchell Model
New submission from Mitchell Model : There should be a standard URL on the web site to reach the documentation of the current stable release of Python 3. http://docs.python.org leads to the documentation for Python 2. I can get to Python 3.1 documentation, but I have to specify 3.1 in the URL: h

[issue6802] build fails on Snow Leopard

2009-08-29 Thread dmw
Changes by dmw : -- nosy: +dmw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue6806] test_platform fails under Snow Leopard

2009-08-29 Thread Brett Cannon
New submission from Brett Cannon : test.platform fails under Snow Leopard because the golden input for the OS version, sw_vers, reports Snow Leopard as '10.6' while platform.mac_ver()[0] (which uses gestalt.gestalt()) return '10.6.0'. Best solution might be to tweak the test to append a '0' wh

[issue6563] inserting None into sys.modules does not raise ImportError with importlib

2009-08-29 Thread Brett Cannon
Brett Cannon added the comment: Fixed in py3k with r74584 & 3.1 w/ r74586. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file14800/sidebar.zip ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file14793/sidebar-old.js ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file14799/sidebar.js ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Ezio Melotti added the comment: This should be the final version, these are the things I improved: * added a per-browser/per-session cookie to save the position of the sidebar during a single session. When the browser is closed the position is reset and the cookie deleted; * added an effect

[issue3143] Make the left sidebar in the doc collapsible

2009-08-29 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file14805/sidebar.zip ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue6802] build fails on Snow Leopard

2009-08-29 Thread Ned Deily
Ned Deily added the comment: As Jeese points out, there are suspicious signs of MacPorts in the log: "/opt/local/bin/ginstall -c -d -m 755 Python.framework/Versions/2.6" Try removing all /opt/local entries from your $PATH and try again with export MACOSX_DEPLOYMENT_TARGET=10.6 -- no

[issue6806] test_platform fails under Snow Leopard

2009-08-29 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth