[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Chris Rebert added the comment: My apologies for the extra email... -- Added file: http://bugs.python.org/file18210/subprocess.rst.diff ___ Python tracker ___ ___

[issue7950] subprocess.Popen documentation should contain a good warning about the security implications when using shell=True

2010-07-25 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file18209/subprocess.rst.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9382] os.popen referenced but not documented in Python 3.x

2010-07-25 Thread Chris Rebert
New submission from Chris Rebert : http://docs.python.org/py3k/library/os.html currently mentions os.popen() in several places. The docs for os.popen() itself say: 'These functions are described in section "File Object Creation"' However, unlike the 2.x version of that section ( http://docs.p

[issue9381] syntax error in Unicode C API docs

2010-07-25 Thread Chris Rebert
New submission from Chris Rebert : See http://docs.python.org/py3k/c-api/unicode.html#file-system-encoding Note the literal and unhyperlinked ":func:PyUnicode_FSConverter" in the last sentence of the first paragraph. I suspect there's a trivial syntax error in the ReST source. -- assi

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Eli Bendersky
Eli Bendersky added the comment: The test failure of the py3k ports boils down to this: the 'runfunc' method of 'Trace' appears as a caller to '_traced_func_importing_caller'. In 2.7 it appears as 'Trace.runfunc', in py3k as just 'runfunc'. This raises a question: should method names of class

[issue1170] shlex have problems with parsing unicode

2010-07-25 Thread Fernando Perez
Fernando Perez added the comment: Here is an illustration of the problem with a simple test case (the value of the posix flag doesn't make any difference): Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more informat

[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-07-25 Thread Eli Bendersky
Eli Bendersky added the comment: Hello, I'm attaching a patch for this issue. 1. _from_iterable in KeysView and ItemsView overridden as per Daniel's suggestion (Lib/_abcoll.py) 2. Added a test case to Lib/test/test_collections.py that uses this test case (creates the subclass and attempts m

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I will defer to your judgement on the level of "whiteness" that is appropriate. I have passed your patch through 2to3, replaced test_support with support and it looks like we have a test case for a regression in 3.x:

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Eli Bendersky
Changes by Eli Bendersky : -- keywords: +patch Added file: http://bugs.python.org/file18206/issue9315.1.patch ___ Python tracker ___ __

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file18205/test_trace.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Eli Bendersky
Eli Bendersky added the comment: Alexander, 1. Done 2. Done 3. Done. Made docstrings follow PEP 257, to the best of my understanding 4. Done. Attached patch is made on fresh SVN 2.7 branch, file renamed to test_trace.py and 'svn add' executed 5. I'm not sure I agree with you on this point. IM

[issue7113] ConfigParser load speedup

2010-07-25 Thread Brian Curtin
Brian Curtin added the comment: Committed to py3k in r83154 and release27-maint in r83155. -- nosy: +brian.curtin resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue4755] Common path prefix

2010-07-25 Thread Craig McQueen
Craig McQueen added the comment: http://code.activestate.com/recipes/577016-path-entire-split-commonprefix/ -- nosy: +cmcqueen1975 ___ Python tracker ___

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-25 Thread STINNER Victor
STINNER Victor added the comment: Oops, the issue is already closed /o\ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Sun, Jul 25, 2010 at 7:27 PM, STINNER Victor wrote: .. > Unicode is my cup of tee, but not programs considering that bytes are > characters. > What I called "your cup of tee" was 3.x returning 'UTF-8' from locale.nl_langinfo(locale.CODESET) where 2.x

[issue9380] Allow popping of n elements at once from a deque

2010-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, I'm going to reject this one. Looking at implementations in other languages, I see that this is almost never needed. It is not worth complicating the API which is currently very simple. Also, there is an issue in that the semantics are not self-evid

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the patches, but I do not think this is quite done. 1. "It is recommended that you always specify an encoding; you may use any encoding you like, but an argument of "utf-8" is the most common, avoid :exc:`UnicodeError` exceptions in case of unre

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- components: +Documentation -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: You are welcome to suggest wording. Aim for the shortest explanation that guides people to the right understanding. Being overly specific often causes more harm than good. Instead, try to be maximally helpful to someone just learning about randrange() f

[issue9380] Allow popping of n elements at once from a deque

2010-07-25 Thread ipatrol
New submission from ipatrol : Yes, I know, this was proposed with builtin lists years before. But I can't help but think that at least for pop-append oriented deques, a popping analogue to extend would make use of deques in iterators easier. It should ideally return an iterator, possibly with

[issue9337] Make float.__str__ behave identically to float.__repr__

2010-07-25 Thread Eric Smith
Eric Smith added the comment: I think this is a good idea. To test how much impact it would have, I changed float's str to return the same value as repr. regrtest broke only 3 tests: test_float test_tokenize test_unicodedata. It's not clear to me why unicodedata failed. With short float repr

[issue777884] minidom.py -- TypeError: object doesn't support slice assig

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling added the comment: Well, we certainly can't going making any incompatible changes now, so I've opted to add an empty normalize() method to the Childless mix-in. This makes minidom a little more liberal than other DOM implementations, but I think that's OK. Committed to trunk i

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Łukasz Langa
Łukasz Langa added the comment: Raymond, I agree, that is reasonable. Would you like me to send a patch for the docstring or would you rather make the change on your own? -- ___ Python tracker

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I want to look at this more before it goes forward. The docs are roughly correct as-is. In a effort to make them precise, it is easy make them more confusing or at least a bit harder to understand the basic function of sum(). -- assignee: d...@pytho

[issue7113] ConfigParser load speedup

2010-07-25 Thread Łukasz Langa
Łukasz Langa added the comment: Patch from py3k root. Some minor formatting changes suggested by Ezio Melotti included. -- Added file: http://bugs.python.org/file18204/issue7113_without_itertools.diff ___ Python tracker

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm happy to improve the docs and docstring a bit to match the description for range(). I don't want to change any of the keyword arguments because it can break code that currently works and has been working for ages. It's a fact of life that the range()

[issue7113] ConfigParser load speedup

2010-07-25 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18200/issue7113_without_itertools.diff ___ Python tracker ___ ___ Python-bug

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: patch3 incorporates all your suggestions. I verified the itertools hint: >>> list(itertools.chain.from_iterable([[10],[1,2],['a']])) [10, 1, 2, 'a'] I think the hints are clear enough; anyone with more questions should follow the link to the respective functi

[issue1463043] test_minidom.py fails for Python-2.4.3 on SUSE 9.3

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling added the comment: Closing. The replaceChild() bug reported by tobixx was fixed by patch #1094164. -- resolution: -> fixed status: pending -> closed ___ Python tracker ___

[issue9335] LC_CTYPE system setting not respected by setlocale()

2010-07-25 Thread STINNER Victor
STINNER Victor added the comment: > Victor, This looks like your cup of tee. Unicode is my cup of tee, but not programs considering that bytes are characters. .isalpha() doesn't mean anything to me :-) This issue is a more question about the C library, not about Python :-) So try the attach

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling added the comment: 2) changed in rev83151. I extensively rearranged the description of toxml(), hopefully making its meaning clearer. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Changes by Grant Limberg : Removed file: http://bugs.python.org/file18198/internal_print_non_recursive.patch ___ Python tracker ___ ___ Python

[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Grant Limberg added the comment: On second thought, internal_print() doesn't look like it's needed anymore as it's only called by PyObject_Print() and is no longer recursive. This second patch moves internal_print()'s function body into PyObject_Print and removes the internal_print function.

[issue4686] Exceptions in ConfigParser don't set .args

2010-07-25 Thread Michael Foord
Michael Foord added the comment: Committed revision 83150. Still needs backporting to 3.1, 2.7 and possibly even 2.6. -- assignee: -> michael.foord resolution: -> accepted stage: patch review -> commit review versions: +Python 2.6 ___ Python track

[issue1495229] W3C <-> Python DOM type mapping docs need updating

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling added the comment: Changed on the trunk in rev83149. I removed both paragraphs after the table, adding null and DOMString to the table, and took the word 'primitive' out of the first sentence (so the table isn't listing just primitive types, but can list DOMString). --

[issue7113] ConfigParser load speedup

2010-07-25 Thread Łukasz Langa
Łukasz Langa added the comment: In msg111399 I remarked the new itertools dependency. It seems it is in fact problematic because when building Python from scratch `setup.py` which is used to build C extensions is using configparser. And one of the C-only modules is itertools :) Attached a ne

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: FWIW, I like the new patch better, but still have a few nitpicks: - Starting a sentence with an argument name is a bit awkward because that makes a sentence that starts with a lower case letter. - There is an extra space in :class: `list`. - It would

[issue4686] Exceptions in ConfigParser don't set .args

2010-07-25 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: In order to have a chance at 2.6.6rc, due out in a week, I hand-edited the patch, incorporating Georg's suggestion, and uploaded. I think it is ready to commit. Since this is not a critical doc fix, I am not marking it a blocker, but I still think it would b

[issue2927] expose html.parser.unescape

2010-07-25 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that using an hardcoded mapping CP1252 => unicode is a good idea. -- ___ Python tracker ___ ___

[issue9167] argv double encoding on OSX

2010-07-25 Thread STINNER Victor
STINNER Victor added the comment: Issue #8622 proposes the creation of an environment variable PYTHONFSENCODING. It will be used to set sys.getfilesystemencoding(). Would it help this issue? -- ___ Python tracker

[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Grant Limberg added the comment: It looks like at one point, internal_print was a recursive function, but this is no longer the case. I've updated the function parameters to no longer contain the "nesting" parameter and removed the if block shown in this case. -- keywords: +patch nos

[issue1495229] W3C <-> Python DOM type mapping docs need updating

2010-07-25 Thread A.M. Kuchling
A.M. Kuchling added the comment: The current link in the docs works; it's http://www.omg.org/spec/PYTH/1.2/PDF/. -- ___ Python tracker ___

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Georg Brandl
Georg Brandl added the comment: Note that using `~itertools.chain.from_iterable` is equivalent to `from_iterable ` and saves a repetition. -- ___ Python tracker ___

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Leonard, that you for the patch, in particular, the list of hints. I think the first is good but overly specific. It also has an extra '.itertools' in the path. Now: ''' + - To concatenate a list of lists ``lol`` use ``list(itertools.chain.from_iterable

[issue1495229] W3C <-> Python DOM type mapping docs need updating

2010-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unlike with some issues, my in-message recommendations here do not constitute a patch. d...@python could update the link immediately. I would be willing to review the more extensive patch for 3.x if someone makes one. -- keywords: +easy stage: -> ne

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-07-25 Thread Ask Solem
Ask Solem added the comment: > A potential implementation is in termination.patch. Basically, > try to shut down gracefully, but if you timeout, just give up and > kill everything. You can't have a sensible default timeout, because the worker may be processing something important... > It's a

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Łukasz Langa
Łukasz Langa added the comment: My suggestions on how the patches should work always assumed that we want 100% backward compatibility and there might exist some crazy code that is actually using positional/keyword argument mixing. If that is no problem for us then I'm all in favor of removing

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Mark Dickinson
Mark Dickinson added the comment: On issue 2: I agree that this is strange behavior, and would be interested to see a patch. It's not 100% clear to me what the patched code should do, though. In particular, an example like: >>> randrange(10, step=5) that mixes positional and keyword argume

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-07-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: release27-maint r83145 release31-maint r83146 release26-maint r83147 -- status: open -> closed ___ Python tracker ___

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: A nitpick: "lol" is a very well-known acronym and "list of lists" is not the expansion that first comes to mind. -- nosy: +belopolsky ___ Python tracker ___

[issue9379] random.randrange behaviour problems

2010-07-25 Thread Łukasz Langa
New submission from Łukasz Langa : Two behaviour problems with random.randrange: 1. Method argument `start` behaves as `stop` if `stop` is not defined: == >>> from random import randrange >>> help(randrange) Help on method rand

[issue7447] Sum() doc and behavior mismatch

2010-07-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue9378] Make python -m pickle do something useful

2010-07-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +alexandre.vassalotti, mark.dickinson, pitrou ___ Python tracker ___ ___ Python-bugs-list ma

[issue9378] Make python -m pickle do something useful

2010-07-25 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Attached patch makes python -m pickle unpickle the first object from the pickle file and display it using pprint. Future enhancements may include printing the summary (object number, object type) of the multiobject pickles, option to control display

[issue1818] Add named tuple reader to CSV module

2010-07-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Re-opening because we ought to do something along these lines at some point. The DictReader and DictWriter are inadequate for preserving order and they are unnecessarily memory intensive (one dict per record). FWIW, the non-conforming field name problem

[issue9172] zipfile.extractall always raises an OSError after successfully unzipping all files

2010-07-25 Thread Teemu Rytkönen
Teemu Rytkönen added the comment: Hi! I encountered the same problem and I debugged it a bit.. I think it not doing the entire unzipping again, but the problem is that the winzip packaged zip actually contains all file and directory entries and it fails trying to create already existing direct

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-07-25 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file18196/try-surrogateescape-first.diff ___ Python tracker ___ ___ Python-bugs-li

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-07-25 Thread David Watson
New submission from David Watson : The functions in the socket module which return host/domain names, such as gethostbyaddr() and getnameinfo(), are wrappers around byte-oriented interfaces but return Unicode strings in 3.x, and have not been updated to deal with undecodable byte sequences in the

[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2010-07-25 Thread David Watson
David Watson added the comment: You're having a bad day at the office :) Just use "patch -p1". -- ___ Python tracker ___ ___ Python-b

[issue8733] list type and UserList do not call super in __init__ and therefore, they cannot be parents in a multiple inheritence scheme

2010-07-25 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Eli, test_trace_module.py is a good start and I would like to commit it soon. I have a few nitpicks and a suggestion. 1. pprint module is not used in the tests so it should not be imported. 2. It is better to do run_unittest(__name__) in test_main() th

[issue9315] The trace module lacks unit tests

2010-07-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Lib/test/test_trace.py is now moved to Lib/test/test_sys_settrace.py. 3.2: r83140 r83141 3.1: r83143 2.7: r83142 -- ___ Python tracker __

[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

2010-07-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue7637] Improve 19.5. xml.dom.minidom doc

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Items 1) and 3) have been committed, only 2) needs to be addressed. -- assignee: georg.brandl -> d...@python nosy: +BreamoreBoy, d...@python ___ Python tracker _

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: This issue will not move unless somebody provides a unit test for it. -- nosy: +BreamoreBoy stage: -> unit test needed type: crash -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python trac

[issue6655] etree iterative find[text]

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: @Digitalxero: could you provide an updated unit test file please. -- nosy: +BreamoreBoy stage: -> unit test needed versions: -Python 2.7 ___ Python tracker ___

[issue1773632] Remove references to _xmlrpclib from xmlrpclib.py

2010-07-25 Thread Alan McIntyre
Alan McIntyre added the comment: Both 2.6 and 2.7 are in the maintenance-only stage at this point, aren't they? I personally don't think this important enough to worry about for 2.x. -- ___ Python tracker

[issue1495229] W3C <-> Python DOM type mapping docs need updating

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Nobody has objected to Terry Reedy's recommendations so can the docs be updated please. -- assignee: loewis -> d...@python nosy: +BreamoreBoy, d...@python ___ Python tracker ___

[issue1739648] zipfile.testzip() using progressive file reads

2010-07-25 Thread Alan McIntyre
Alan McIntyre added the comment: Ok, I'll see if I can update that in the next week or so. -- ___ Python tracker ___ ___ Python-bug

[issue7139] ElementTree: Incorrect serialization of end-of-line characters in attribute values

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as a duplicate of #5752 which has patches attached. -- nosy: +BreamoreBoy resolution: -> duplicate status: open -> closed versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker

[issue777884] minidom.py -- TypeError: object doesn't support slice assig

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: This is still an issue with all Python versions, is there anybody who could take this on please? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue6098] xml.dom.minidom incorrectly claims DOM Level 3 conformance

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone with minidom experience please comment on this, thanks. -- nosy: +BreamoreBoy versions: +Python 3.1 ___ Python tracker ___

[issue1463043] test_minidom.py fails for Python-2.4.3 on SUSE 9.3

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed given that we're now at 2.7 and py3k and openSUSE is at 11.3? -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker

[issue9376] Refer to gnuwin32 diff util on development FAQ

2010-07-25 Thread Mark Lawrence
New submission from Mark Lawrence : Section 6.1 How to make a patch? currently reads in part (a Windows version is available as part of the cygwin tools). I suggest that this is reworded to read (Windows versions are available as part of the cygwin tools or as part of the gnuwin32 project) I

[issue4926] putenv() accepts names containing '=', return value of unsetenv() not checked

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: @David: I couldn't apply the patches directly with tortoisesvn cos of the git format so tried to do them manually but failed. E.g. in test_os I couldn't find PYTHONTESTVAROS to insert the two new lines after and in test_posix couldn't find PYTHONTESTVARB. Am

[issue1739648] zipfile.testzip() using progressive file reads

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Tried the patch against 2.7 and got "RuntimeError: Attempt to read ZIP archive that was already closed" for TestsWithSourceFile test_deflated and test_stored. The patch needs updating for py3k. -- nosy: +BreamoreBoy stage: unit test needed -> patch re

[issue1767933] Badly formed XML using etree and utf-16

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: @Richard: Could you provide a test case for this, or do you consider it beyond your Python capabilities allowing for your comments on msg75875? -- nosy: +BreamoreBoy ___ Python tracker

[issue648658] xmlrpc can't do proxied HTTP

2010-07-25 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: effbot -> orsenthil nosy: +orsenthil -effbot ___ Python tracker ___ ___ Python-bugs-list mail

[issue2864] etree: Add XPath documentation

2010-07-25 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: effbot -> d...@python nosy: -effbot ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1773632] Remove references to _xmlrpclib from xmlrpclib.py

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: This has already been done for py3k. Is it worth doing for 2.6 or 2.7? -- nosy: +BreamoreBoy versions: +Python 2.7 ___ Python tracker ___ ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-25 Thread Alex Willmer
Alex Willmer added the comment: On 25 July 2010 03:46, Matthew Barnett wrote: > issue2636-20100725.zip is a new version of the regex module. This is now packaged and uploaded to PyPI http://pypi.python.org/pypi/regex/0.1.20100725 -- ___ Pyt

[issue2651] Strings passed to KeyError do not round trip

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: @Łukasz: please provide an updated patch. -- nosy: +BreamoreBoy stage: -> needs patch ___ Python tracker ___ ___

[issue7519] ConfigParser can't read files with BOM markers

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as the main BOM issue is addressed on #7651 and a solution to the OP's problem is given in msg97335. -- nosy: +BreamoreBoy resolution: -> duplicate status: open -> closed superseder: -> Python3: guess text file charset using the BOM _

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2010-07-25 Thread Mark Smith
Changes by Mark Smith : Removed file: http://bugs.python.org/file18179/7635.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue7635] 19.6 xml.dom.pulldom doc: stub?

2010-07-25 Thread Mark Smith
Mark Smith added the comment: Terry, thanks for the feedback! I have added a patch, replacing the previous one, which deals with your points 1 and 3 in the following ways: 1. I have used (an edited form of) your synopsis - I've removed the details of exactly what is returned from the iterato

[issue2204] document ConfigParser behaviour when a file has same section multiple times

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: @Łukasz: could you provide a patch that clarifies the default behaviour. -- assignee: georg.brandl -> d...@python nosy: +BreamoreBoy, d...@python stage: unit test needed -> needs patch ___ Python tracker

[issue8888] Promote SafeConfigParser and warn about ConfigParser

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as duplicate of #6517. -- nosy: +BreamoreBoy resolution: -> duplicate status: open -> closed ___ Python tracker ___ _

[issue3532] bytes.tohex method

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg110681. -- status: pending -> closed ___ Python tracker ___ ___ Python-b

[issue2796] Build issues in DragonFly BSD

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg97413 or msg110632. -- status: pending -> closed ___ Python tracker ___

[issue1818] Add named tuple reader to CSV module

2010-07-25 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg110598. -- status: pending -> closed ___ Python tracker ___ ___ Python-b

[issue7303] pkgutil lacks documentation for useful functions

2010-07-25 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

2010-07-25 Thread Stefan Behnel
Changes by Stefan Behnel : -- nosy: +effbot, flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

2010-07-25 Thread Stefan Behnel
Stefan Behnel added the comment: The parser actually starts with this code: def iterfind(elem, path, namespaces=None): # compile selector pattern if path[-1:] == "/": path = path + "*" # implicit all (FIXME: keep this?) IMHO, the 'FIXME' is worth revisiting. --

[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

2010-07-25 Thread Stefan Behnel
Changes by Stefan Behnel : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9375] ElementPath parser in ElementTree 1.3 does not reject "element//" as invalid

2010-07-25 Thread Stefan Behnel
New submission from Stefan Behnel : Subject says it all: Python 2.7 (r27:82500, Jul 5 2010, 13:37:06) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import xml.etree.ElementTree as ET >>> el = ET.Element('hui') >>> el.findall('section//') [] -