[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2008-06-08 Thread Tal Einat
Changes by Tal Einat [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file8641/IDLE_CallTips.071028.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1350 ___

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2008-06-08 Thread Tal Einat
Changes by Tal Einat [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file8960/IDLE_CallTips.071214.incremental.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1350 ___

[issue3063] memory leak in random number generation

2008-06-08 Thread Grant Tang
Grant Tang [EMAIL PROTECTED] added the comment: I agree with Tim's comment. The problem's why these floats keep alive even after random() call returns. Then this becomes a garbage collection issue? ___ Python tracker [EMAIL PROTECTED]

[issue3063] memory leak in random number generation

2008-06-08 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: They stayed alive simultaneously because you stored 100 million of them simultaneously in a list (data[]). If instead you did, e.g., for i in xrange(1): x = random() the problem would go away -- then only two float objects are

[issue3063] memory leak in random number generation

2008-06-08 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: So, 0.0 would be cached, and the 414m+384m would be from the list itself, right? I tried, data = [(1.0/i) for i in xrange(1,1)] And the memory consumption was the big one. Grant, the 800 MB is taken by ONE 0.0, and a list of

[issue2349] Py3K warn against assigning to True/False

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Here's a much better patch that delegates checking to a helper. Added file: http://bugs.python.org/file10551/bool_assign7.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2349

[issue3060] Warn about tuple parameters

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Why not warn in the AST, like for the other syntax-related changes? because I was reading through symtable.c at the time. :) Anyway, here's a better patch. Added file: http://bugs.python.org/file10553/tuple_parameters_warn2.patch

[issue3063] memory leak in random number generation

2008-06-08 Thread Facundo Batista
Facundo Batista [EMAIL PROTECTED] added the comment: Grant, A float takes 64 bits. 100 million floats take 800 MB, *just* the floats. You're also building a list of 100 million places. Maybe you shouldn't be building this structure in memory? In any case, you should raise this issue in

[issue3063] memory leak in random number generation

2008-06-08 Thread Tim Peters
Tim Peters [EMAIL PROTECTED] added the comment: Float objects also require, as do all Python objects, space to hold a type pointer and a reference count. So each float object requires at least 16 bytes (on most 32-bit boxes, 4 bytes for the type pointer, 4 bytes for the refcount, + 8 bytes for

[issue3060] Warn about tuple parameters

2008-06-08 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Replace upacking with unpacking and you can commit it :) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3060 ___

[issue2349] Py3K warn against assigning to True/False

2008-06-08 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: The macro at the top of the patch should be removed, then this can be checked in. -- resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2349

[issue2911] rewrite test_struct as a unittest

2008-06-08 Thread Giampaolo Rodola'
Giampaolo Rodola' [EMAIL PROTECTED] added the comment: In attachment. All existing tests are unchanged. All tests passed on Windows XP sp3 and Linux Ubuntu Breezie both equipped with Python-2.6a3. -- keywords: +patch nosy: +giampaolo.rodola Added file:

[issue2053] IDLE - standardize dialogs

2008-06-08 Thread Tal Einat
Tal Einat [EMAIL PROTECTED] added the comment: After more testing, I discovered a bug which broke Goto Line. Attaching a fixed patch. Added file: http://bugs.python.org/file10555/IDLE_standardize_dialogs.080609.patch ___ Python tracker [EMAIL PROTECTED]

[issue2053] IDLE - standardize dialogs

2008-06-08 Thread Tal Einat
Changes by Tal Einat [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10555/IDLE_standardize_dialogs.080609.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2053 ___

[issue2349] Py3K warn against assigning to True/False

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done in r64044. -- resolution: accepted - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2349 ___

[issue3060] Warn about tuple parameters

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done with r64045. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3060 ___

[issue2874] Remove use of the stat module in the stdlib

2008-06-08 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Can't you just inherit PyStructSequence with tp_base? -- nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2874 ___

[issue2876] Write UserDict fixer for 2to3

2008-06-08 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- priority: release blocker - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2876 ___ ___

[issue2775] Implement PEP 3108

2008-06-08 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- dependencies: -Remove cl usage from aifc, Write UserDict fixer for 2to3 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 ___

[issue3064] new turtle module for Python 3.0

2008-06-08 Thread Gregor Lingl
New submission from Gregor Lingl [EMAIL PROTECTED]: turtle3.zip contains the port of the new turtle module (including demo viewer and demo scripts) to Python 3.0 . One demo script has been added (tdemo_forest.py) It has been tested under Windows/MacOsX/Linux without showing up any problems.

[issue3065] Fix pickling bug of collections.namedtuple

2008-06-08 Thread Raymond Hettinger
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- priority: normal - high ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3065 ___ ___ Python-bugs-list

[issue3065] Fix pickling bug of collections.namedtuple

2008-06-08 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Found it. Py3.0 uses protocol 2 by default and that protocol has a different set of calls. -- versions: +Python 2.6 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3065

[issue2618] Tile module: Add support for themed widgets

2008-06-08 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- resolution: - duplicate status: open - closed superseder: - Ttk support for Tkinter ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2618 ___

[issue3064] new turtle module for Python 3.0

2008-06-08 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: - loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3064 ___ ___ Python-bugs-list

[issue3065] Fix pickling bug of collections.namedtuple

2008-06-08 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Fixed in r64047. Thanks for the submission. -- assignee: georg.brandl - rhettinger resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3065