[issue2882] Create the html package
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Completed in revisions 63430, 63432, 63434 (Python 2.6), and 63431, 63435, 63439 (Python 3.0). -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2882 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2775] Implement PEP 3108
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: The html package has been created (issue 2882). -- nosy: +fdrake __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2905] test_urllib.py crashes with bus error on Darwin
New submission from Ismail Donmez [EMAIL PROTECTED]: Using latest py3k SVN on MacOSX 10.5.2 : [~/Sources/py3k/Lib/test] ../../python regrtest.py test_urllib.py test_urllib zsh: bus error ../../python regrtest.py test_urllib.py Backtrace: #0 _CallProc (pProc=0x904e95f0 CFStringCreateWithCString, argtuple=0x5e7bc0, flags=4353, argtypes=0x0, restype=0x2637b0, checker=0x0) at /Users/cartman/Sources/py3k/Modules/_ctypes/callproc.c:984 #1 0x00662352 in CFuncPtr_call (self=0x5c9738, inargs=0x5e7bc0, kwds=0x0) at /Users/cartman/Sources/py3k/Modules/_ctypes/_ctypes.c:3767 #2 0x8229 in PyObject_Call (func=0x5c9738, arg=0x5e7bc0, kw=0x0) at Objects/abstract.c:2184 #3 0x0009e9f4 in unknown function [inlined] () at :0 #4 0x0009e9f4 in PyEval_EvalFrameEx (f=0x2615e0, throwflag=0) at Python/ceval.c:0 #5 0x0009ffc8 in PyEval_EvalFrameEx (f=0x23f6d0, throwflag=0) at Python/ceval.c:3536 #6 0x0009ffc8 in PyEval_EvalFrameEx (f=0x260d70, throwflag=0) at Python/ceval.c:3536 #7 0x000a1133 in PyEval_EvalCodeEx (co=0x3cfcc8, globals=0x3c60c0, locals=0x0, args=0x5eb6dc, argcount=1, kws=0x2576d0, kwcount=0, defs=0x54d9bc, defcount=1, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #8 0x0002b055 in function_call (func=0x54cd68, arg=0x5eb6d0, kw=0x5ecb70) at Objects/funcobject.c:628 #9 0x8229 in PyObject_Call (func=0x54cd68, arg=0x5eb6d0, kw=0x5ecb70) at Objects/abstract.c:2184 #10 0x0009d418 in PyEval_EvalFrameEx (f=0x260c00, throwflag=0) at Python/ceval.c:3749 #11 0x000a1133 in PyEval_EvalCodeEx (co=0x3d53c8, globals=0x3c60c0, locals=0x0, args=0x5eb6bc, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #12 0x0002b055 in function_call (func=0x5321e0, arg=0x5eb6b0, kw=0x0) at Objects/funcobject.c:628 #13 0x8229 in PyObject_Call (func=0x5321e0, arg=0x5eb6b0, kw=0x0) at Objects/abstract.c:2184 #14 0x0001715e in method_call (func=0x5321e0, arg=0x1ac030, kw=0x0) at Objects/classobject.c:323 #15 0x8229 in PyObject_Call (func=0x5230a8, arg=0x1ac030, kw=0x0) at Objects/abstract.c:2184 #16 0x000579c7 in slot_tp_init (self=0x0, args=0x1ac030, kwds=0x0) at Objects/typeobject.c:5187 #17 0x00053be2 in type_call (type=0x24f8f0, args=0x1ac030, kwds=0x0) at Objects/typeobject.c:651 #18 0x8229 in PyObject_Call (func=0x24f8f0, arg=0x1ac030, kw=0x0) at Objects/abstract.c:2184 #19 0x0009e9f4 in unknown function [inlined] () at :0 #20 0x0009e9f4 in PyEval_EvalFrameEx (f=0x260a90, throwflag=0) at Python/ceval.c:0 #21 0x000a1133 in PyEval_EvalCodeEx (co=0x3cfb60, globals=0x3c60c0, locals=0x0, args=0x2608e4, argcount=1, kws=0x2608e8, kwcount=0, defs=0x3cbeec, defcount=2, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #22 0x0009f874 in unknown function [inlined] () at :0 #23 0x0009f874 in PyEval_EvalFrameEx (f=0x2607a0, throwflag=0) at Python/ceval.c:0 #24 0x0009ffc8 in PyEval_EvalFrameEx (f=0x25f3d0, throwflag=0) at Python/ceval.c:3536 #25 0x000a1133 in PyEval_EvalCodeEx (co=0x538848, globals=0x5330c0, locals=0x0, args=0x5de67c, argcount=2, kws=0x258880, kwcount=0, defs=0x5b569c, defcount=1, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #26 0x0002b055 in function_call (func=0x5b68e8, arg=0x5de670, kw=0x5ec930) at Objects/funcobject.c:628 #27 0x8229 in PyObject_Call (func=0x5b68e8, arg=0x5de670, kw=0x5ec930) at Objects/abstract.c:2184 #28 0x0009d418 in PyEval_EvalFrameEx (f=0x25f260, throwflag=0) at Python/ceval.c:3749 #29 0x000a1133 in PyEval_EvalCodeEx (co=0x538890, globals=0x5330c0, locals=0x0, args=0x5dedfc, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #30 0x0002b055 in function_call (func=0x5b6930, arg=0x5dedf0, kw=0x0) at Objects/funcobject.c:628 #31 0x8229 in PyObject_Call (func=0x5b6930, arg=0x5dedf0, kw=0x0) at Objects/abstract.c:2184 #32 0x0001715e in method_call (func=0x5b6930, arg=0x5eb650, kw=0x0) at Objects/classobject.c:323 #33 0x8229 in PyObject_Call (func=0x523198, arg=0x5eb650, kw=0x0) at Objects/abstract.c:2184 #34 0x00057d97 in slot_tp_call (self=0x0, args=0x5eb650, kwds=0x0) at Objects/typeobject.c:4960 #35 0x8229 in PyObject_Call (func=0x5e3e50, arg=0x5eb650, kw=0x0) at Objects/abstract.c:2184 #36 0x0009e9f4 in unknown function [inlined] () at :0 #37 0x0009e9f4 in PyEval_EvalFrameEx (f=0x25f0f0, throwflag=0) at Python/ceval.c:0 #38 0x000a1133 in PyEval_EvalCodeEx (co=0x538f50, globals=0x5330c0, locals=0x0, args=0x5de6a4, argcount=2, kws=0x258870, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:2743 #39 0x0002b055 in function_call (func=0x5b6e88, arg=0x5de698, kw=0x5ec8a0) at Objects/funcobject.c:628 #40 0x8229 in PyObject_Call (func=0x5b6e88, arg=0x5de698, kw=0x5ec8a0) at Objects/abstract.c:2184 #41 0x0009d418 in PyEval_EvalFrameEx (f=0x25ef80, throwflag=0) at Python/ceval.c:3749 #42 0x000a1133 in PyEval_EvalCodeEx (co=0x538f98, globals=0x5330c0, locals=0x0, args=0x5de744, argcount=2, kws=0x0,
[issue2905] test_urllib.py crashes with bus error on Darwin
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed in r63448. -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2905 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2897] include structmember.h in Python.h
Georg Brandl [EMAIL PROTECTED] added the comment: We could include it in Py3k. -- assignee: - gvanrossum nosy: +georg.brandl, gvanrossum versions: +Python 3.0 -Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2897 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2775] Implement PEP 3108
Brett Cannon [EMAIL PROTECTED] added the comment: I have now removed the closed issues as dependencies. Thanks to everyone who has helped so far! You have no idea how appreciative I am. -- dependencies: -Create the html package, Create the tkinter package, Moving lib-tk to tkinter package, Rename repr to reprlib __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2907] ZeroDivisionError error message needs clarification
New submission from Chester [EMAIL PROTECTED]: Please fix the ZeroDivisionError error message string literal to clarify the error message: from if (y == 0) { PyErr_SetString(PyExc_ZeroDivisionError, integer division or modulo by zero); return DIVMOD_ERROR; to if (y == 0) { PyErr_SetString(PyExc_ZeroDivisionError, integer division by zero or modulo by zero); return DIVMOD_ERROR; This code is located here: http://svn.python.org/view/python/trunk/Objects/intobject.c?rev=62380view=markup -- messages: 67033 nosy: chester severity: normal status: open title: ZeroDivisionError error message needs clarification versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2907 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10364/mathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Jean Brouwers [EMAIL PROTECTED] added the comment: Attached is the patch for the the mathmodule.c file of Python 2.6a3 containing the C version of the msum() function from Marks's msum4.py Python implementation. Please review the C code, in particular the setting of _do_sum_pow_2 for FLT_RADIX not equal to 2. The results of the C and Python versions match (on 32-bit MacOS X Intel), using the test_math_sum4.py script. That includes all the tests from msum4.py and from Raymond's recipe. More testing and the cmath version are still to be done. /Jean Brouwers Added file: http://bugs.python.org/file10364/mathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10365/mathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10366/test_math_sum4.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2907] ZeroDivisionError error message needs clarification
Georg Brandl [EMAIL PROTECTED] added the comment: Rejecting - this isn't leading anywhere. -- nosy: +georg.brandl resolution: - rejected status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2907 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2908] fix_imports new entries for tkinter rename
New submission from Guilherme Polo [EMAIL PROTECTED]: Added entries on fix_imports to deal with the tkinter renaming. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool) files: tkinter_imports_fix.diff keywords: patch messages: 67036 nosy: collinwinter, gpolo severity: normal status: open title: fix_imports new entries for tkinter rename Added file: http://bugs.python.org/file10367/tkinter_imports_fix.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2908 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2908] fix_imports new entries for tkinter rename
Georg Brandl [EMAIL PROTECTED] added the comment: Committed r63456. -- nosy: +georg.brandl resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2908 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2903] Add __name__ in globals of generated namedtuple namespace
Changes by Georg Brandl [EMAIL PROTECTED]: -- assignee: - rhettinger nosy: +rhettinger __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2903 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2384] [Py3k] line number is wrong after encoding declaration
Changes by Georg Brandl [EMAIL PROTECTED]: -- priority: - release blocker __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2384 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access
New submission from Aaron Gallagher [EMAIL PROTECTED]: With the advent of collections.namedtuple, I thought that having a counterpart in the struct module would make having to deal with unpacked data much easier. Per suggestion, this extends the behavior of _struct.Struct rather than a separate NamedStruct class. The regexp might not be immediately obvious as to what the format required is. The format string is represented like this: attribute_name1(attribute_format) attribute_name2(attribute_format2) and so on. Formats given in parentheses without an attribute name are allowed, so that byte order and pad bytes can be specified. For example: (!) x1(h) x2(h) (2x) y1(h) y2(h) Suggestions and criticism are welcome. I think it would simplify using the struct module a lot to be able to have named attributes like this. -- components: Library (Lib) files: named-struct.patch keywords: patch messages: 67038 nosy: habnabit severity: normal status: open title: struct.Struct.unpack to return a namedtuple for easier attribute access versions: Python 3.0 Added file: http://bugs.python.org/file10368/named-struct.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2909 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2437] Distutils runtime_library_dirs broken on Windows
Laurent Gautier [EMAIL PROTECTED] added the comment: The bug is still here with Python 2.5.2. I anyone want to have it work urgently, there is a quick but very ugly fix: add g['CC'] = 'gcc' into the function _init_nt() in the file Lib\distutils\sysconfig.py of the Python install. -- nosy: +lgautier __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2437 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2908] fix_imports new entries for tkinter rename
Guilherme Polo [EMAIL PROTECTED] added the comment: Hi Georg, sorry but I duplicated the FileDialog entry in tkFileDialog and forgot to update the correct names for tkFileDialog, here is a patch to apply over the previous one. I took the time to review the other entries too, just in case I did this somewhere else, but they are all fine. -- resolution: accepted - status: closed - open Added file: http://bugs.python.org/file10369/fix_tkfiledialog_imports.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2908 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2854] Add gestalt back into Python 3.0
Changes by Benjamin Peterson [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10370/gestalt_is_back2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2854 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2908] fix_imports new entries for tkinter rename
Georg Brandl [EMAIL PROTECTED] added the comment: Okay, thanks. Fixed in r63461. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2908 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2910] Remove plat-mac from 3.0
New submission from Brett Cannon [EMAIL PROTECTED]: The plat-mac directory is empty in 3.0, but is still there. Plus there are still references in Makefile.pre.in to the package as well. -- components: Library (Lib) messages: 67042 nosy: brett.cannon priority: critical severity: normal status: open title: Remove plat-mac from 3.0 type: behavior versions: Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2910 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2910] Remove plat-mac from 3.0
Changes by Brett Cannon [EMAIL PROTECTED]: -- assignee: - brett.cannon __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2910 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2910] Remove plat-mac from 3.0
Changes by Brett Cannon [EMAIL PROTECTED]: -- priority: critical - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2910 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2349] Py3K warn against assigning to True/False
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- assignee: benjamin.peterson - brett.cannon __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2349 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10366/test_math_sum4.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file10365/mathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1257] atexit errors should result in nonzero exit code
Benjamin Peterson [EMAIL PROTECTED] added the comment: I'm assigning this to Christian because he was doing the GHOP review. -- assignee: gvanrossum - christian.heimes nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1257 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access
Changes by Raymond Hettinger [EMAIL PROTECTED]: -- assignee: - rhettinger nosy: +rhettinger type: - feature request __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2909 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2910] Remove plat-mac from 3.0
Georg Brandl [EMAIL PROTECTED] added the comment: Do you want me to remove this? -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2910 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Jean Brouwers [EMAIL PROTECTED] added the comment: Attached are updated patches for both the mathmodule.c and cmathmodule.c files for Python 2.6a3 and for the test_math_sum4.py script. Please ignore the ones posted earlier. Added file: http://bugs.python.org/file10371/mathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10372/cmathmodule4.c.2.6a3.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Changes by Jean Brouwers [EMAIL PROTECTED]: Added file: http://bugs.python.org/file10373/test_math_sum4.py __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1322] platform.dist() has unpredictable result under Linux
Benjamin Peterson [EMAIL PROTECTED] added the comment: Christian was reviewing this for GHOP. -- assignee: georg.brandl - christian.heimes nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1322 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: [issue2910] Remove plat-mac from 3.0
On Sun, May 18, 2008 at 2:21 PM, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl [EMAIL PROTECTED] added the comment: Do you want me to remove this? I was holding off until a decision was made as to where to put gestalt back into the stdlib (Mac/Modules, Modules, plat-mac, or plat-darwin). ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access
Aaron Gallagher [EMAIL PROTECTED] added the comment: Okay, here's a new version of my patch. Instead of replacing the default functionality of struct.Struct, this patch now adds the functionality to a separate class called NamedStruct, so as to not break backwards compatibility. The coding style has been revised, and it now also raises a more descriptive error if the regex fails to parse. Also included: a unit test. -- versions: +Python 2.6 Added file: http://bugs.python.org/file10374/named-struct2.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2909 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2910] Remove plat-mac from 3.0
Benjamin Peterson [EMAIL PROTECTED] added the comment: Well, I reimplemented gestalt as C (#2854), so I imagine it should go in Modules. -- nosy: +benjamin.peterson __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2910 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2909] struct.Struct.unpack to return a namedtuple for easier attribute access
Raymond Hettinger [EMAIL PROTECTED] added the comment: Thanks for submitting the patch and the idea. I've previously looked at this approach and decided against it. The struct module is highly optimized and typically called many times in a loop and a patch like this would hurt performance. Also, it adds complexity to the module making it more difficult to learn an remember. It is better to leave named tuples separate and allow users to combine them downstream -- see the SQLite example for instance -- the cast to named tuples could be applied directly, so there was no need for a change to the SQL module. It is better design for us to leave the data retrieval (struct, csv, sql, etc) separate from the code for collections.namedtuple. Instead of this patch, I propose to add a simple example to the struct module documentation showing how to cast to a named tuple. Also, FWIW, the preferred way to cast tuples to named tuples is to use the _make() method instead of using the constructor with the star operator. nt._make(t) instead of nt(*t). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2909 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2911] rewrite test_struct as a unittest
New submission from Benjamin Peterson [EMAIL PROTECTED]: Perhaps a bigger bug day task? -- components: Tests keywords: easy messages: 67051 nosy: benjamin.peterson priority: low severity: normal status: open title: rewrite test_struct as a unittest type: feature request __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2911 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2912] let platform.uname try harder
New submission from Benjamin Peterson [EMAIL PROTECTED]: Sometimes os.uname (which is used to bootstrap platform.uname) can return 'unknown' for some items. The fallback code in platform.uname can usually fill these blanks in. However, this is only used when os.uname is not present. It would be useful if platform tried to fill these unknowns in. -- keywords: easy messages: 67052 nosy: benjamin.peterson severity: normal status: open title: let platform.uname try harder type: feature request __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2912 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2912] let platform.uname try harder
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2912 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2912] let platform.uname try harder
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- components: +Library (Lib) priority: - low __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2912 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2819] Full precision summation
Jean Brouwers [EMAIL PROTECTED] added the comment: The tests of the test_math_sum4.py script all pass with the latest math- and cmathmodule.c files for 4 different builds of Python 2.6a3: - GNU gcc 4.0.1 on MacOS X 10.4.11 (Intel Core Duo), 32-bit - GNU gcc 4.1.2 on RHEL 3 update 7 (Opteron), 64-bit - Sun C 5.8 on Solaris 10 (Opteron), both 32- and 64-bit Also interesting might be that the tests run 25+ times faster with the C math.sum compared to the Python implementation of msum(). /Jean Brouwers __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2819 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1447222] tkinter Dialog fails when more than four buttons are used
Guilherme Polo [EMAIL PROTECTED] added the comment: I just tried it here and it still happens, it also happens for the 11th button and that is it (5th and 11th). I tried it with tk 8.4 and tk 8.5, python-trunk, python 2.5.2. I'm investigating this. For some reason a pixel object is being returned inside a tuple. _tkinter detects a ListType object, then creates a tuple with one object, which is a pixel object and it has the value you would expect, 4 or 10. -- nosy: +gpolo _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1447222 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2849] Remove usage of rfc822 from the stdlib
Humberto Diogenes [EMAIL PROTECTED] added the comment: A quick search for rfc822 imports in py3k reveals this: $ find . -name '*.py' | xargs egrep -nr '(from|import) rfc822' ./Demo/scripts/mboxconvert.py:7:import rfc822 ./Lib/cgi.py:39:import rfc822 ./Lib/mimetools.py:5:import rfc822 ./Lib/test/test_rfc822.py:1:import rfc822 ./Lib/test/test_urllib2.py:587:import rfc822, socket ./Tools/faqwiz/faqwiz.py:210:import rfc822 ./Tools/scripts/mailerdaemon.py:3:import rfc822 ./Tools/versioncheck/pyversioncheck.py:2:import rfc822 The real release blockers should be cgi, mimetools and test_urllib2. -- nosy: +hdiogenes __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2849 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com