[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: Library (Lib)
messages: 85989
nosy: benjamin.peterson, pitrou
priority: normal
severity: normal
stage: test needed
status: open
title: add file name to py3k IO objects repr()
type: feature request
versions: Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:10,199] ERROR:web-services:[21]: data =
data.replace("&", "&").replace("<", "<")
[2009-04-15 17:53:10,199] ERROR:web-services:[22]: AttributeError:
'NoneType' object has no attribute 'replace'

_write_data dunction should be something like this
def _write_data(writer, data):
"Writes datachars to writer."
if data:
data = data.replace("&", "&").replace("<", "<")
data = data.replace("\"", """).replace(">", ">")
writer.write(data)

--
components: XML
messages: 85990
nosy: hda
severity: normal
status: open
title: AttributeError: 'NoneType' object has no attribute 'replace'
type: crash
versions: Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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() works as expected (it prints 1), but the
second function ends with an UnboundLocalError, which says that the
"print a" statement inside inner() function references a variable before
assignment. Somehow, the interpreter gets to this conclusion by looking
at the next statement (a = 2) and forgets the already present variable a
from outer function.

This was observed with python 2.5.4 and older 2.5.2. Other releases were
not inspected.

Best regards,
Vid

--
messages: 85992
nosy: vpodpecan
severity: normal
status: open
title: scope resolving error
type: behavior
versions: Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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__ not 
called by 'float' on classes derived from str
type:  -> behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
Added file: http://bugs.python.org/file13690/issue5759-trunk-test.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Python has been
built with.

Therefore, the choice of compiler affects not only Win32 developers
working on the interpreter itself, but also developing and porting C/C++
based extensions.

As of now, Microsoft has released its Visual C++ compiler in various
versions, some free of cost (Express), some expensive (Studio). Express
versions change every year, while Studio versions change every two years. 

Express versions supersede each other, so once a new version is
available, the older version is virtually impossible to get.

Python binary releases for Win32 use the Visual Studio 2005 compiler,
which is not freely available, but must be bought. 

Right now, it's impossible to build an extension using distutils without
hacking the VC builder a bit. VCExpress uses a slightly different
registry layout for various settings, which causes the builder to fail.

It takes considerable effort to keep Python/Win32 setup tools compatible
for VC, and all this is done to support the native compiler
sufficiently, a goal that appears to me more and more as an aesthetic
choice rather than a practical one.

A developer wishing to deploy Win32 binaries for his extensions is
currently forced to go through above hurdles or eventually buy a
Microsoft product to make the pain go away.

Cross-building extensions for Python on Unix using Wine is impossible
because no supported version of either VS or VC++ works.

I call this a terrible situation.

Cygwin is the second alternative.

Building Python using Cygwin makes Python and all its extensions
dependent on cygwin.dll, plus it's also, as far as I gather, imitating a
Unix environment for runtimes, rather than a native Win32 one, which may
cripple an applications abilities to adapt to its target platform.

>From my perspective, MSYS does deliver. Resulting binaries depend only
on available libraries coming with the OS. MSYS is practically available
to everybody. MSYS also supports cross compiling, so Python binaries
could even be built without Wine. On Windows, Eclipse CDT supports MSYS
as a native backend.

I would actually very much prefer if the default distribution of Python
for Win32 were to use MSYS, but I understand that developers working on
the Win32 platform prefer to use their native tools.

It's also unnecessary, as you can gather from the following:

I mainly develop games and multimedia applications on the Linux
platform, for convenience reasons. Using MSYS, I could easily deploy a
minimal custom-built version of Python with required extensions in one
package, without any dependency on simulated unix enviroments. 

I could cross-build these apps on Linux, and test them for Win32 within
Wine. If they work in Wine, they will definitely work on Windows.

I would need neither a VC/VS nor a Windows license to support it.

I call that a wonderful situation.


LKCL: although you are clearly a mad scientist, please do
continue your work. Do not get frustrated by ignorant responses and keep
calm. You do pioneering, disruptive work, and such work will always be
misunderstood and criticized because it requires a throughout
understanding of future possibilities.

Nevertheless, I see the feature you are trying to implement as trivial
and self-explaining, something that should have been part of Python for
a long time. People like me never took the time to file a ticket or make
a comment though. We are busy bastards, I apologize.

--
nosy: +lritter

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 block are treated as references to the 
current block. This can lead to errors when a name is used within a 
block before it is bound. This rule is subtle. Python lacks declarations 
and allows name binding operations to occur anywhere within a code 
block. The local variables of a code block can be determined by scanning 
the entire text of the block for name binding operations."""

--
nosy: +marketdickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
versions: Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, 2.6, 2.5 and current 2.x trunk all fail on Windows; the original 
reporter was likely using Linux. Some versions may require a larger 
constant instead of 3.

2.4 isn't affected; it raises a "TypeError: 'tuple' object is not 
callable" as expected, even for extremely long sequences.

Alberto Bertogli said: inside eval, symtable_visit_expr() (Python/
symtable.c) is called recursively (thru the VISIT/VISIT_SEQ macros), 
eventually taking all stack space.

--
components: Interpreter Core
messages: 86006
nosy: gagenellina
severity: normal
status: open
title: stack overflow evaluating eval("()" * 3)
type: crash
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0

___
Python tracker 
<http://bugs.python.org/issue5765>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 found.

Full output (building with MacPorts, hence the sometimes-funky paths) 
attached as a text file.

--
components: Installation, Macintosh
files: python262_error.txt
messages: 86009
nosy: blb
severity: normal
status: open
title: Mac/scripts/BuildApplet.py reset of sys.executable during install can 
cause it to use wrong modules
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file13695/python262_error.txt

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, in ?
  File "/usr/lib/python2.4/xmlrpclib.py", line 1079, in loads
p.feed(data)
  File "/usr/lib/python2.4/xmlrpclib.py", line 527, in feed
self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2,
column 0

However, as of the most recent Python 2.5 and Python 2.6 point releases,
this is no longer the case:

exar...@bigdog24:~/_trial_temp$ python2.5 -c 'from xmlrpclib import
loads; loads("\x00\n\n \n  \n  \n
\n\n")'
exar...@bigdog24:~/_trial_temp$ python2.6 -c 'from xmlrpclib import
loads; loads("\x00\n\n \n  \n  \n
\n\n")'
exar...@bigdog24:~/_trial_temp$

Previous versions of Python 2.5 and Python 2.6 did not exhibit this
misbehavior.

--
components: Library (Lib)
messages: 86010
nosy: exarkun
severity: normal
status: open
title: xmlrpclib loads invalid documents
type: behavior
versions: Python 2.5, Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 documentation
>> updates.  The feature and names are fine too.
>
> Where do the docs go?

Doc/library/unittest.rst

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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",
line 74, in execute_cr
[2009-04-16 12:00:03,487] ERROR:web-services:[03]: action_res =
action(self, cr, uid, data, context)
[2009-04-16 12:00:03,488] ERROR:web-services:[04]:   File
"/home/hda/tiny/bzrtrunk/latest_released/addons/base_module_record/wizard/base_module_save.py",
line 113, in _create_module
[2009-04-16 12:00:03,488] ERROR:web-services:[05]: res_xml =
mod.generate_xml(cr, uid)
[2009-04-16 12:00:03,488] ERROR:web-services:[06]:   File
"/home/hda/tiny/bzrtrunk/latest_released/addons/base_module_record/base_module_record.py",
line 328, in generate_xml
[2009-04-16 12:00:03,488] ERROR:web-services:[07]: #
vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
[2009-04-16 12:00:03,488] ERROR:web-services:[08]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
47, in toxml
[2009-04-16 12:00:03,488] ERROR:web-services:[09]: return
self.toprettyxml("", "", encoding)
[2009-04-16 12:00:03,489] ERROR:web-services:[10]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
59, in toprettyxml
[2009-04-16 12:00:03,489] ERROR:web-services:[11]:
self.writexml(writer, "", indent, newl, encoding)
[2009-04-16 12:00:03,489] ERROR:web-services:[12]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
1746, in writexml
[2009-04-16 12:00:03,489] ERROR:web-services:[13]:
node.writexml(writer, indent, addindent, newl)
[2009-04-16 12:00:03,489] ERROR:web-services:[14]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
821, in writexml
[2009-04-16 12:00:03,490] ERROR:web-services:[15]:
node.writexml(writer,indent+addindent,addindent,newl)
[2009-04-16 12:00:03,490] ERROR:web-services:[16]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
821, in writexml
[2009-04-16 12:00:03,490] ERROR:web-services:[17]:
node.writexml(writer,indent+addindent,addindent,newl)
[2009-04-16 12:00:03,490] ERROR:web-services:[18]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
816, in writexml
[2009-04-16 12:00:03,491] ERROR:web-services:[19]:
_write_data(writer, attrs[a_name].value)
[2009-04-16 12:00:03,491] ERROR:web-services:[20]:   File
"/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line
304, in _write_data
[2009-04-16 12:00:03,491] ERROR:web-services:[21]: data =
data.replace("&", "&").replace("<", "<")
[2009-04-16 12:00:03,491] ERROR:web-services:[22]: AttributeError:
'NoneType' object has no attribute 'replace'

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: logging_init.diff
keywords: patch
messages: 86015
nosy: naoki
severity: normal
status: open
title: logging don't encode Unicode message correctly.
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file13697/logging_init.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. there is one 
extra directory now "python-docs-html":

old:
file:///Library/Frameworks/Python.framework/Versions/2.6/Resources/Engli
sh.lproj/Documentation/index.html

new:
file:///Library/Frameworks/Python.framework/Versions/2.6/Resources/Engli
sh.lproj/Documentation/python-docs-html/index.html

Besides breaking users' bookmarks, it also causes IDLE to not find the 
on-disk documentation and forces doc web page loads from python.org.

--
components: Build, Macintosh
messages: 86016
nosy: nad, ronaldoussoren
severity: normal
status: open
title: OS X Installer: new make of documentation installs at wrong location
versions: Python 2.6, Python 2.7, Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com