[issue3766] socket.socket.recv broken (unbearably slow)

2008-09-12 Thread Thorben
Thorben [EMAIL PROTECTED] added the comment: That's more like it. Now I'd like to see the same behavior on Linux... 2008/9/12 Gabriel Genellina [EMAIL PROTECTED]: Gabriel Genellina [EMAIL PROTECTED] added the comment: I've tested it on Windows XP. MSG_WAITALL is not supported, but I

[issue3842] can't run close through itertools.chain on inner generator

2008-09-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: You somehow must tell the iterator that you are done with it. This is best done by a del c in your first snippet, since c is the last reference to the iterator. To do this in a function (or a context manager), the trick is to wrap the

[issue3783] dbm.sqlite proof of concept

2008-09-12 Thread Skip Montanaro
Skip Montanaro [EMAIL PROTECTED] added the comment: Josiah I know that no one hear likes my particular implementation Josiah (though it offers more or less the full interface)... I think implementing as much of the bsddb interface as you can is fine. I agree people used first, next, last,

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I'm not sure that pickling random.random is a good idea; did you try to pickle the random.seed function? Their definition look very similar (at the end of random.py: _inst = Random() seed = _inst.seed random = _inst.random ) but

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The explanation is actually simple, do not blame bsddb :-) random.random is a built-in method, so its __module__ attribute is not set. To find it, pickle.whichmodule loops through all sys.modules, and pick the first one that contains the

[issue3845] memory access before short string when checking suffix

2008-09-12 Thread Matthias Klose
New submission from Matthias Klose [EMAIL PROTECTED]: forwarded from https://launchpad.net/bugs/234798 Bug reporter writes: Python/pythonrun.c's PyRun_SimpleFileExFlags() assumes the filename's extension starts four characters back from the end. But what if the filename is only one character

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Dan OD
Dan OD [EMAIL PROTECTED] added the comment: Please forgive my rookie bug filing: I'm getting this bug / crash sometimes when Menu.delete() is called too It seems to be because self.index( ) sometimes returns None which is of course un-iterable and delete() tries to iterate through it: for i

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2008-09-12 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1651995 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2008-09-12 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- versions: +Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1651995 ___ ___ Python-bugs-list

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2008-09-12 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: normal - high versions: +Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1651995 ___

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: for i in range(self.index(index1), self.index(index2)+1): Probably your working copy is bit old. Please try latest file. This issue was fixed in r65971. :-) # I've added nosy list from issue1342811. -- nosy: +benjamin.peterson,

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
New submission from Gerhard Häring [EMAIL PROTECTED]: I'd really like this change to get into Python 2.6. It's pretty trivial (just releases the GIL when compiling SQLite statements), but improves concurrency for SQLite. This means less database is locked errors for our users. Could somebody

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Changes by Gerhard Häring [EMAIL PROTECTED]: -- keywords: +needs review -patch priority: - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3846 ___

[issue3847] Begging for review

2008-09-12 Thread Gerhard Häring
New submission from Gerhard Häring [EMAIL PROTECTED]: Could one of you please give me a review for the trivial patch at http://bugs.python.org/issue3846 It releases the GIL around sqlite3_prepare calls to improve concurrency. Many thanks -- Gerhard -- files: unnamed messages: 73087

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Your patch seems obvious, however: - Is there the possibility that sqlite3_prepare() calls back into a function in the _sqlite module or other python code? In this case the GIL has to be re-acquired. - What if another thread closes the

[issue3103] sqlite defines a few global symbols.

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Patch to Python 2.6 with Misc/NEWS entry if we want to close this now. Added file: http://bugs.python.org/file11475/patch_sqlite3_global_symbols.dif ___ Python tracker [EMAIL PROTECTED]

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Python 2.6b2 was released with this bug, and got fixed later. -- resolution: - out of date status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I meant beta3, sorry. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774 ___ ___ Python-bugs-list mailing

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: 1. SQLite calling back Good that you mention it. During sqlite3_prepare, SQLite can call the authorizer_callback. Fortunately, it already acquires/releases the GIL appropriately already. 2. Other thread closing connection, etc.

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Oops, sorry, I misread the bug report, reopening it (let me go eat something now). -- keywords: -easy, needs review resolution: out of date - status: closed - open ___ Python tracker [EMAIL

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Changes by Guilherme Polo [EMAIL PROTECTED]: -- keywords: +easy, needs review ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774 ___ ___

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Dan OD
Dan OD [EMAIL PROTECTED] added the comment: Thanks guys - I was running an old build. revision 65971 fixed this as Hirokazu mentioned. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774 ___

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: In particular, I think that X-compiling is a common request added another one to the list. justification: pywebkitgtk cross-compiling for win32, using mingw32. i'm not paying for microsoft license fees, i'm not paying for a

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Maries Ionel Cristian
New submission from Maries Ionel Cristian [EMAIL PROTECTED]: The docs on epoll object's register method say: Registering a file descriptor that’s already registered is not an error, and has the same effect as registering the descriptor exactly once. However when calling register twice with the

[issue2747] Documentation of new gobject types fails

2008-09-12 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: This turns out to be caused by the same problem that caused the SQLAlchemy model failure: the module was imported twice by autodoc. Should now be fixed in trunk and 0.4.x branch. -- resolution: - fixed status: open - closed

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Georg Brandl
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: georg.brandl - christian.heimes nosy: +christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3848 ___

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: I'll look into it. kqueue should be checked for the issue, too. Barry: I don't think it's a release blocker but it's your call. -- nosy: +barry priority: - critical versions: -Python 2.7, Python 3.1

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: The patch attached is probably the most direct way to fix it, but, can someone remind why we just don't call deletecommand (if there is a command to delete) and let it try to remove the command from _tclCommand then ? (note that this is not

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Not a blocker. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3848 ___ ___ Python-bugs-list mailing list

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: Again, I meant the previously attached patch (the one by ocean-city) was the most direct way. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774 ___

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread skomoroh
skomoroh [EMAIL PROTECTED] added the comment: Seems I found the bug. I've attached the patch for current py3k-trunk. Added file: http://bugs.python.org/file11477/menu_fix.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3774

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: My patch already does what is proposed in your patch, except yours may possibly not work. It is not guaranteed that self.entrycget(i, 'command') will return an empty string if the command associated to that menu entry is an empty string. Tcl

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Maries Ionel Cristian
Maries Ionel Cristian [EMAIL PROTECTED] added the comment: Why don't just fix the docs ? I think it's consistent with the epoll api the way it is now. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3848

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: It's not consistent with Python's select.poll API. But exarkun and I think that an exception is fine here. The exception makes it easier to spot issues. The patch updates the docs and adds some tests for corner cases to test_epoll.py

[issue3655] latexwriter: \footnotemark can only take numbers as arguments

2008-09-12 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: This is now tracked in http://code.google.com/p/sphinx/issues/detail?id=13. -- resolution: - postponed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3655

[issue3848] select.epoll calling register with the same fd fails

2008-09-12 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: This should be removed from the docs patch: - Register a fd descriptor with the epoll object. + Register a fd descriptor with the epoll object. ___ Python tracker [EMAIL PROTECTED]

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Hirokazu Yamamoto
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment: self.deletecommand doesn't remove menu item, so we don't have to care about index shifting like bellow. +1 for gpolo's patch. a = [0, 1, 2, 3] for i in xrange(len(a)): ... del a[i] ... Traceback (most recent call last): File stdin,

[issue3847] Begging for review

2008-09-12 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I don't think you meant to send this to the tracker. -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3847 ___

[issue3847] Begging for review

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: I accidentally created this issue -- resolution: - invalid status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3847 ___

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: the cross-compile fails on Parser/acceler.c the reason is because the included file, pyconfig.h, has #define gid_t int for use by the mingw32 compiler, which is... bad! removing gid_t from pyconfig.h bizarrely fixes the compile

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: pyport.h line 773 - commenting out the test for LONG_BIT != 8 * SIZEOF_LONG - we're cross-compiling amd64 host, target mingw32 - 32-bit. ___ Python tracker [EMAIL PROTECTED]

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: line 199 of thread_pthread.h and line 221: Python/thread_pthread.h:200: error: aggregate value used where an integer was expected hmmm... maybe this is due to me using mingw32 based on gcc 4.4.4. well, a quick #if 0 seems to

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: posixmodule.c - line 2328: add this: #if ( defined(__MINGW32__) || defined(__WATCOMC__) || defined(PYCC_VACPP) ) !defined(__QNX__) res = mkdir(path); #else res = mkdir(path, mode); #endif

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: posixmodule: line 3530: #ifdef __MINGW32__ master_fd = open(DEV_PTY_FILE, O_RDWR); /* open master */ #else master_fd = open(DEV_PTY_FILE, O_RDWR | O_NOCTTY); /* open master */ #endif not sure i should be compiling

[issue1597850] Cross compiling patches for MINGW

2008-09-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton [EMAIL PROTECTED] added the comment: line 6193: #if !defined(__MINGW32__) !defined(MS_WINDOWS) defined(HAVE_FCNTL_H) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1597850

[issue3774] tkinter Menu.delete bug

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: This needcleanup parameter indicates that the function added to _tclCommands needs to (and will) be removed later. Nevertheless, I believe the proper initialization of _tclCommands should be done elsewhere. And about that docstring.. yes, the

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Interesting. I was smart enough to not document check_same_thread in the sqlite3 incarnation of the module. This has nothing to do with releasing/aquiring the GIL around sqlite3_prepare, though. Adding the macros was just an oversight. They're

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Just to be explicit: check_same_thread is unsupported and while it's undocumented in sqlite3, the old pysqlite docs say that when you use it, you have to make sure the connections/cursors are protected otherwise (via your own mutexes). [In the

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: No thought went into picking random.random in the test -- it was just a random ;-) choice. Amaury's analysis of the source of non-determinism is on target, and the easiest fix is to pick a coded-in-Python function to pickle instead. I suggest,

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: This has nothing to do with releasing/aquiring the GIL around sqlite3_prepare, though. You mean, it doesn't make things worse, but I believe they do (even if so only slightly). If you have two threads simultaneously attempting an execute

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3846 ___ ___ Python-bugs-list

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-12 Thread Van Lindberg
Van Lindberg [EMAIL PROTECTED] added the comment: Sorry for the long comment. There are two parts to this comment. First, my recommendation, and second, the somewhat tedious analysis of the Microsoft EULAs. The second part is the verbiage to justify the first. Recommendation == To

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-12 Thread Stephen McInerney
Stephen McInerney [EMAIL PROTECTED] added the comment: (I previously attached testcase with the web form, but it doesn't seem to work. So I'm pasting it here:) # Generate a length-4094 string. # IDLE will not display this unless your cursor is inside the string. # If you delete characters so

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-12 Thread Guilherme Polo
Guilherme Polo [EMAIL PROTECTED] added the comment: I don't think I can reproduce this under Linux with the idlelib in python-trunk. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3841 ___

[issue3850] find_recursion_limit.py is broken

2008-09-12 Thread Antoine Pitrou
New submission from Antoine Pitrou [EMAIL PROTECTED]: find_recursion_limit.py in trunk is broken: it fails with an AttributeError while a RuntimeError is expected. This has appeared due to the recent changes in recursion limit handling, but the problem is deeper. As I explained on the ML,

[issue3640] test_cpickle crash on AMD64 Windows build

2008-09-12 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: I've opened #3850 for the find_recursion_limit problem. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3640 ___

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-12 Thread Stephen McInerney
Stephen McInerney [EMAIL PROTECTED] added the comment: This may well be Windows-only or maybe even Windows Vista-only. I don't have ready access to other OS installs so could someone who does please try to repro? ___ Python tracker [EMAIL PROTECTED]

[issue3850] find_recursion_limit.py is broken

2008-09-12 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: Here is a patch. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11480/find_recursion_limit.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3850

[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-12 Thread Roger Serwy
Changes by Roger Serwy [EMAIL PROTECTED]: -- nosy: serwy severity: normal status: open title: IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered. ___ Python tracker [EMAIL PROTECTED]

[issue3850] find_recursion_limit.py is broken

2008-09-12 Thread Alexandre Vassalotti
Alexandre Vassalotti [EMAIL PROTECTED] added the comment: Could you use PyDict_GetItemWithError() to avoid this? -- nosy: +alexandre.vassalotti ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3850

[issue3850] find_recursion_limit.py is broken

2008-09-12 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: It's not my code, it's the interpreter's code which uses PyDict_GetItem() all over the place, and the aim of find_recursion_limit.py is precisely to test the function call paths inside the interpreter. ___

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti [EMAIL PROTECTED]: -- nosy: +alexandre.vassalotti ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3657 ___ ___

[issue3851] IDLE: Pressing Home on Windows places cursor before instead of after. Solution offered.

2008-09-12 Thread Roger Serwy
New submission from Roger Serwy [EMAIL PROTECTED]: Pressing Home on Windows XP in the PyShell window places the cursor before instead of after it. On Linux, this behaves correctly. The problem is in PyShell.py in the home_callback(). At line 1064: if event.state != 0 and event.keysym == Home:

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: But it still means pickling a function/method defined in a builtin extension module can give wrong results, doesn't it deserve being fixed? -- nosy: +pitrou ___ Python tracker [EMAIL PROTECTED]

[issue3849] FUD in documentation for urllib.urlopen()

2008-09-12 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Would you be interested in working on a patch? -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3849 ___

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment: Thank you, Van, for this comprehensive analysis. By including your text we'll also bypass the issues with finding the EULA file in the Visual Studio installation. The text should be easy to add as extra file and we can then reference this

[issue3842] can't run close through itertools.chain on inner generator

2008-09-12 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Sorry, am going to reject this. The use cases are somewhat uncommon and I don't want to clutter-up tools that need to remain as simple as possible. The pure python code for chain() is so simple that it's not hard to roll your own version

[issue3318] Documentation: timeit: lower bound should read upper bound

2008-09-12 Thread unutbu
unutbu [EMAIL PROTECTED] added the comment: Let B = the set of all possible times on a particular machine (the machine on which the timeit script is run). Let x = the minimum of B. Then the lowest value is an upper bound for x. This is correct, accurate, not an oxymoron. The above does not

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: Amaury, yes, it would be nice if pickle were more reliable here. But that should be the topic of a different tracker issue. Despite the Title, this issue is really about sporadic pickletools.py failures, and the pickletools tests are trying to

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-12 Thread Maries Ionel Cristian
New submission from Maries Ionel Cristian [EMAIL PROTECTED]: http://docs.python.org/dev/library/select.html#id1 Docs say: select.control(changelist, max_events=0[, timeout=None]) However, control requires 2 params (TypeError: control() takes at least 2 arguments (1 given)). Also, it should be

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-09-12 Thread Van Lindberg
Van Lindberg [EMAIL PROTECTED] added the comment: The important part is that we point out the Microsoft redistributables are subject to Microsoft's restrictions; we don't need to point to a specific EULA URL. People installing Python will agree to the license terms as they apply to the different

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Thanks, Martin. Commited as r66414. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3846 ___ ___

[issue3103] sqlite defines a few global symbols.

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Committed in r66412. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3103 ___

[issue3853] Windows SQLite DLL should be built with multithreading enabled

2008-09-12 Thread Gerhard Häring
New submission from Gerhard Häring [EMAIL PROTECTED]: According to http://www.sqlite.org/faq.html#q6 SQLite should be built with SQLITE_THREADSAFE defined when the library is used in a multithreaded context. This doesn't mean that the connection objects can then be shared between threads. This

[issue3854] Document sqlite3 vs. threads

2008-09-12 Thread Gerhard Häring
New submission from Gerhard Häring [EMAIL PROTECTED]: In Issue3846, Martin proposed [...] I encourage you to review the entire issue, though, and document somewhere what promises are made under what conditions. Then a later review can validate that the promises are really kept. Currently it's

[issue3846] sqlite3 module: Improved concurrency

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: Issue3854 was created for documenting sqlite3 vs. threads. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3846 ___

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-12 Thread Gerhard Häring
Gerhard Häring [EMAIL PROTECTED] added the comment: I'll look into this. -- assignee: - ghaering nosy: +ghaering ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3659 ___

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-12 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: georg.brandl - christian.heimes nosy: +christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3852 ___

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Barry A. Warsaw
Changes by Barry A. Warsaw [EMAIL PROTECTED]: -- priority: release blocker - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3657 ___ ___

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2008-09-12 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: On the patch: 1. I think both a log message and the comment should be written. The point needs to be reinforced to users. 2. I'd like to see some tests. 3. Maybe an option to turn the auto comments off? This is interesting. I'd like to

[issue3000] 2to3 doesn't handle print(whatever); print nor string.* functions

2008-09-12 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The print problem was fixed in r66418. The string problem is a duplicate of #2899. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED]

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-12 Thread Daniel Diniz
Changes by Daniel Diniz [EMAIL PROTECTED]: -- nosy: +ajaksu2 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3321 ___ ___ Python-bugs-list mailing list

[issue3358] 2to3 Iterative Wildcard Matching

2008-09-12 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Nick, it would be nice if your patch had a test. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3358 ___

[issue1681984] unittest documentation is incomplete

2008-09-12 Thread Daniel Diniz
Changes by Daniel Diniz [EMAIL PROTECTED]: -- nosy: +ajaksu2 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1681984 ___ ___ Python-bugs-list mailing

[issue3288] float.as_integer_ratio method is not documented

2008-09-12 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: While writing docs for as_integer_ratio(), I noticed a few typos in the docstrings of the new float methods. Patch attached. -- nosy: +akuchling Added file: http://bugs.python.org/file11481/float-docstring.txt

[issue3632] use string_print() in gdb

2008-09-12 Thread Daniel Diniz
Daniel Diniz [EMAIL PROTECTED] added the comment: I would love to have this patch, along with those of #3631 and #3610, included in Misc as diffs. This would make it easier to get the improved functionality in a new development box, besides allowing distributions to apply them at will.

[issue3288] float.as_integer_ratio method is not documented

2008-09-12 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: The attached patch documents the as_integer_ratio method; I'll commit it once Barry allows commits. Added file: http://bugs.python.org/file11482/stdtypes.txt ___ Python tracker [EMAIL PROTECTED]

[issue3311] block operation on closed socket/pipe for multiprocessing

2008-09-12 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: +needs review priority: - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3311 ___

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-12 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- keywords: +needs review priority: high - critical ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3321 ___

[issue3321] _multiprocessing.Connection() doesn't check handle

2008-09-12 Thread Jesse Noller
Jesse Noller [EMAIL PROTECTED] added the comment: Without someone offering some windows help, I won't be able to do a patch. My windows fu is lacking. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3321

[issue687648] classic division in demos/ directory

2008-09-12 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: Changes to curses/ committed in rev. 66424. Changes to threading/ committed in rev. 66425. Changes to Demo/classes/Dates.py committed in rev. 66426. Changes to md5driver/ committed in rev. 66427. Rest of the changes committed in rev. 66428.

[issue3850] find_recursion_limit.py is broken

2008-09-12 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: The patch seems fine to me. The docstring at the top of the file says: It ends when Python causes a segmentation fault because the limit is too high. On platforms like Mac and Windows, it should exit with a MemoryError. On my Macbook, it

[issue3288] float.as_integer_ratio method is not documented

2008-09-12 Thread A.M. Kuchling
A.M. Kuchling [EMAIL PROTECTED] added the comment: Patch committed in rev. 66435. Do we want to mention it in the tutorial? If not, this issue could now be closed. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3288

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-12 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: Atomic groups and possessive quantifiers appear to be relatively new: http://en.wikipedia.org/wiki/Regular_expressions for instance, has no mention of either that I found. http://www.regular-expressions.info/atomic.html

[issue2366] Fixer for new metaclass syntax is needed

2008-09-12 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Added in r66438. One open issue is that the comment is lost in the following example: class X: __metaclass__ = Meta # Spam -- resolution: - fixed status: open - closed ___ Python tracker

[issue3855] Windows installation did not work; tried on two machines

2008-09-12 Thread Mitchell Model
New submission from Mitchell Model [EMAIL PROTECTED]: I installed 3.0b3 using the Windows MSI installer on two machines, one running 32-bit Windows XP Professional on a 64-bit AMD processor with Python 2.5 already installed, and another a Parallels Desktop on an Intel MacBook running Windows XP

[issue3657] pickle can pickle the wrong function

2008-09-12 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: BTW, note that the Title of this issue is misleading: pickle.whichmodule() uses object identity (is: if ... getattr(module, funcname, None) is func: ) to determine whether the given function object is supplied by a module, so it's /not/ the

[issue3856] IDLE fails on startup on Mac 10.5 for 2.6b3 and 3.0b3

2008-09-12 Thread Mitchell Model
New submission from Mitchell Model [EMAIL PROTECTED]: IDLE fails to start on my MacBook [OS 10.5, v2.6b3 and v3.0b3, built from source]. At the call to delete in the backtrace below index1 is 1 and index2 is 'end'. python2.6 lib/python2.6/idlelib/idle.py Traceback (most recent call last):