[issue14818] C implementation of ElementTree: Some functions should support keyword arguments

2012-05-19 Thread Eli Bendersky
Eli Bendersky added the comment: Ezio, Your patch looks good, with these notes: * When raising TypeError in the Python constructor, say that 'attrib' must be a dict, otherwise it's not clear *what* must be a dict. * The 'attrib' keyword handling has to be added to SubElement too, as Markus s

[issue14849] C implementation of ElementTree: Inheriting from Element breaks text member

2012-05-19 Thread Eli Bendersky
Eli Bendersky added the comment: Here's a simpler testcase: import xml.etree.ElementTree as ET class XElement(ET.Element): def __init__(self, tag, attrib={}): ET.Element.__init__(self, tag, attrib) e = XElement('test') e.text = 'failure' print(ET.tostring(e)) -- ___

[issue14849] C implementation of ElementTree: Inheriting from Element breaks text member

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 41a9d24d075e by Eli Bendersky in branch 'default': Issue #14849: setup Element data members to be assignable in subclasses http://hg.python.org/cpython/rev/41a9d24d075e -- nosy: +python-dev ___ Python tr

[issue14426] date format problem in Cookie/http.cookies

2012-05-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: Actually, the claim is correct, there is no dash separated expiry dates even in the real world. Tested with couple of sites like gmail, wikipedia and few more. -- ___ Python tracker

[issue14849] C implementation of ElementTree: Inheriting from Element breaks text member

2012-05-19 Thread Eli Bendersky
Changes by Eli Bendersky : -- assignee: -> eli.bendersky resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14861] (Patch included) Make ./python -m test work to run test suite in Python 2.7

2012-05-19 Thread Marc Abramowitz
New submission from Marc Abramowitz : Currently, the devguide (http://docs.python.org/devguide/) mentions two sets of commands for running the CPython test suite: * For Python 3, one uses: ./python -m test * For Python 2.7, one must use: ./python -m test.regrtest because ./python -m test fail

[issue14861] Make ./python -m test work to run test suite in Python 2.7

2012-05-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> patch review title: (Patch included) Make ./python -m test work to run test suite in Python 2.7 -> Make ./python -m test work to run test suite in Python 2.7 type: -> enhancement ___ Python

[issue14426] date format problem in Cookie/http.cookies

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1db41c410f63 by Senthil Kumaran in branch '2.7': Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert http://hg.python.org/cpython/rev/1db41c410f63 New changeset a5fa068143eb by Sen

[issue14426] date format problem in Cookie/http.cookies

2012-05-19 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is fixed in all the branches. Note here - the test change is actually not the coverage because Cookie tests cover the scenarios of SimpleCookie class of both loading the formatted date and setting the formatted date. It is only testing the setting of ex

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2012-05-19 Thread Petri Lehtinen
Petri Lehtinen added the comment: What Sqlite version are you targeting? Some systems use quite old Sqlite versions, see #14572 for example. -- nosy: +petri.lehtinen ___ Python tracker

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Petri Lehtinen
Petri Lehtinen added the comment: Changing the code to use sqlite_int64 (Ned's patch) sounds better to me. -- ___ Python tracker ___

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset e31597b3bd15 by Ned Deily in branch '2.7': Issue #14572: Prevent build failures with pre-3.5.0 versions of http://hg.python.org/cpython/rev/e31597b3bd15 -- nosy: +python-dev ___ Python tracker

[issue14572] 2.7.3: sqlite module does not build on centos 5 and Mac OS X 10.4

2012-05-19 Thread Ned Deily
Ned Deily added the comment: OK, the patch, as originally suggested by Joakim, is applied for release in 2.7.4. Thanks everyone. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

<    1   2