[issue6231] ElementInclude may drop text

2009-06-07 Thread Jeremy Thurgood
Changes by Jeremy Thurgood : -- nosy: +jerith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6230] ElementTree.Element and cElementTree.Element have slightly different repr

2009-06-07 Thread Jeremy Thurgood
Changes by Jeremy Thurgood : -- nosy: +jerith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Jeremy Thurgood
Changes by Jeremy Thurgood : -- nosy: +jerith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6237] Build errors when using LDFLAGS="-Wl,--no-undefined"

2009-06-07 Thread Funda Wang
New submission from Funda Wang : gcc -pthread -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -lstdc++ - Xlinker -export-dynamic -o python \ Modules/python.o \ -L. -lpython2.6 -lpthread -ldl -lutil -lm build/temp.linu

[issue6236] os.popen causes illegal seek on AIX in Python 3.1rc

2009-06-07 Thread nestor
New submission from nestor : Python 2.6.2 (r262:71600, Jun 4 2009, 16:07:26) [C] on aix5 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.popen('cat','w') Python 3.0.1 (r301:69556, Jun 4 2009, 16:07:22) [C] on aix5 Type "help", "copyright", "credit

[issue6235] \d missing from effects of re.ASCII flag

2009-06-07 Thread Mitchell Model
New submission from Mitchell Model : In the documentation of the re module the ASCII flag is described as "Make \w, \W, \b, \B, \s and \S perform ASCII-only matching instead of full Unicode matching." This should also include \d and \D. -- assignee: georg.brandl components: Documentation

[issue6136] Make logging configuration files easier to use

2009-06-07 Thread Vinay Sajip
Vinay Sajip added the comment: "If it was never intended for end users, then perhaps you could rename this request as "provide an end-user-friendly log configuration format" (that would live alongside the current one). It's hardly unusual that users should be able to troubleshoot systems themsel

[issue6192] add disable_nagle_algorithm to SocketServer.TCPServer

2009-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: This patch should be committed to py3k after 3.1 is released. -- assignee: -> krisvale status: closed -> open versions: +Python 3.2 -Python 2.7 ___ Python tracker

[issue6221] Windows buildbot failure in test_winreg

2009-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: r73273 seems to have done the trick. (Thanks Martin!) -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue6234] cgi.FieldStorage is broken when given POST data

2009-06-07 Thread Evan Fosmark
New submission from Evan Fosmark : Right now, it seems impossible to use cgi.FieldStorage in 3.0 if you're giving it environ['wsgi.input'] like so: post_data = cgi.FieldStorage( fp=environ["wsgi.input"], environ=environ, keep_blank_values=True ) It gives the

[issue6233] ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Simple possible patch uploaded This doesn't give the expected answer for the test above, but does work when starting from an XML file in utf-8 encoding. I still need to determine why this happens. -- keywords: +patch Added file: http://bugs.python.org/fil

[issue6233] ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding

2009-06-07 Thread Neil Muller
New submission from Neil Muller : In py3k, ElementTree no longer correctly converts characters to entities when they can't be represented in the requested output encoding. Python 2: >>> import xml.etree.ElementTree as ET >>> e = ET.XML("t\xe3t") >>> ET.tostring(e, 'ascii') "\ntãt" Python 3: >

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Previous upload of issue_2746 was corrupt. Fixed version uploaded. -- Added file: http://bugs.python.org/file14222/issue-2746.diff ___ Python tracker _

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Changes by Neil Muller : Removed file: http://bugs.python.org/file14213/issue-2746.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Changes by Neil Muller : Removed file: http://bugs.python.org/file14211/issue-2746.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Issue also effects p3k. Adapted patch attached. -- versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 Added file: http://bugs.python.org/file14221/issue-2746_py3k.diff ___ Python tracker

[issue2977] truncation of text in tables in Library Reference PDF

2009-06-07 Thread R. David Murray
R. David Murray added the comment: The (2.6) docs have changed enough that I can't find the tables at issue from your page numbers. Is this still a problem and if so can you please identify the tables rather than the page numbers? Thanks. -- nosy: +r.david.murray type: performance ->

[issue6231] ElementInclude may drop text

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Same issue affects python 3k. Modified patch (print statement needed changing) added -- Added file: http://bugs.python.org/file14220/ElementInclude_py3k.diff ___ Python tracker __

[issue6230] ElementTree.Element and cElementTree.Element have slightly different repr

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Same issue affects python 3k - the patch applies there cleanly as well. -- ___ Python tracker ___ ___ P

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7 with macports libintl

2009-06-07 Thread Brett Cannon
Changes by Brett Cannon : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7 with macports libintl

2009-06-07 Thread Brett Cannon
Brett Cannon added the comment: OK, committed by configure.in patch along with Ronald's Makefile.pre.in patch in r73274. Thanks to everyone who helped out with this. Building sucks and autoconf doesn't always help. -- resolution: -> fixed stage: needs patch -> committed/rejected _

[issue1184112] Missing trailing newline with comment raises SyntaxError

2009-06-07 Thread Pablo Torres Navarrete
Changes by Pablo Torres Navarrete : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1184112] Missing trailing newline with comment raises SyntaxError

2009-06-07 Thread Pablo Torres Navarrete
Pablo Torres Navarrete added the comment: Confirmed on versions 2.6.2, 3.0.1 and 3.1rc1. On the three of them, I tried this: >>> import parser >>> test = 'def foo():\n\tpass\n\n# comment' >>> parser.suite(test) Traceback (most recent call last): File "", line 1, in File "", line 4 #

[issue6136] Make logging configuration files easier to use

2009-06-07 Thread Geoffrey Bache
Geoffrey Bache added the comment: If it was never intended for end users, then perhaps you could rename this request as "provide an end-user-friendly log configuration format" (that would live alongside the current one). It's hardly unusual that users should be able to troubleshoot systems thems

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-06-07 Thread Frans
Frans added the comment: Hi Vinay, Thanks for your info. I have just shared my experience. I ran into a problem (apperently, there is one) and found a work-around that fits my needs. If I find the real fix, I will surely follow up on it. Regards, Frans 2009/6/7 Vinay Sajip > > Vinay Sajip

[issue6202] Obsolete default file encoding "mac-roman" on OS X, not influenced by locale env variables

2009-06-07 Thread Ned Deily
Ned Deily added the comment: (and committed to trunk in r73270 by Benjamin) -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2947] subprocess (Replacing popen) - add a warning / hint

2009-06-07 Thread R. David Murray
R. David Murray added the comment: Patch attached that adds an example that shows how to translate return code handling, loosely based on Helmut's example. I also turned the function references in the section titles into links because I think that would be very useful to someone wanting to do a

[issue6192] add disable_nagle_algorithm to SocketServer.TCPServer

2009-06-07 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Committed in revision 73272 -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __

[issue6136] Make logging configuration files easier to use

2009-06-07 Thread Vinay Sajip
Vinay Sajip added the comment: "Who said anything about not supporting users who want the hierarchy? I'm talking about making "qualname" optional, not removing it entirely!" Ok, I see - sorry for the misunderstanding on my part. "... these files need to be read and edited by non-coders

[issue6232] Improve test coverage of ElementTree and cElementTree

2009-06-07 Thread Simon Cross
Changes by Simon Cross : -- nosy: +hodgestar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6230] ElementTree.Element and cElementTree.Element have slightly different repr

2009-06-07 Thread Simon Cross
Changes by Simon Cross : -- nosy: +hodgestar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7 with macports libintl

2009-06-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached file libintl-framework-ronald.patch should do the trick. Could someone who is affected by this issue test this patch (and feel free to commit it if it works). I don't have libintl on my system and hence cannot test right now. -- Added f

[issue6232] Improve test coverage of ElementTree and cElementTree

2009-06-07 Thread Russell Cloran
Changes by Russell Cloran : -- nosy: +russell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6231] ElementInclude may drop text

2009-06-07 Thread Russell Cloran
Changes by Russell Cloran : -- nosy: +russell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6230] ElementTree.Element and cElementTree.Element have slightly different repr

2009-06-07 Thread Russell Cloran
Changes by Russell Cloran : -- nosy: +russell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Russell Cloran
Changes by Russell Cloran : -- nosy: +russell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue6202] Obsolete default file encoding "mac-roman" on OS X, not influenced by locale env variables

2009-06-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: The patch looks good, and tests pass on 10.5.7. I've committed this as r73268 -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue2922] "No windows home dir" doc error

2009-06-07 Thread R. David Murray
R. David Murray added the comment: Closing as 'works for me' since the OP hasn't responded with any counter argument to Martin's assertion and it's been open for more than a year. -- nosy: +r.david.murray priority: -> normal resolution: -> works for me stage: -> committed/rejected st

[issue5308] cannot marshal objects with more than 2**31 elements

2009-06-07 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: marketdickinson -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue1869] Builtin round function is sometimes inaccurate for floats

2009-06-07 Thread Mark Dickinson
Mark Dickinson added the comment: See also issue 6228. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6228] round() error

2009-06-07 Thread Mark Dickinson
Mark Dickinson added the comment: See also issue 1869 and the issues it links to for additional discussions about round. -- ___ Python tracker ___ __

[issue6232] Improve test coverage of ElementTree and cElementTree

2009-06-07 Thread Neil Muller
Neil Muller added the comment: This adds the same tests for cElementTree, disabling them in a few cases were the behaviour differs. (Tests include work from Russell Cloran, Jeremy Thurgood, Simon Cross, Adrianna Pinksa and Graham Poulter) -- Added file: http://bugs.python.org/file14216

[issue6232] Improve test coverage of ElementTree and cElementTree

2009-06-07 Thread Neil Muller
New submission from Neil Muller : The test coverage for ElementTree and cElementTree could be improved. The attached file adds several more tests for ElementTree (including a number from the ElementTree 1.2.7 pre-release). This excludes the tests suggested in: http://bugs.python.org/issue6230 h

[issue6231] ElementInclude may drop text

2009-06-07 Thread Neil Muller
New submission from Neil Muller : In some cases, ElementInclude will not include the tail from the current node. Test case and patch against trunk attached (from Simon Cross). -- components: Library (Lib) files: ElementInclude.diff keywords: patch messages: 89037 nosy: Neil Muller, effb

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Previous patch was missing two lines in the test case. Correct fix uploaded -- Added file: http://bugs.python.org/file14213/issue-2746.diff ___ Python tracker

[issue6230] ElementTree.Element and cElementTree.Element have slightly different repr

2009-06-07 Thread Neil Muller
New submission from Neil Muller : ElementTree and cElementTree give slightly different results for repr(Element): >>> import xml.etree.ElementTree as ET >>> import xml.etree.cElementTree as cET >>> repr(ET.ElementTree('tag')) '' >>> repr(cET.ElementTree('tag') "" The quoting around the tag name

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Changes by Neil Muller : -- nosy: +effbot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue6228] round() error

2009-06-07 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. This is fixed in Python 3.1 (except on a few unusual hardware/OS combinations): Python 3.1rc1+ (py3k:73252, Jun 6 2009, 10:35:36) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license"

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2009-06-07 Thread Neil Muller
Neil Muller added the comment: Patch which includes the given fix and adds a test case to cover this (test case from Russell Cloran) -- keywords: +patch nosy: +Neil Muller Added file: http://bugs.python.org/file14211/issue-2746.diff ___ Python tracke

[issue6229] Installation python on mac

2009-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please ask this question on a mailing list like comp.lang.python. -- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed ___ Python tracker _

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-06-07 Thread Vinay Sajip
Vinay Sajip added the comment: ConcurrentLogHandler is for multiple *processes* writing to the same file, not multiple threads in a single process. Python logging does not support multiple processes writing to the same file because there is no portable IPC locking across all platforms supported

[issue6229] Installation python on mac

2009-06-07 Thread eric
New submission from eric : Hello i wan't to install the python 3.0 on my mac. the python image, .dmg file, i download from this site, run the installation. After this, the framework doesn't installation in the folder /System/Library/Frameworks/Python.framework. How can i change the installation f

[issue6228] round() error

2009-06-07 Thread steve21
New submission from steve21 : I wish to round the float 697.04157958254996 to 10 decimal digits after the decimal point. $ python3.0 Python 3.0.1 (r301:69556, Jun 7 2009, 14:51:41) [GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2 Type "help", "copyright", "credits" or "license" for more informa

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-06-07 Thread Frans
Frans added the comment: I ran into the same problem with RotatingFileHandler from a multithreaded daemon under Ubuntu. I Googled around and found the ConcurrentLogHandler on pypi (http://pypi.python.org/pypi/ConcurrentLogHandler). It solved the problem. -- nosy: +Frans ___