[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
Changes by Naoki INADA : Added file: http://bugs.python.org/file13698/logging_init.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
Changes by Naoki INADA : Removed file: http://bugs.python.org/file13697/logging_init.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5769] OS X Installer: new make of documentation installs at wrong location

2009-04-15 Thread Ned Deily
New submission from Ned Deily : r70727 and related merges changed the OS X build-installer script to build documentation from scratch using sphinx rather than the previous error-prone downloading. However, it appears the documentation is ending up at a different location in the framework, i.e

[issue5768] logging don't encode Unicode message correctly.

2009-04-15 Thread Naoki INADA
New submission from Naoki INADA : >>> logging.error(u'あ') ERROR:root:縺・ >>> sys.stderr.encoding 'cp932' This bug is introduced by following commit. http://svn.python.org/view/python/branches/release26- maint/Lib/logging/__init__.py?r1=68830&r2=69448 -- components: Library (Lib) files: l

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

2009-04-15 Thread Husen daudi
Husen daudi added the comment: Here is the full traceback... [2009-04-16 12:00:03,487] ERROR:web-services:[01]: Exception in call: Traceback (most recent call last): [2009-04-16 12:00:03,487] ERROR:web-services:[02]: File "/home/hda/tiny/bzrtrunk/latest_released/server/bin/wizard/__init__.py",

[issue5434] datetime.monthdelta

2009-04-15 Thread Jess Austin
Changes by Jess Austin : Removed file: http://bugs.python.org/file13309/monthdelta.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5434] datetime.monthdelta

2009-04-15 Thread Jess Austin
Changes by Jess Austin : Added file: http://bugs.python.org/file13696/monthdelta2.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2009-04-15 Thread Husen daudi
Husen daudi added the comment: Yes I am using xml.dom.minidom doc.toprettyxml(indent="\t").encode('utf-8') -- ___ Python tracker ___

[issue5665] Add more pickling tests

2009-04-15 Thread Collin Winter
Collin Winter added the comment: Committed as r71408 (trunk) and r71638 (py3k). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5748] Objects/bytesobject.c should include stringdefs.h, instead of defining its own macros

2009-04-15 Thread Victor Godoy Poluceno
Changes by Victor Godoy Poluceno : -- nosy: +victorpoluceno ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue5728] Support telling TestResult objects a test run has finished

2009-04-15 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 15, 2009, at 7:43 PM, Robert Collins wrote: > Robert Collins added the comment: > > On Wed, 2009-04-15 at 23:19 +, Barry A. Warsaw wrote: >> Barry A. Warsaw added the comment: >> >> The patch looks fine to me, except that it's missing documentatio

[issue5767] xmlrpclib loads invalid documents

2009-04-15 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : Prior versions of xmlrpclib.loads would raise an exception when passed malformed documents: exar...@bigdog24:~/_trial_temp$ python2.4 -c 'from xmlrpclib import loads; loads("\x00\n\n \n \n \n \n\n")' Traceback (most recent call last): File "", line 1

[issue5766] Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules

2009-04-15 Thread Bryan Blackburn
New submission from Bryan Blackburn : With Python 2.6.1 currently installed and attempting to install 2.6.2 into a DESTDIR location, and having a different configuration for the new one (2.6.1 built with default Unicode settings, 2.6.2 with UCS4), BuildApplet.py fails because of symbol not fou

[issue5765] stack overflow evaluating eval("()" * 30000)

2009-04-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is a pathological case. I suppose we have to add a recursion counter to the compiler struct. -- nosy: +benjamin.peterson priority: -> low ___ Python tracker __

[issue5728] Support telling TestResult objects a test run has finished

2009-04-15 Thread Robert Collins
Robert Collins added the comment: On Wed, 2009-04-15 at 23:19 +, Barry A. Warsaw wrote: > Barry A. Warsaw added the comment: > > The patch looks fine to me, except that it's missing documentation > updates. The feature and names are fine too. Where do the docs go? -Rob --

[issue5765] stack overflow evaluating eval("()" * 30000)

2009-04-15 Thread Gabriel Genellina
New submission from Gabriel Genellina : Originally reported by Juanjo Conti at PyAr: http://blog.gmane.org/gmane.org.user-groups.python.argentina/ day=20090415 Evaluating this expression causes a stack overflow, and the Python interpreter exits abnormally: eval("()" * 3) 3.0.1

[issue5728] Support telling TestResult objects a test run has finished

2009-04-15 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The patch looks fine to me, except that it's missing documentation updates. The feature and names are fine too. -- nosy: +barry ___ Python tracker ___

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

2009-04-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: fyi - I can't compile issue2636-patch-1.diff when applied to trunk (2.7) using gcc 4.0.3. many errors. -- ___ Python tracker ___ ___

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

2009-04-15 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue3440] Starting any program as a subprocess fails when subprocess.Popen has env argument

2009-04-15 Thread R. David Murray
R. David Murray added the comment: Doc patch applied in r71631. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the tests. Fixed in r71627. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue1521491] file.seek() influences write() when opened with a+ mode

2009-04-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I can't reproduce it with python2.6 on Vista. The newer C runtime (msvcr90.dll) probably corrected this. -- nosy: +amaury.forgeotdarc resolution: -> out of date status: pending -> closed ___ Python tracker <

[issue5761] add file name to py3k IO objects repr()

2009-04-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: What should we do about filenames of bytes? -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5676] shutils test fails on ZFS (on FUSE, on Linux)

2009-04-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 1. You should always compare functions with "is". 2. You should add a comment explaining why os.listdir is special cased. -- ___ Python tracker _

[issue3871] cross and native build of python for mingw32 with distutils

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file13694/python-trunk-20090416-MINGW.patch ___ Python tracker ___ ___ Python-bug

[issue3871] cross and native build of python for mingw32 with distutils

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue4953] cgi module cannot handle POST with multipart/form-data in 3.0

2009-04-15 Thread Timothy Farrell
Changes by Timothy Farrell : -- nosy: +tercero12 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue3871] cross and native build of python for mingw32 with distutils

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file13693/python-trunk-20090415-MINGW.patch ___ Python tracker <http://bugs.python.org/issue3871> ___ ___

[issue3754] minimal cross-compilation support for configure

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file12268/python-trunk-CROSS.patch ___ Python tracker ___ ___ Python-bugs-list

[issue3754] minimal cross-compilation support for configure

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Removed file: http://bugs.python.org/file11664/python-trunk-CROSS.patch ___ Python tracker ___ ___ Python-bugs-list

[issue3754] minimal cross-compilation support for configure

2009-04-15 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file13692/python-trunk-20090415-CROSS.patch ___ Python tracker <http://bugs.python.org/issue3754> ___ ___

[issue5764] 2.6.2 Python Manuals CHM file seems broken

2009-04-15 Thread Ding Xuan
New submission from Ding Xuan : e.g. "The Python Tutorial" menu cannot be unfolded, so as "Using Python", etc. -- assignee: georg.brandl components: Documentation messages: 85998 nosy: dx617, georg.brandl severity: normal status: open title: 2.6.2 Python Manuals CHM file seems broken ve

[issue5463] Remove deprecated features from struct module

2009-04-15 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: patch review -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5463] Remove deprecated features from struct module

2009-04-15 Thread Mark Dickinson
Mark Dickinson added the comment: The _struct.c part of the patch looks good. For the tests, there should be some tests to check that attempting to pack a float with an integer format gives either TypeError or struct.error. Thanks! -- ___ Python tr

[issue5763] scope resolving error

2009-04-15 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as invalid. -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Pyt

[issue5763] scope resolving error

2009-04-15 Thread Mark Dickinson
Mark Dickinson added the comment: This is not a bug, just a common gotcha. The rules are described at: http://docs.python.org/reference/executionmodel.html#naming Here's the relevant excerpt: """If a name binding operation occurs anywhere within a code block, all uses of the name within the

[issue4954] native build of python win32 using msys under wine.

2009-04-15 Thread Leonard Ritter
Leonard Ritter added the comment: Hello everyone, I'm seconding the wish to be able to build Python with MSYS on Win32, and I can give several technical reasons: It is my understanding that in order to build an extension for Python on Win32, one requires to use the same compiler as the one Pyt

[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file13691/issue5759-py3k-test.patch ___ Python tracker ___ ___ Python-bugs-list

[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread R. David Murray
R. David Murray added the comment: I have confirmed this in trunk and py3k, unit tests attached. -- components: +Interpreter Core -None keywords: +patch nosy: +r.david.murray priority: -> normal stage: -> needs patch title: Do not call __float__ to classes derived from str -> __float_

[issue5763] scope resolving error

2009-04-15 Thread vid podpecan
New submission from vid podpecan : Consider the following two functions: def outer(): a = 1 def inner(): print a inner() #end outer() def outer_BUG(): a = 1 def inner(): print a a = 2 inner() #end outer_BUG() The first function outer()

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

2009-04-15 Thread Robert Xiao
Robert Xiao added the comment: Have you tried this with xml.dom.minidom? -- nosy: +nneonneo ___ Python tracker ___ ___ Python-bugs-lis

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

2009-04-15 Thread Husen daudi
New submission from Husen daudi : [2009-04-15 17:53:10,198] ERROR:web-services:[19]: _write_data(writer, attrs[a_name].value) [2009-04-15 17:53:10,198] ERROR:web-services:[20]: File "/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line 305, in _write_data [2009-04-15 17:53

[issue5761] add file name to py3k IO objects repr()

2009-04-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : >>> f = open("py3k/__svn__/LICENSE") >>> f >>> f.buffer <_io.BufferedReader object at 0x7f4b67569f68> >>> f.buffer.raw io.FileIO(3, 'rb') >>> f.name 'py3k/__svn__/LICENSE' It would probably be nice if f.name were reused for f's repr(). -- components

[issue5330] profile and cProfile do not report C functions called with keyword arguments

2009-04-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2009-04-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: There should be a try/finally in test_issue5099 to ensure that os.remove(fname) always gets called. Otherwise, looks good. -- nosy: +pitrou ___ Python tracker _

[issue5720] ctime: I don't think that word means what you think it means.

2009-04-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sounds like a good idea, perhaps you could launch a discussion on python-dev? -- nosy: +pitrou ___ Python tracker ___ __

[issue5726] ld_so_aix does exit successfully even in case of failure

2009-04-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks good to me. -- nosy: +pitrou priority: -> normal resolution: -> accepted stage: -> commit review versions: -Python 2.5 ___ Python tracker __

[issue5108] Invalid UTF-8 ("%s") length in PyUnicode_FromFormatV()

2009-04-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: -> critical stage: -> patch review type: -> crash ___ Python tracker ___ ___ Python-bugs-li

[issue5737] add Solaris errnos

2009-04-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +easy priority: -> normal stage: -> needs patch versions: +Python 2.7, Python 3.1 -Python 2.4, Python 3.0 ___ Python tracker ___ ___

[issue5463] Remove deprecated features from struct module

2009-04-15 Thread Andreas Schawo
Andreas Schawo added the comment: Hi, could you have a look at cleanup_float_coerce_patch.diff. -- ___ Python tracker ___ ___ Python-

[issue1353344] python.desktop

2009-04-15 Thread Alessio G. B.
Alessio G. B. added the comment: I have added the Italian translation. -- nosy: +agb Added file: http://bugs.python.org/file13689/python.desktop ___ Python tracker ___ ___