[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2011-11-10 Thread Stefan Behnel
Stefan Behnel added the comment: Florent, thanks for the notification. Nekmo, note that you are misusing this feature. The _namespace_map is meant to provide "well known namespace prefixes" only, so that common namespaces end up using the "expected" prefix. This is also the reason why it maps

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: Has it been reported? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 05164831011e by Antoine Pitrou in branch 'default': Avoid a glibc bug in test_time (issue #13309) http://hg.python.org/cpython/rev/05164831011e -- ___ Python tracker

[issue13382] IDLE menu scroll bar does not scroll with OS X 10.4 Apple Tcl/Tk

2011-11-10 Thread Ned Deily
Ned Deily added the comment: I can reproduce that using a Python that uses the Apple-suppled Tcl 8.4 framework in OS X 10.4.11. That version of Tcl 8.4 is quite old. If you are using a Python 2.7.x from a python.org installer, you may be able to use a newer version of Tcl by installing a cur

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2011-11-10 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: This patch proposes an implementation of the feature. >>> from xml.etree import ElementTree as ET >>> ET.tostring(ET.Element('{http://localhost/house}iq'), encoding="unicode", >>> namespaces={'http://localhost/house': 'home'}) 'http://localhost/house"; />'

[issue13382] completions in IDLE

2011-11-10 Thread Bill Meng
New submission from Bill Meng : I'm running Python 2.7 on a Mac OS 10.4 When I select Edit/completions from the menu, only the first 10 appear with a slider to the right. But the slider does not move to see the rest of the list. -- components: IDLE messages: 147414 nosy: cpat priority:

[issue13309] test_time fails: time data 'LMT' does not match format '%Z'

2011-11-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: It is definitely a glibc issue. Here's a C snippet to reproduce: """ #include #include int main() { time_t t; struct tm tmp; char str[200]; t = time(NULL); tmp = *gmtime(&t); tmp.tm_gmtoff = 0; tmp.tm_zone = NULL; strftime(s

[issue13149] optimization for append-only StringIO

2011-11-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed an improved version (which also optimizes seek(0); read()). -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue7777] Support needed for AF_RDS family

2011-11-10 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue13303] Sporadic importlib failures: FileNotFoundError on os.rename()

2011-11-10 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue13149] optimization for append-only StringIO

2011-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8d9a869db675 by Antoine Pitrou in branch 'default': Issue #13149: Speed up append-only StringIO objects. http://hg.python.org/cpython/rev/8d9a869db675 -- nosy: +python-dev ___ Python tracker

[issue2979] use_builtin_types in xmlrpc.server

2011-11-10 Thread Florent Xicluna
Changes by Florent Xicluna : -- components: +XML title: use_builtin_types in SimpleXMLRPCServer -> use_builtin_types in xmlrpc.server ___ Python tracker ___ _

[issue2979] use_builtin_types in SimpleXMLRPCServer

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: This is the proposed patch which could be applied after issue #13297 is solved. -- title: use_datetime in SimpleXMLRPCServer -> use_builtin_types in SimpleXMLRPCServer Added file: http://bugs.python.org/file23654/issue2979_xmlrpc_server.diff

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Do you mean self->raw_pos should give the same answer as > self.raw.tell()? (But that seems to be the definition of > self->abs_pos.) Or is it the buffer offset which corresponds to > self.raw.tell()? The latter. -- ___

[issue13303] Sporadic importlib failures: FileNotFoundError on os.rename()

2011-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset a9f10c3eff69 by Charles-François Natali in branch 'default': Issue #13303: Fix bytecode file default permission. http://hg.python.org/cpython/rev/a9f10c3eff69 -- ___ Python tracker

[issue7777] Support needed for AF_RDS family

2011-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2293ca739223 by Charles-François Natali in branch 'default': Issue #: socket: Add Reliable Datagram Sockets (PF_RDS) support. http://hg.python.org/cpython/rev/2293ca739223 -- nosy: +python-dev ___ Py

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: This patch v3 implements the proposal of use_builtin_types flag. In this case the use_datetime flag becomes obsolete. Please comment. -- Added file: http://bugs.python.org/file23653/issue13297_xmlrpc_bytes_v3.diff

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-10 Thread sbt
sbt added the comment: > Ouch. Were they only non-blocking codepaths? Yes. > raw_pos is the position which the underlying raw stream is currently > at. It only needs to be modified when a successful write(), read() > or seek() is done on the raw stream. Do you mean self->raw_pos should give

[issue11682] PEP 380 reference implementation for 3.3

2011-11-10 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: Nick Coghlan wrote: > I don't want to completely rearrange the yield related sections of the > language reference as part of incorporating this PEP. If you're happy > to submit a new pull request with a minimalist change just documenting > the new features, that

[issue11682] PEP 380 reference implementation for 3.3

2011-11-10 Thread Zbyszek Szmek
Changes by Zbyszek Szmek : Removed file: http://bugs.python.org/file23217/0002.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11937] Interix support

2011-11-10 Thread R. David Murray
R. David Murray added the comment: Just a note that buildbot does work behind a firewall (mine are set up that way). The client calls out to the master. A really restrictive corporate firewall may need outbound holes punched, but there are no inbound connections to the client. -- no

[issue11937] Interix support

2011-11-10 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13381] compile fails to compile a ast module object giving a incomprehensible error

2011-11-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed recently. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___

[issue13381] compile fails to compile a ast module object giving a incomprehensible error

2011-11-10 Thread Ronny Pfannschmidt
Changes by Ronny Pfannschmidt : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue13381] compile fails to compile a ast module object giving a incomprehensible error

2011-11-10 Thread Ronny Pfannschmidt
New submission from Ronny Pfannschmidt : $ python3.2 -c 'import ast;compile(ast.parse(open("testing/test_keymap.py").read()), "test", "exec")' Traceback (most recent call last): File "", line 1, in TypeError: AST string must be of type str note that just compiling the source works fine ---

[issue2979] use_datetime in SimpleXMLRPCServer

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: See issue #13297 for a similar case with bytes. Should we implement a "use_builtin_types" flag which supersedes "use_datetime"? -- dependencies: +xmlrpc.client could accept bytes for input and output ___ Python tra

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-10 Thread Florent Xicluna
Florent Xicluna added the comment: Maybe a flag "use_builtin_types" is preferred? It should implies both `bytes` and `datetime.datetime` are used for presenting data received. I don't see a use case where we would like to have `bytes` for binary data but keep `xmlrpc.client.DateTime` for date