[issue7617] distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option() should recognize ${configuration_name}-gcc

2010-01-01 Thread Arfrever Frehtes Taifersar Arahesis

New submission from Arfrever Frehtes Taifersar Arahesis 
:

distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option()
currently only recognizes "gcc" or "gcc-${version" (e.g. "gcc-4.4.2"),
but it doesn't recognize "${configuration_name}-gcc" (e.g. "x86_64-pc-
"x86_64-pc-linux-gnu-gcc-4.4.2"). Python is configured with such fully
qualified configuration names in some distributions (e.g. Gentoo).

Configuration names are described in:
http://sourceware.org/autobook/autobook/autobook_17.html
http://www.gnu.org/software/autoconf/manual/html_node/Specifying-

--
assignee: tarek
components: Distutils
files: python-distutils-recognize_configuration_names.patch
keywords: patch
messages: 97114
nosy: Arfrever, tarek
severity: normal
status: open
title: distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option() 
should recognize ${configuration_name}-gcc
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: 
http://bugs.python.org/file15717/python-distutils-recognize_configuration_names.patch

___
Python tracker 

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



[issue7617] distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option() should recognize ${configuration_name}-gcc

2010-01-01 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis  added the comment:

This bug tracker removes parts of splitted, long lines when the
previous line was ending with '-' :( .

There should be:

"but it doesn't recognize "${configuration_name}-gcc"
(e.g. "x86_64-pc-linux-gnu-gcc") or
"${configuration_name}-gcc-${version}"
(e.g. "x86_64-pc-linux-gnu-gcc-4.4.2")."

The second URL has 2 parts:
http://www.gnu.org/software/autoconf/manual/html_node/
Specifying-Target-Triplets.html

--

___
Python tracker 

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



[issue7615] unicode_escape codec does not escape quotes

2010-01-01 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +lemburg

___
Python tracker 

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



[issue6943] setup.py fails to find headers of system libffi

2010-01-01 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Fixed in r77212.

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



[issue6491] Improve --with-dbmliborder option

2010-01-01 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Applied in r77215.

--
nosy: +benjamin.peterson
resolution:  -> accepted
status: open -> closed

___
Python tracker 

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



[issue5080] PyArg_Parse* should raise TypeError for float parsed with integer format

2010-01-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

Applied to trunk in r77218.  The DeprecationWarning for the 'L' format 
needs to be merged to py3k.

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



[issue7618] optparse library documentation has an insignificant formatting issue

2010-01-01 Thread Artem

New submission from Artem :

In optparse documentation, in the end of first chapter there is an
example which shows how optparse can print usage summary for user. In
the last row of this example text color is accidentally changed from
black to blue. Most probably the source of this issue is single quote
sign which is misinterpreted by the code highlighter.

--
assignee: georg.brandl
components: Documentation
messages: 97119
nosy: georg.brandl, vazovsky
severity: normal
status: open
title: optparse library documentation has an insignificant formatting issue
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



[issue5080] PyArg_Parse* should raise TypeError for float parsed with integer format

2010-01-01 Thread Mark Dickinson

Mark Dickinson  added the comment:

Merged relevant bits to py3k in r77220.

--
resolution:  -> fixed
stage: needs patch -> 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



[issue7619] imaplib shouldn't use cause DeprecationWarnings in 2.6

2010-01-01 Thread djc

New submission from djc :

imaplib still calls os.popen2(), which has been deprecated in 2.6. It
should probably use subprocess instead, even in 2.6, IMO.

See http://bugs.gentoo.org/show_bug.cgi?id=282859

--
components: Library (Lib)
messages: 97121
nosy: djc
severity: normal
status: open
title: imaplib shouldn't use cause DeprecationWarnings in 2.6
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



[issue7564] test_ioctl fails when run in background

2010-01-01 Thread Florent Xicluna

Florent Xicluna  added the comment:

It fails if the test is run in background, and there's another process
in foreground.

Example 1:

~ $ (./python Lib/test/regrtest.py test_ioctl &) && tail -f /dev/null
test_ioctl
test test_ioctl failed -- multiple errors occurred; run in verbose mode
for details
1 test failed:
test_ioctl


Example 2 (a shell script):

~ $ cat run_ioctl.sh
#!/bin/sh
./python Lib/test/regrtest.py -v test_ioctl > test_ioctl.log &
tail -f test_ioctl.log

--
priority:  -> low
title: test_ioctl fails sometimes -> test_ioctl fails when run in background
versions: +Python 2.6, 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



[issue7564] test_ioctl may fail when run in background

2010-01-01 Thread Florent Xicluna

Changes by Florent Xicluna :


--
title: test_ioctl fails when run in background -> test_ioctl may fail when run 
in background

___
Python tracker 

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



[issue7578] Behavior of operations on a closed file object is not documented correctly

2010-01-01 Thread Nick Coghlan

Nick Coghlan  added the comment:

Note that one of the reasons for the slightly wishy-washy phrasing in
the docs is to give other implementations a bit more freedom in the way
way they handle these error cases.

Agreed that the main reason is the one Antoine gave though - the
ValueError is looking at things from the point of view that the program
passed in a closed file object when an open one was needed.

--
nosy: +ncoghlan

___
Python tracker 

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



[issue7619] imaplib shouldn't use cause DeprecationWarnings in 2.6

2010-01-01 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Fixed in r77222.

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



[issue7611] shlex not posix compliant when parsing "foo#bar"

2010-01-01 Thread cadf

cadf  added the comment:

Here's a patch addressing the behavior described.

--
keywords: +patch
nosy: +cadf
Added file: http://bugs.python.org/file15718/shlex_posix.diff

___
Python tracker 

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