[issue4434] Embedding into a shared library fails

2008-11-28 Thread rb
rb [EMAIL PROTECTED] added the comment: The problem, and the reason for the existence of this bug, is that I cannot build a shared object that links to libpython2.5.so.1 and works. Please don't mark this bug invalid until this problem is fixed. My proposal of adding dependencies to

[issue4448] should socket readline() use default_bufsize instead of _rbufsize?

2008-11-28 Thread Kristján Valur Jónsson
Kristján Valur Jónsson [EMAIL PROTECTED] added the comment: If you look at http://bugs.python.org/issue4336, half of the proposed patch is an attempt to deal with this performance issue. In the patch, we laboriously ensure that bufsize=-1 is passed in for for the xmlrpc client. Seeing your

[issue4336] Fix performance issues in xmlrpclib

2008-11-28 Thread Kristján Valur Jónsson
Kristján Valur Jónsson [EMAIL PROTECTED] added the comment: Guido pointed out the problem with _fileobject.readline() being followed by socket.recv() if readline uses read buffering. xmlrpclib.py was attempting to directly use the underlying socket, although in actual fact it never did,

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Christian Heimes
New submission from Christian Heimes [EMAIL PROTECTED]: ./python Doc/includes/mp_benchmarks.py testing Array(i, ..., lock=False) Traceback (most recent call last): File Doc/includes/mp_benchmarks.py, line 235, in module test() File Doc/includes/mp_benchmarks.py, line

[issue3741] DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an exception

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Fixed in r67414, r67415, r67416 (trunk, 2.6, 3.0). -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3741

[issue4450] 2to3 run changed multiprocessing.Queue() to multiprocessing.queue()

2008-11-28 Thread Christian Heimes
New submission from Christian Heimes [EMAIL PROTECTED]: I've fixed the multiprocessing examples in r67417. 2to3 altered multiprocessing.Queue() to multiprocessing.queue(). -- assignee: benjamin.peterson components: 2to3 (2.x to 3.0 conversion tool) messages: 76527 nosy:

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: The examples in 3.0 didn't work at at all because nobody did a 2to3 run on them. See r67417: mp_benchmarks, mp_newtypes and mp_distribution are still broken but the others are working properly. We should include the examples in our unit test

[issue4451] multiprocessing fails with Invalid thread state for this thread on 2.4 and 2.5

2008-11-28 Thread Christian Heimes
New submission from Christian Heimes [EMAIL PROTECTED]: The multiprocessing backport to 2.4/2.5 fails with a fatal error when the test suite is run with a debug build of Python. PYTHONPATH=Lib/ /home/heimes/dev/python/release25-maint/python -tt -c from multiprocessing.tests import main; main()

[issue4452] Incorrect docstring of os.setpgrp

2008-11-28 Thread Mark Florisson
New submission from Mark Florisson [EMAIL PROTECTED]: The docstring of os.setpgrp says 'Make this process a session leader.', but that's not what setpgrp does. setpgrp() is the same as setpgid(0, 0), which sets the pgid of the calling process to the pid of the calling process, thus making it a

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: The 3.0 doc/example issue is in issue 3256 I plan on fixing all the doc/example issue this/next week. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4449

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Are you able to fix the examples before 3.0.0 and 2.6.1 are released? They are scheduled for Wednesday 3rd of December. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4449

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Yes, I have a pending patch. I'll see if I can steal some time today to check it in. On Fri, Nov 28, 2008 at 9:36 AM, Christian Heimes [EMAIL PROTECTED] wrote: Christian Heimes [EMAIL PROTECTED] added the comment: Are you able to fix the

[issue4451] multiprocessing fails with Invalid thread state for this thread on 2.4 and 2.5

2008-11-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Christian, to fix this, you need to backport the fix for #1683. -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4451

[issue4451] multiprocessing fails with Invalid thread state for this thread on 2.4 and 2.5

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: As ben mentioned, this is already fixed in core. See issue 1683 - this is only a problem when running in 2.5/2.4 -- resolution: - duplicate status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: The fix is required to run multiprocessing on Python 2.4 and 2.5, see #4451. I suggest we fix the issue in 2.5.3. The fork-thread-patch-2 patch doesn't work on Python 2.5. I'm getting a segfault on my system: test_connection

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-11-28 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- versions: -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1683 ___

[issue4434] Embedding into a shared library fails

2008-11-28 Thread John Levon
John Levon [EMAIL PROTECTED] added the comment: If Ubuntu wants to deliver a static libpython, it also needs to deliver static versions of the Python modules, or accept that they're not usable from a static libpython. It makes no sense at all to mix libpython.a with these .so files. Many of

[issue4453] MSI installer shows error message if Compile .py files to bytecode option is selected

2008-11-28 Thread Suraj Barkale
New submission from Suraj Barkale [EMAIL PROTECTED]: If the option to Compile .py files to bytecode after installation is selected during installation (by clicking on Advanced button on Customize dialog), installer shows the attached dialog. There seems to be no problem after installation is

[issue4448] should socket readline() use default_bufsize instead of _rbufsize?

2008-11-28 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: I'm fine with disabling this feature in xmlrpclib.py, and possibly even in httplib.py. I'm *not* fine with fixing this behavior in socket.py -- the unittest coverage is unfortunately small and we have had plenty of trouble in this area in

[issue4434] Embedding into a shared library fails

2008-11-28 Thread Ralf Schmitt
Ralf Schmitt [EMAIL PROTECTED] added the comment: no john, linking with the static library really works. the resulting executable does not depend on the shared library and it is possible to import the e.g. the time module. ___ Python tracker [EMAIL PROTECTED]

[issue4434] Embedding into a shared library fails

2008-11-28 Thread rb
rb [EMAIL PROTECTED] added the comment: Ralf, I'm sure it does work, but what is the point of linking statically to libpython.a but then having other dependencies, for example on lib-dynload/time.so? Why not just link to libpython2.5.so in the first place?

[issue4389] Uninstaller Lacks an Icon

2008-11-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Would be nice if the same icon could also be the default for bdist_msi. Retro could you point us to some documentation on how to fix this ? -- nosy: +lemburg ___ Python tracker [EMAIL

[issue4385] Py_Object_HEAD_INIT in Py3k

2008-11-28 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: I think this is a documentation bug more than anything else. Removing PyObject_HEAD_INIT() is certainly not an option, since it is required to init static PyObject singletons that are declared in C (just like the PyTypeObjects are).

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-11-28 Thread Jesse Noller
Changes by Jesse Noller [EMAIL PROTECTED]: -- nosy: +jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1683 ___ ___ Python-bugs-list mailing list

[issue4450] 2to3 run changed multiprocessing.Queue() to multiprocessing.queue()

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Hmm, we should actually rename mp.Queue to mp.queue at one point -- nosy: +jnoller ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4450 ___

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: I guess you just 2to3'ed the examples ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4449 ___ ___

[issue4193] Multiprocessing example

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Added in r67419 on trunk, merged to py3k and 2.6.1 -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4193

[issue3518] multiprocessing: BaseManager.from_address documented but doesn't exist

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Added the mp.managers shared queue example, fixed the docs in r67419 on trunk. merged to py3k and 2.6.1 maint -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue4012] Minor errors in multiprocessing docs

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Warning added for georg's issue, all doc errors fixed on trunk, py3k and 2.6.1 maint. see r67419 -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue4238] BSD support for multiprocessing.cpu_count

2008-11-28 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Fixed, trunk r67423 -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4238 ___

[issue4438] Add an easy way to __import___ submodules

2008-11-28 Thread Mart Sõmermaa
Mart Sõmermaa [EMAIL PROTECTED] added the comment: Implement imp.import_module() instead. See http://mail.python.org/pipermail/python-dev/2008-November/083758.html Added file: http://bugs.python.org/file12147/imp_import_module.diff ___ Python tracker [EMAIL

[issue4438] Add an easy way to __import___ submodules

2008-11-28 Thread Mart Sõmermaa
Mart Sõmermaa [EMAIL PROTECTED] added the comment: Note that the hack described in http://bugs.python.org/issue2090 should be disabled once this gets integrated. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4438

[issue4438] Given a module hierarchy string 'a.b.c', add an easy way to import tail module 'c'

2008-11-28 Thread Mart Sõmermaa
Changes by Mart Sõmermaa [EMAIL PROTECTED]: -- components: -Interpreter Core title: Add an easy way to __import___ submodules - Given a module hierarchy string 'a.b.c', add an easy way to import tail module 'c' ___ Python tracker [EMAIL PROTECTED]

[issue4454] Coding cookie crashes IDLE

2008-11-28 Thread Terry J. Reedy
New submission from Terry J. Reedy [EMAIL PROTECTED]: Running the following from an edit window with F5 in IDLE 3.0c3 causes a complete crash. Both edit window and shell window disappear. # -*- coding: utf-8 -*- The is copied from what IDLE said to add when I previously ran file with non-ascii

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Yep. That works nicely. Here's a revised patch. Added file: http://bugs.python.org/file12148/string_alloc.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4445

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Mark Dickinson
Changes by Mark Dickinson [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12141/string_alloc.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4445 ___

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Why is +1 required here? If I understand offsetof() correctly than it returns the position of the ob_sval element. Shouldn't PyStringObject + offsetof(PyStringObject, ob_sval) point to the first element of the ob_svall array? --

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: The +1 is there for the trailing null byte on the string: if s is a Python string with len(s) == n, then the ob_sval array needs space for n+1 characters. ___ Python tracker [EMAIL PROTECTED]

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Ah! I forgot the trailing \0 byte ... Thanks Mark! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4445 ___

[issue1693050] \w not helpful for non-Roman scripts

2008-11-28 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: Vowel 'marks' are condensed vowel characters and are very much part of words and do not separate words. Python3 properly includes Mn and Mc as identifier characters.

[issue1693050] \w not helpful for non-Roman scripts

2008-11-28 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Unicode TR#18 defines \w as a shorthand for \p{alpha} \p{gc=Mark} \p{digit} \p{gc=Connector_Punctuation} which would include all marks. We should recursively check whether we follow the recommendation (e.g. \p{alpha} refers to all character

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: Hmmm. test_sys fails on 64-bit build. Patch updated to fix this. All tests now pass on 32-bit and 64-bit, debug and non-debug builds. Added file: http://bugs.python.org/file12149/string_alloc.patch ___

[issue4450] 2to3 run changed multiprocessing.Queue() to multiprocessing.queue()

2008-11-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Fixed in r67426. One result of this fix is that attribute usage of modules is not replaced. (ie. getattr(somemodule, attr) isn't changed.) This is probably isn't a problem, though. -- resolution: - fixed status: open - closed

[issue4195] Regression for executing packages

2008-11-28 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Missed the window for 2.6/3.0. Guido agreed on python-dev that it counts as a new feature, so it was definitely out for the already-released 2.6, and also wasn't really an option for the release candidate phase of 3.0. Assigning to myself for

[issue4082] __main__.__file__ not set correctly when -m switch gets __main__ from a zipfile

2008-11-28 Thread Nick Coghlan
Nick Coghlan [EMAIL PROTECTED] added the comment: Morphing the issue to refer to the __main__.__file__ problem I mentioned in my previous comment. -- assignee: - ncoghlan title: python2.6 -m site doesn't run site._script() any more - __main__.__file__ not set correctly when -m switch

[issue4455] No Windows List in IDLE if several windows have the same title

2008-11-28 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]: Start IDLE, and hit Ctrl-N twice to create two windows named Untitled: This displays the message warning: callback failed in WindowList class 'TypeError' : unorderable types: ListedToplevel() ListedToplevel() And the Windows menu

[issue4456] xmlrpc is broken

2008-11-28 Thread Benjamin Peterson
New submission from Benjamin Peterson [EMAIL PROTECTED]: It looks there are logic problems with regards to encoding in xmlrpc: if not isinstance(methodname, str): methodname = methodname.encode(encoding) Merging r67370 and running test_xmlrpc gives: test_bug_1164912

[issue1683] Thread local storage and PyGILState_* mucked up by os.fork()

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- assignee: gregory.p.smith - christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1683 ___

[issue4455] No Windows List in IDLE if several windows have the same title

2008-11-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Looks good. -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4455 ___

[issue4454] Coding cookie crashes IDLE

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I don't reproduce this problem (on windows XP). Which platform are you running? -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4454

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- keywords: +patch Added file: http://bugs.python.org/file12151/issue3826_socketserver-gps01.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3826

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12152/issue3826_socket-gps01.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3826 ___

[issue4455] No Windows List in IDLE if several windows have the same title

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Fixed in r67436. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4455 ___

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Alright I've taken another fresh look at this. I understand the dup semantics issue and don't want to break that. Attached are two patches, either one of these will fix the problem and breakage.py test code attached to this bug. Personally

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: P.S. Gabriel Genellina (gagenellina) - Your comment sounded like you had a unit test for this but it never got attached. Still have it? -- stage: - patch review ___ Python tracker [EMAIL

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: Added file: http://bugs.python.org/file12153/issue3826_socket-gps02.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3826 ___

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I agree that the patch on socket.py is the correct fix: the raw socket should be detached when the close() method is called. I have one remark on the patch: io.IOBase.__del__ already calls close(): could SocketIO.__del__ be removed

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Indeed IOBase does call close() from its __del__. Excellent. That makes this simpler. -gps03 attached. Added file: http://bugs.python.org/file12154/issue3826_socket-gps03.diff ___ Python tracker [EMAIL

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12152/issue3826_socket-gps01.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3826 ___

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- assignee: - gregory.p.smith nosy: +gregory.p.smith priority: - normal ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4428 ___

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: I've attached my first attempt at fixing this as io-bufwrite-gps01. Unfortunately it causes the Lib/test/test_io.py testThreads to fail: == FAIL: testThreads

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Patch issue3826_socket-gps03.diff is OK for me. Here is a unit test for this new behavior. Someone should review both patches. -- keywords: +needs review Added file: http://bugs.python.org/file12156/test_makefileclose.patch

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Yep, the test was ignoring the return value from BufferedWriter.write. Fixed in the attached io-bufwrite-gps02. This can wait for 3.0.1 and 2.6.1/2 (depending on the 2.6.x release schedule). -- keywords: +needs review Added file:

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I do not agree. User code should not have to verify the return value of write(). When a big amount of data is passed to BufferedWriter.write, - normal blocking streams should block until all data has been written. (the implementation may

[issue1208304] urllib2's urlopen() method causes a memory leak

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- components: +Library (Lib) -Extension Modules type: - resource usage versions: +Python 2.5, Python 2.6, Python 2.7 -Python 2.4 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1208304

[issue4454] Coding cookie crashes IDLE

2008-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: This is a duplicate of #4008 -- resolution: - duplicate status: open - closed superseder: - IDLE: checksyntax() doesn't support Unicode? ___ Python tracker [EMAIL PROTECTED]

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: I agree with Amuary, write() traditionally never writes less data unless the underlying IO is in nonblocking mode. I'm working up a new patch to write to self.raw in max_buffer_size chunks with as few data copies as possible, raising an

[issue4445] String allocations waste 3 bytes of memory on average.

2008-11-28 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Looks much cleaner. -- assignee: - marketdickinson resolution: - accepted versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4445

[issue4336] Fix performance issues in xmlrpclib

2008-11-28 Thread Jeremy Hylton
Jeremy Hylton [EMAIL PROTECTED] added the comment: I did the simple part of the patch, where the request and headers are sent at the same time. The applied patch didn't pass the test suite, and I want to think about the buffering change a bit more. It's definitely tricky. Jeremy On Fri, Nov

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-11-28 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: This is still a problem on my WinXP 3.0rc3 with # -*- coding: utf-8 -*- in a file but not with the same pasted directly into the shell Window. -- nosy: +tjreedy type: - crash ___ Python tracker

[issue4454] Coding cookie crashes IDLE

2008-11-28 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: WinXP And sorry for dup. I searched IDLE items for 'crash' ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4454 ___

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Gregory P. Smith [EMAIL PROTECTED] added the comment: Okay, here's a new patch that obeys the blocking vs nonblocking semantics properly. It still needs explicit unit tests for proper behavior. Added file: http://bugs.python.org/file12158/issue4428-io-bufwrite-gps03.diff

[issue4428] io.BufferedWriter does not observe buffer size limits

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file12155/issue4428-io-bufwrite-gps01.diff ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4428 ___

[issue4457] __import__ documentation obsolete

2008-11-28 Thread Steven D'Aprano
New submission from Steven D'Aprano [EMAIL PROTECTED]: The documentation for __import__ says that it primarily exists so that you can replace it with another function that has a compatible interface, in order to change the semantics of the import statement.

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-11-28 Thread Gregory P. Smith
Changes by Gregory P. Smith [EMAIL PROTECTED]: -- versions: +Python 2.5.3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1868 ___ ___ Python-bugs-list

[issue4458] getopt.gnu_getopt() loses dash argument

2008-11-28 Thread Yevgen Muntyan
New submission from Yevgen Muntyan [EMAIL PROTECTED]: If you feed a dash as an argument to getopt.gnu_getopt() then it gets lost, because the code only checks if the argument starts with a dash, not if it's more than a dash (unlike getopt.getopt() which is correct). Example: import getopt