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

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

(?flags) are still scoping by default... a new flag to activate that behavior 
would really by helpful  :)

--

___
Python tracker 

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



[issue9826] OrderedDict ref cycles break repr()

2010-09-11 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

Fixed in r84728 and r84729.
Will backport to 2.7 shortly.

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



[issue9815] test_tarfile sometimes ends with error "Cannot remove dir"

2010-09-11 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

I created separate small test case to reproduce, and I tried it on
Python2.7, I couldn't reproduce the issue. And tried it on Python3.1,
I couldn't there neither. (Sorry about that... I included 3.1 in
version box)

And exception might not be related. Because error still occurred
even if I removed "#" before exc_clear() in my attached script.

But if I removed "#" before gc.collect(), test case runs fine.

And I copied Python3.1's Lib/tarfile.py into Python3.2's Lib,
still error occurred. Maybe it's not problem of tarfile module
itself ?

--
versions:  -Python 3.1
Added file: http://bugs.python.org/file18855/test_tar_pipe_open_read_error.py

___
Python tracker 

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Thank you for the report.  Can you apply this change and paste the new, more 
useful output?

-self.assertTrue("__init__.pyc" in files)
+self.assertIn("__init__.pyc", files)

--

___
Python tracker 

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



[issue1538778] pyo's are not overwritten by different optimization levels

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +barry, eric.araujo

___
Python tracker 

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



[issue9825] OrderedDict ref cycles cause memory leak

2010-09-11 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

For 2.7, removed __del__ in r84725.
For 3.2, replaced __del__ with weakrefs in r84727.

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue9213] range purports to implement the Sequence ABC, but is missing index and count methods

2010-09-11 Thread Daniel Stutzbach

Daniel Stutzbach  added the comment:

Thanks, Georg, for prodding.  As a new committer, I have possibly been erring a 
little too far on the side of having my patches thoroughly reviewed before 
committing.

I'll commit the patch on Monday if no one raises objections (after re-testing, 
of course).

--
resolution:  -> accepted

___
Python tracker 

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



[issue4359] at runtime, distutils uses buildtime files

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

#9807 has been recently opened.

--

___
Python tracker 

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



[issue9750] sqlite3 iterdump fails on column with reserved name

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Thank you for the report and patch.  Some bug tracker tips:

1) It’s possible to replace a file, so that there is always one bug.py and one 
diff, which is easier for reviewers to understand than a long list of files 
(possibly all with the same name).  It’s also possible to remove obsolete files 
so that nobody loses time commenting on them.

2) Can you turn your bug reproducer into a patch for Lib/test/test_sqlite.py?

3) Please follow guidelines on http://www.python.org/dev/patches/ to make 
patches.

Regarding the code itself:

a) I don’t understand why you added quotes around names that seemed fine 
without them (for example in “SELECT name”).

b) I find the master line difficult to read: “q += ",".join(["'||quote(\"" + 
col.replace('"', '""') + "\")||'" for col in column_names])”.  You’re using 
backslashes since there are both single and double quotes, but I would use 
triple-quoted strings here.  I also find string formatting more readable than 
string concatenation: 'blah blah "{}" blah'.format(thing.replace('"', '""')).

c) Minor style thing: A generator expression works as fine as a list 
comprehension in str.join (that is, ",".join(i for i in source) == ";".join([i 
for i in source])).

Thanks again!

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9811] strftime strips '%' from unknown format codes on OS X

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Ah, I understand your first reply now.  Thanks.  Agreed on all your points.

--

___
Python tracker 

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



[issue9824] SimpleCookie should escape commas and semi-colons

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Thanks for forwarding this upstream.  A tip about Python versions: Bugs are 
fixed on the active branch, py3k (which will become 3.2), then backported to 
3.1 and 2.7.  Security fixes go into 2.5 and 2.6 too.  3.3 means that something 
won’t make it to 3.2 and is delayed.

--
nosy: +eric.araujo
versions:  -Python 2.5, Python 2.6, Python 3.3

___
Python tracker 

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



[issue9811] strftime strips '%' from unknown format codes on OS X

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

But if it is a bug, it is a bug in OS/X, not in Python.  Python could 
potentially fix it for python programs by providing our own strftime, but until 
someone does that the best we can do is a doc mention of this platform quirk.

--

___
Python tracker 

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



[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
resolution:  -> fixed
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



[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Nice, thanks!

--
resolution: fixed -> 
stage: committed/rejected -> patch review
status: closed -> open

___
Python tracker 

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



[issue9751] _PyInstance_Lookup() defeats its purpose

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

It’s not clear whether you want a doc fix or a behavior change.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9756] Crash with custom __getattribute__

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo
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



[issue9759] GzipFile object should raise ValueError on .read() after .close()

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Should this be fixed in 3.1 and 2.7 too?

--
nosy: +eric.araujo

___
Python tracker 

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



[issue6672] Add Mingw recognition to pyport.h to allow building extensions

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

A tip about versions: Bugs are fixed on the active branch, py3k (which will 
become 3.2), then backported to 3.1 and 2.7.  Security fixes go into 2.5 and 
2.6 too.

--
nosy: +brian.curtin, eric.araujo, jlt63, tim.golden

___
Python tracker 

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



[issue9728] Docs point to FAQ Section 3, but FAQs are not numbered

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

I tried to find the old FAQ in the Debian package for 2.5 but failed.  It looks 
like this require a fair bit of version control exploration.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9825] OrderedDict ref cycles cause memory leak

2010-09-11 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

Éric, I've got this one.  Thx.

--

___
Python tracker 

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



[issue9765] tcl-8 vs tcl8

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue9779] argparse.ArgumentParser not support unicode in print help

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Do the docs say this should be supported?  I’m a die-hard unicode user, but 
this treads the line between fix and feature, so if the docs don’t restrict 
help to str, this could be fixed, otherwise we’re out of luck for the 2.x 
series.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9806] no need to try loading posix extensions without SOABI

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue9810] bzip2 build sometimes fails (VS8.0)

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +brian.curtin, loewis, tim.golden

___
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)

2010-09-11 Thread Matthew Barnett

Matthew Barnett  added the comment:

issue2636-20100912.zip is a new version of the regex module.

More speedups. I've been comparing the speed against Perl wherever possible. In 
some cases Perl is lightning fast, probably because regex is built into the 
language and it doesn't have to parse method arguments (for some short regexes 
a large part of the processing time is spent in PyArg_ParseTupleAndKeywords!). 
In other cases, where it has to use Unicode codepoints outside the 8-bit range, 
or character properties such as \p{Alpha}, its performance is simply appalling! 
:-)

--
Added file: http://bugs.python.org/file18854/issue2636-20100912.zip

___
Python tracker 

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



[issue9811] strftime strips '%' from unknown format codes on OS X

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

I think supporting different specifiers is one thing, dropping the % character 
is another.  This is how I understand the bug report.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9814] subprocess isn't friendly to other Python implementations with different GCs

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

I think all developers agree that we should play nice with all VMs.  Do you 
want to make patches for these problems?

--
nosy: +astrand, eric.araujo
stage:  -> needs patch
versions: +Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

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



[issue9815] test_tarfile sometimes ends with error "Cannot remove dir"

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Just to be sure: Have you checked this bug doesn’t apply to 2.7?  Can you add a 
regression test?

--
nosy: +eric.araujo
title: test_tarfile sometimes ends with error "Cannot remoe dir" -> 
test_tarfile sometimes ends with error "Cannot remove dir"

___
Python tracker 

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



[issue9817] expat copyright/license file is missing

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

I don’t see a reason not to include this file.  Where would you like to put it? 
 In Modules/expat?

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9818] build files to build Lib/distutils/command/wininst-9.0* are missing

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo, loewis, tarek

___
Python tracker 

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



[issue9825] OrderedDict ref cycles cause memory leak

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

On #python-dev, Raymond, Amaury and Benjamin agreed that __del__ should be 
removed, with the rationale that this method should be used to release 
resources other than memory.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9318] Py3k compilation on old MSVC

2010-09-11 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Thank you, fixed in r84724(py3k).

--
assignee: ocean-city -> 
resolution: accepted -> fixed
stage: patch review -> committed/rejected
status: open -> closed
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



[issue9826] OrderedDict ref cycles break repr()

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo
stage:  -> needs patch

___
Python tracker 

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



[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Removing 2.6 which only gets security fixes now.

--
nosy: +eric.araujo
versions: +Python 3.1 -Python 2.6

___
Python tracker 

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



[issue1475523] gettext breaks on plural-forms header

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Could you follow the guidelines at http://www.python.org/dev/patches/ to create 
patches?  Thanks in advance.

I wonder why you call tearDown from setUp.  Doesn’t unittest do that for you 
when there is a failure in setUp?  Also, you could use a with statement instead 
of try/finally.

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Florent Xicluna

Florent Xicluna  added the comment:

According to issue #9210, "--with-wctype-functions" is pending removal.
Could you retry without this switch?

--
nosy: +amaury.forgeotdarc, lemburg
superseder:  -> remove --with-wctype-functions configure option

___
Python tracker 

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



[issue1467929] %-formatting and dicts

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue5729] Allows tabs for indenting JSON output

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue9054] pyexpat configured with "--with-system-expat" is incompatible with expat 2.0.1

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

Raising priority.

--
nosy: +georg.brandl
priority: normal -> critical

___
Python tracker 

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



[issue9318] Py3k compilation on old MSVC

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

I agree.

--
nosy: +georg.brandl
resolution:  -> accepted

___
Python tracker 

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



[issue9824] SimpleCookie should escape commas and semi-colons

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

I will have a look at this, it looks like it could at least use a few tests.

--
assignee:  -> georg.brandl
nosy: +georg.brandl
priority: normal -> critical

___
Python tracker 

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



[issue9213] range purports to implement the Sequence ABC, but is missing index and count methods

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

I'd like to have this in 3.2.

--
nosy: +georg.brandl
priority: high -> critical

___
Python tracker 

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



[issue5729] Allows tabs for indenting JSON output

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

That would be nice.

--
nosy: +georg.brandl

___
Python tracker 

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



[issue9210] remove --with-wctype-functions configure option

2010-09-11 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 

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



[issue9210] remove --with-wctype-functions configure option

2010-09-11 Thread Georg Brandl

Georg Brandl  added the comment:

I would say, go ahead and apply for 3.2.

--
nosy: +georg.brandl
priority: normal -> critical

___
Python tracker 

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



[issue9746] All sequence types support .index and .count

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

For the person wanting to make a patch: Beware that the abstract 
collections.Sequence.index method does not support the start and stop 
arguments, even though concrete methods may (list.index, tuple.index and 
str.index for example).

--
keywords: +easy
nosy: +eric.araujo

___
Python tracker 

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



[issue8373] socket: AF_UNIX socket paths not handled according to PEP 383

2010-09-11 Thread David Watson

David Watson  added the comment:

One of the tests got broken by the removal of sys.setfilesystemencoding().  
Replaced it.

--
Added file: 
http://bugs.python.org/file18853/af_unix-pep383-docs-tests-3.2-2.diff

___
Python tracker 

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



[issue9827] Clarify LogRecord documentation

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

Vinay, would you mind adding references to the commits (in the form “rNNN”) so 
that roundup makes a link?  Thanks in advance.  Also, is this not fixed in 3.1?

--
nosy: +eric.araujo

___
Python tracker 

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



[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

Committed in r84719 and r84720, backported to 2.7 in r84721 with the addition 
of a sentence admitting that sometimes you need a bare except to catch 
third-party exceptions that don't inherit from Exception.

--
resolution:  -> fixed
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



[issue9827] Clarify LogRecord documentation

2010-09-11 Thread Chris Leary

Chris Leary  added the comment:

Okay, neat! I put them in that order so that they would correspond to the 
parameters to ``LogRecord.__init__`` -- do we usually do alphabetical instead?

--

___
Python tracker 

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



[issue8372] socket: Buffer overrun while reading unterminated AF_UNIX addresses

2010-09-11 Thread David Watson

David Watson  added the comment:

I've updated the PEP 383 patches at issue #8373 with separate
versions for if the linux-pass-unterminated patch is applied or
not.

If it's not essential to have unit tests for the overrun issue,
I'd suggest applying just the return-unterminated and addrlen
patches and omitting linux-pass-unterminated, for now at least.
This will leave Linux no worse off than a typical BSD-derived
platform.

--

___
Python tracker 

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



[issue8373] socket: AF_UNIX socket paths not handled according to PEP 383

2010-09-11 Thread David Watson

Changes by David Watson :


Added file: 
http://bugs.python.org/file18852/af_unix-pep383-3.2-without-linux-unterminated.diff

___
Python tracker 

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



[issue8373] socket: AF_UNIX socket paths not handled according to PEP 383

2010-09-11 Thread David Watson

Changes by David Watson :


Added file: 
http://bugs.python.org/file18851/af_unix-pep383-3.2-with-linux-unterminated.diff

___
Python tracker 

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



[issue8373] socket: AF_UNIX socket paths not handled according to PEP 383

2010-09-11 Thread David Watson

David Watson  added the comment:

Updated the patches for Python 3.2 - these are now simpler as
they do not support bytearray arguments, as these are no longer
used for filenames (the existing code does not support bytearrays
either).

I've put the docs and tests in one patch, and made separate
patches for the code, one for if the linux-pass-unterminated
patch from issue #8372 is applied, and one for if it isn't.

One point I neglected to comment on before is the ability to
specify an address in the Linux abstract namespace as a
filesystem-encoded string prefixed with a null character.  This
may seem strange, but as well as simplifying the code, it does
support an actual use case, as on Linux systems the abstract
namespace is sometimes used to hold names based on real
filesystem paths such as "\x00/var/run/hald/dbus-XAbemUfDyQ", or
imaginary ones, such as "\x00/com/ubuntu/upstart".  In fact,
running "netstat" on my own system did not reveal any non-textual
abstract names in use (although they are of course allowed).

--
Added file: http://bugs.python.org/file18850/af_unix-pep383-docs-tests-3.2.diff

___
Python tracker 

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



[issue6114] distutils build_ext path comparison only based on strings

2010-09-11 Thread Éric Araujo

Éric Araujo  added the comment:

> The three ppl mentioned there found and fixed the problem, that's why.
The real question behind the joke was: Are you part of the same community? 
Where does this fix come from?

> But back to the issue: Can we use a switch or wrapper function to
> change the test method for this path dependent on the OS?
Symlink support detection is not trivial, it depends on platform, version and 
user rights (the docs say Windows Vista has a notion of “right to create a 
symlink”). See Lib/test/symlink_support.py for some scary code.  For our bug, I 
have hope that a simple “hasattr(os.path, 'samefile'” will be enough to decide 
whether to use this function or string comparison.

Do you want to add tests for this bug?

--

___
Python tracker 

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



[issue5729] Allows tabs for indenting JSON output

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

Is this merge going to happen before 3.2 beta?

--
nosy: +r.david.murray

___
Python tracker 

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



[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2010-09-11 Thread Garrett Cooper

Garrett Cooper  added the comment:

Do you prefer exhaustive tests, or just smoke tests? Honestly IMO, the OS 
should come prepackaged with tests to ensure that things function according to 
the requirements set forth in the manpage, so I would prefer the latter because 
the os methods in the posixmodule are nothing more than thin wrappers above the 
actual OS syscalls.

--

___
Python tracker 

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



[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2010-09-11 Thread Garrett Cooper

Changes by Garrett Cooper :


Added file: http://bugs.python.org/file18849/issue8746-py3k.patch

___
Python tracker 

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



[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2010-09-11 Thread Garrett Cooper

Garrett Cooper  added the comment:

I'll add new tests in the next submit for the bug, but here's the code to add 
the relevant symbols for common to *BSD and OSX, and the Snow Leopard+ and 
FreeBSD specific chflags of importance for python 2.7 and py3k.

--
Added file: http://bugs.python.org/file18848/issue8746-trunk.patch

___
Python tracker 

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



[issue9836] Refleak in PyUnicode_FormatV

2010-09-11 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
assignee:  -> haypo
nosy: +haypo

___
Python tracker 

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



[issue8589] test_warnings.CEnvironmentVariableTests.test_nonascii fails under an ascii terminal

2010-09-11 Thread Florent Xicluna

Florent Xicluna  added the comment:

Still happens with r84709 on PPC Tiger 3.x


==
FAIL: test_nonascii (test.test_warnings.CEnvironmentVariableTests)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_warnings.py", 
line 731, in test_nonascii
"['ignore:Deprecaci\xf3nWarning']".encode('utf-8'))
AssertionError: b"['ignore:Deprecaci\xc3\x83\xc2\xb3nWarning']" != 
b"['ignore:Deprecaci\xc3\xb3nWarning']"

==
FAIL: test_nonascii (test.test_warnings.PyEnvironmentVariableTests)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_warnings.py", 
line 731, in test_nonascii
"['ignore:Deprecaci\xf3nWarning']".encode('utf-8'))
AssertionError: b"['ignore:Deprecaci\xc3\x83\xc2\xb3nWarning']" != 
b"['ignore:Deprecaci\xc3\xb3nWarning']"

--
Ran 71 tests in 9.113s

FAILED (failures=2)



http://www.python.org/dev/buildbot/builders/PPC%20Tiger%203.x/builds/566

--
status: closed -> open

___
Python tracker 

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



[issue9834] PySequence_GetSlice() lacks a NULL check

2010-09-11 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

r84714

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



[issue8448] buildbot: test_subprocess failure (test_no_leaking, Broken pipe)

2010-09-11 Thread Florent Xicluna

Florent Xicluna  added the comment:

It still happens on the same builder, occasionally.

http://www.python.org/dev/buildbot/builders/sparc%20Debian%203.1/builds/24

--
components: +Tests
nosy: +flox
type:  -> behavior

___
Python tracker 

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



[issue9835] ZipFile unix external attributes incorrect for entry written with writestr

2010-09-11 Thread Thomas Sondergaard

Thomas Sondergaard  added the comment:

It does know that the entry is a regular file, and that is the bit of 
information that is missing in the unix external file attributes. Having said 
that you do have a point - perhaps it shouldn't record unix external file 
attributes at all, when the entry isn't picked up from the file system. What it 
does now is to create unix external file attributes that are invalid.

--

___
Python tracker 

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Florent Xicluna

Changes by Florent Xicluna :


--
assignee:  -> tarek
components: +Distutils, Macintosh
nosy: +eric.araujo, michael.foord, ned.deily, tarek

___
Python tracker 

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



[issue8445] buildbot: test_ttk_guionly failures (test_traversal, test_tab_identifiers, test_identify, test_heading_callback)

2010-09-11 Thread Florent Xicluna

Changes by Florent Xicluna :


--
assignee:  -> ronaldoussoren
components: +Macintosh
nosy: +cartman, flox, ronaldoussoren
stage:  -> needs patch
type:  -> behavior

___
Python tracker 

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



[issue9833] test_ttk_guionly fails on MacOSX 10.6

2010-09-11 Thread Florent Xicluna

Florent Xicluna  added the comment:

This is a duplicate of #8445

--
nosy: +flox
resolution:  -> duplicate
status: open -> closed
superseder:  -> buildbot: test_ttk_guionly failures (test_traversal, 
test_tab_identifiers, test_identify, test_heading_callback)

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Florent Xicluna

Changes by Florent Xicluna :


--
nosy: +michael.foord, ned.deily

___
Python tracker 

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



[issue9833] test_ttk_guionly fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configured with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

___
Python tracker 

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configure with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Btw I configured with;

./configure --with-wctype-functions --with-fpectl --with-wide-unicode 
--with-computed-gotos --enable-ipv6 --with-universal-archs=64-bit 
MACOSX_DEPLOYMENT_TARGET=10.6

--

___
Python tracker 

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



[issue9835] ZipFile unix external attributes incorrect for entry written with writestr

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

I'm not very familiar with zipfile, but my immediate reaction is, why should 
it?  It can't know that the file is a unix file, and indeed if the program is 
running on windows it may not be.

Perhaps instead there's something missing in the API to allow you to set the 
correct value when using writestr?

--
nosy: +r.david.murray

___
Python tracker 

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



[issue9830] Python 2.7 x64 not properly installed on Windows 7 (registry)

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

That bug (the link works fine for me) leads to this bug: Issue6792.  Closing 
this one as duplicate.

--
nosy: +r.david.murray
resolution:  -> duplicate
status: open -> closed
superseder:  -> Distutils-based installer does not detect 64bit versions of 
Python

___
Python tracker 

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



[issue9829] Unexpected Fraction.from_float() Behavior

2010-09-11 Thread R. David Murray

R. David Murray  added the comment:

Please read about floating point arithmetic in the tutorial:

   http://docs.python.org/tutorial/floatingpoint.html

Also observe that this works:

>>> Fraction(Decimal('1.23'))
Fraction(123, 100)

So yes, it is a limitation in how floating point is represented...in all 
languages and platforms that use binary floating point.

--
nosy: +r.david.murray
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



[issue9836] Refleak in PyUnicode_FormatV

2010-09-11 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto :


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



[issue9836] Refleak in PyUnicode_FormatV

2010-09-11 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto :


--
keywords: +patch
Added file: http://bugs.python.org/file18847/py3k_fix_PyUnicode_Format.patch

___
Python tracker 

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



[issue9836] Refleak in PyUnicode_FormatV

2010-09-11 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto :

I noticed following refleak.

http://mail.python.org/pipermail/python-checkins/2010-September/097438.html

py3k results for svn r84704 (hg cset 4ffcca0d1896)
--

test_unicode leaked [2, 2, 2] references, sum=6

This refleak seems to be introduced in r84704.
I hope attached patch will fix this.

--
components: Unicode
messages: 116095
nosy: ocean-city
priority: normal
severity: normal
status: open
title: Refleak in PyUnicode_FormatV
versions: Python 3.1, Python 3.2

___
Python tracker 

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



[issue9819] TESTFN_UNICODE and TESTFN_UNDECODABLE

2010-09-11 Thread STINNER Victor

STINNER Victor  added the comment:

> Thank you, your patch works.

Ok, patch commited to 3.2 as r84710. Thanks for your feedback.

--

___
Python tracker 

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



[issue9835] ZipFile unix external attributes incorrect for entry written with writestr

2010-09-11 Thread Thomas Sondergaard

New submission from Thomas Sondergaard :

For entries written with writestr ZipFile doesn't record the file type in the 
unix external attributes block. It should set it to "regular file" (S_IFREG).

The attached sample creates a zip file. If you inspect it with zipinfo -v, you 
will see that the unix file type is not correct for the entry stored with 
writestr.

[...@roadrunner ~]$ zipinfo -v test.zip |grep "Unix file attributes"
  Unix file attributes (000600 octal):  ?rw---
  Unix file attributes (100664 octal):  -rw-rw-r--

--
components: Library (Lib)
files: test.py
messages: 116093
nosy: Thomas.Sondergaard
priority: normal
severity: normal
status: open
title: ZipFile unix external attributes incorrect for entry written with 
writestr
type: behavior
Added file: http://bugs.python.org/file18846/test.py

___
Python tracker 

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



[issue9834] PySequence_GetSlice() lacks a NULL check

2010-09-11 Thread Stefan Behnel

New submission from Stefan Behnel :

PySequence_GetSlice() in Objects/abstract.c contains the following code:

mp = s->ob_type->tp_as_mapping;
if (mp->mp_subscript) {

This crashes when the type's "tp_as_mapping" is NULL. The obvious fix is to 
simply write

if (mp && mp->mp_subscript)

as basically everywhere else around that function. The problem seems to have 
occurred during a rewrite for Python 3, it's ok in the 2.x series.

--
components: Interpreter Core
messages: 116092
nosy: scoder
priority: normal
severity: normal
status: open
title: PySequence_GetSlice() lacks a NULL check
type: crash
versions: Python 3.1, Python 3.2

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

Ismail Donmez  added the comment:

Yes I did make distclean before building (to cleanup old build files).

--

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Florent Xicluna

Florent Xicluna  added the comment:

Did you run `make distclean` before?

--
assignee:  -> ronaldoussoren
components: +Macintosh
nosy: +flox, ronaldoussoren
stage:  -> unit test needed

___
Python tracker 

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



[issue9632] Remove sys.setfilesystemencoding()

2010-09-11 Thread Marc-Andre Lemburg

Marc-Andre Lemburg  added the comment:

STINNER Victor wrote:
> 
> STINNER Victor  added the comment:
> 
> I didn't proposed to add a new parameter to Py_InitializeEx() (which means 
> create a new function to not break the API), I just wrote that 
> _Py_SetFileSystemEncoding() doesn't work for your use case.

Yes, it would be a new function. I was under the impression that
you wanted to use this approach to resolve the problem of not being
able to set the encoding before any file objects get opened in
Python.

>> If you embed Python into another application, say as scripting
>> language for that application, that other application may have
>> completely different requirements for the user setup than Python
>> expects, e.g. for a Windows GUI application it's not feasible to
>> ask the user to change the environment variables via the registry
>> in order for Python to pick up the right encoding information.
> 
> Is this usecase really realistic? Except you, nobody asked for this feature.

That's more likely due to the fact that no one is embedding
Python 3.x into their apps yet...

>> The application will likely have its own way
>> of configuring things like file system or I/O stream encodings.
>> Think of e.g. GTK or Qt applications as example.
> 
> Qt uses the unicode API on Windows: nativeOpen() uses CreateFile() (in wide 
> chararacter mode), see src/corelib/io/qfsengine_win.cpp.
> 
> Gtk+ (glib) uses also the unicode API on Windows: g_fopen() uses _wfopen(), 
> see glib/gstdio.c.

That's not the point: the applications will have their own way
of configuring themselves and in GUI apps you most likely do not
use environment variable to setup your application. As a result,
the application has to tell the embedded Python how it was configured
in a way that overrides Python's encoding finding magic.

With your patch, the only way to do this is by having the embedded
application change the OS environment. That's not exactly a very
Pythonic way of doing interfacing.

> Python3 doesn't support your usecase currently (it doesn't work). If you 
> consider it important, please open a new issue.
>
> I commited my patch to 3.2 (r84687).

Since you are removing a function that has been around since 3.0,
please make sure that you add proper warnings to 3.1.

--

___
Python tracker 

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



[issue9827] Clarify LogRecord documentation

2010-09-11 Thread Vinay Sajip

Vinay Sajip  added the comment:

Chris, thanks for the patch. I applied it to release27-maint and py3k branches 
with only minor changes (listed attributes in alphabetical order, and expanded 
on getMessage a bit).

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



[issue6011] python doesn't build if prefix contains non-ascii characters

2010-09-11 Thread Baptiste Carvello

Baptiste Carvello  added the comment:

Hello,

I just tried your patch on latest svn (r84707), but I found out that the 
problem I reported can no more be reproduced. First, '_locale' seems now to be 
built earlier. Also, a fallback has been introduced in 
'locale.getpreferredencoding'. When '_locale' cannot be imported, the encoding 
is now parsed from the environment variables (cf 'Lib/locale.py', line 558 and 
below). It looks like 'locale.getpreferredencoding' is now no more likely to 
fail than 'sys.getfilesystemencoding'. So I'm not sure if a patch is still 
needed at all.

In case a patch still makes sense, pay attention that there now also is a 
'Lib/sysconfig.py', which also has a '_parse_makefile' function. This function 
uses a logic similar to the one in 'Lib/distutils/sysconfig.py', even thought 
it uses the builtin 'open', so it would need the same fix, if one is needed.

Cheers, B.

--

___
Python tracker 

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



[issue9833] test_ttk_guionly fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
ERROR: test_tab_identifiers (tkinter.test.test_ttk.test_widgets.NotebookTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 560, in test_tab_identifiers
self.assertEqual(self.nb.tab('@5,5'), self.nb.tab('current'))
  File "/Users/cartman/Sources/py3k/Lib/tkinter/ttk.py", line 922, in tab
return _val_or_dict(kw, self.tk.call, self._w, "tab", tab_id)
  File "/Users/cartman/Sources/py3k/Lib/tkinter/ttk.py", line 318, in 
_val_or_dict
res = func(*(args + options))
_tkinter.TclError: tab '@5,5' not found

==
FAIL: test_identify (tkinter.test.test_ttk.test_widgets.WidgetTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 27, in test_identify
self.assertEqual(self.widget.identify(5, 5), "label")
AssertionError: 'Button.button' != 'label'
- Button.button
+ label


==
FAIL: test_traversal (tkinter.test.test_ttk.test_widgets.NotebookTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/tkinter/test/test_ttk/test_widgets.py", 
line 721, in test_traversal
self.assertEqual(self.nb.select(), str(self.child1))
AssertionError: '.4320099472' != '.4320099600'
- .4320099472
? ^^^
+ .4320099600
? ^^^

--
components: Tests
messages: 116086
nosy: cartman
priority: normal
severity: normal
status: open
title: test_ttk_guionly fails on MacOSX 10.6
type: behavior
versions: Python 3.2

___
Python tracker 

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



[issue9832] test_unicodedata fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
FAIL: test_ucd_510 (test.test_unicodedata.UnicodeMiscTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_unicodedata.py", line 266, in 
test_ucd_510
self.assertTrue("\u1d79".upper()=='\ua77d')
AssertionError: False is not True

==
FAIL: test_method_checksum (test.test_unicodedata.UnicodeMethodsTest)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_unicodedata.py", line 67, in 
test_method_checksum
self.assertEqual(result, self.expectedchecksum)
AssertionError: '72252619bcc5d47da59734c1a2bc8f8dd34e14f8' != 
'4504dffd035baea02c5b9de82bebc3d65e0e0baf'
- 72252619bcc5d47da59734c1a2bc8f8dd34e14f8
+ 4504dffd035baea02c5b9de82bebc3d65e0e0baf

--
components: Tests
messages: 116085
nosy: cartman
priority: normal
severity: normal
status: open
title: test_unicodedata fails on MacOSX 10.6
type: behavior
versions: Python 3.2

___
Python tracker 

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



[issue9831] test_distutils fails on MacOSX 10.6

2010-09-11 Thread Ismail Donmez

New submission from Ismail Donmez :

Using py3k branch revision 84707, on Mac OSX 10.6, case-sensitive HFS+ 
filesystem.


==
FAIL: test_package_data (distutils.tests.test_build_py.BuildPyTestCase)
--
Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/distutils/tests/test_build_py.py", line 
56, in test_package_data
self.assertTrue("__init__.pyc" in files)
AssertionError: False is not True

--
components: Tests
messages: 116084
nosy: cartman
priority: normal
severity: normal
status: open
title: test_distutils fails on MacOSX 10.6
type: behavior
versions: Python 3.2

___
Python tracker 

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



[issue9830] Python 2.7 x64 not properly installed on Windows 7 (registry)

2010-09-11 Thread Marco Buccini

New submission from Marco Buccini :

I've just installed Python 2.7 x86-64, on my 64-bit Windows 7, then I've tried 
to install some packages - such as setuptools and pyside - but a message during 
the installation said something like "Cannot find Python2.7 in the windows 
registry".

So I've removed the 64-bit version of Python, then I've installed that one of 
32-bit and, as expected, it works fine.

I've also tried to search on google to see if it's a Python bug or not, but 
I've found only this unreachable link: http://bugs.python.org/setuptools/issue2

Do you confirm this bug?

--
components: Installation
messages: 116083
nosy: markon
priority: normal
severity: normal
status: open
title: Python 2.7 x64 not properly installed on Windows 7 (registry)
type: behavior
versions: Python 2.7

___
Python tracker 

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



[issue9819] TESTFN_UNICODE and TESTFN_UNDECODABLE

2010-09-11 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Thank you, your patch works.

E:\python-dev\py3k>py3k -m test.test_unicode_file
test_directories (__main__.TestUnicodeFiles) ... ok
test_single_files (__main__.TestUnicodeFiles) ... ok

--
Ran 2 tests in 0.611s

OK
[69875 refs]

--

___
Python tracker 

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