[issue4770] binascii module, crazy error messages, unexpected behavior

2009-12-30 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file15560/issue4770_binascii_py3k.diff

___
Python tracker 

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



[issue4770] binascii module, inconsistent behavior: some functions accept unicode string input

2009-12-30 Thread Florent Xicluna

Changes by Florent Xicluna :


--
stage:  -> patch review
title: binascii module, crazy error messages, unexpected behavior -> binascii 
module, inconsistent behavior: some functions accept unicode string input

___
Python tracker 

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



[issue691291] codecs.open(filename, 'U', 'UTF-16') corrupts text

2009-12-30 Thread Florent Xicluna

Florent Xicluna  added the comment:

slight update.

--
stage:  -> patch review
type: feature request -> behavior
versions: +Python 2.7
Added file: http://bugs.python.org/file15697/issue691291_v2.diff

___
Python tracker 

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



[issue691291] codecs.open(filename, 'U', 'UTF-16') corrupts text

2009-12-30 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file15435/issue691291.diff

___
Python tracker 

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



[issue7597] curses.use_env implementation error

2009-12-30 Thread Kan-Ru Chen

New submission from Kan-Ru Chen :

According to doc: 
http://docs.python.org/library/curses.html#curses.use_env

curses.use_env() must be called before initscr(), curses man page also 
says so.

But python gives error: _curses.error: must call initscr() first

test.py is the test program, the output should change if your term 
size changed

test_ctypes.py shows the desired behavior.

ps. curses.COLS and curses.LINES doesn't change, but that's another 
story.

--
components: Extension Modules
files: test.py
messages: 97024
nosy: kanru
severity: normal
status: open
title: curses.use_env implementation error
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15698/test.py

___
Python tracker 

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



[issue7597] curses.use_env implementation error

2009-12-30 Thread Kan-Ru Chen

Changes by Kan-Ru Chen :


Added file: http://bugs.python.org/file15699/test_ctypes.py

___
Python tracker 

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



[issue7597] curses.use_env implementation error

2009-12-30 Thread Kan-Ru Chen

Changes by Kan-Ru Chen :


--
keywords: +patch
Added file: http://bugs.python.org/file15700/_curses.patch

___
Python tracker 

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



[issue7598] Cannot install, problems with assembly?

2009-12-30 Thread sh.00

New submission from sh.00 :

When the installation is near the end, suddently I get the error message. 
Python is not the only program that cannot be installed correctly,and the 
error message is absolutely the same. Can anybody help me?

--
files: SH_scr^001 Dec. 30 02.35.jpg
messages: 97025
nosy: sh.00
severity: normal
status: open
title: Cannot install, problems with assembly?
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file15701/SH_scr^001 Dec. 30 02.35.jpg

___
Python tracker 

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



[issue7598] Cannot install, problems with assembly?

2009-12-30 Thread Ezio Melotti

Ezio Melotti  added the comment:

Duplicate of #4735.

--
nosy: +ezio.melotti
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> An error occurred during the installation of assembly

___
Python tracker 

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



[issue4735] An error occurred during the installation of assembly

2009-12-30 Thread Ezio Melotti

Ezio Melotti  added the comment:

The same error has been reported in #7598 with Python 2.6.4.

--
nosy: +ezio.melotti, sh.00
priority:  -> normal
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



[issue7534] float('nan')**2 != nan. float('nan')**2 error 33 on windows

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

Fixed in trunk in r77139.  I'll wait to check that the buildbots are 
happy, and then merge to py3k.

--

___
Python tracker 

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



[issue7561] PyByteArray_AS_STRING used unsafely

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

IMO bytearray should be fixed, for everyone else's sanity.

--
nosy: +benjamin.peterson, georg.brandl, pitrou

___
Python tracker 

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



[issue7597] curses.use_env implementation error

2009-12-30 Thread R. David Murray

Changes by R. David Murray :


--
nosy: +akuchling
priority:  -> normal

___
Python tracker 

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



[issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

2009-12-30 Thread Ezio Melotti

Ezio Melotti  added the comment:

Done in r77136 (trunk) and r77142 (py3k). Thanks for the patch!

--
resolution: accepted -> fixed
stage: test needed -> committed/rejected
status: open -> closed
versions: +Python 3.2 -Python 3.1

___
Python tracker 

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



[issue936813] fast modular exponentiation

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

Looks like the test failure is a result of a misplaced (twodigits) cast:  
replacing the line

   carry += (twodigits) ( (*aptr) + (u * (*mptr++)) );

in function mont_reduce with

   carry += *aptr + (twodigits)u * *mptr++;

fixes this.

--

___
Python tracker 

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



[issue7599] (c)ElementTree can produce invalid XML

2009-12-30 Thread Jakub Wilk

New submission from Jakub Wilk :

$ cat buggy.py 
import sys
from xml.etree import ElementTree as et
root = et.Element('root')
root.text = u'\x07'
et.ElementTree(root).write(sys.stdout)

$ python buggy.py | xmllint -
-:1: parser error : PCDATA invalid Char value 7

  ^

--
components: Library (Lib)
messages: 97032
nosy: jwilk
severity: normal
status: open
title: (c)ElementTree can produce invalid XML
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



[issue7600] interpreter crashes before start

2009-12-30 Thread mhh91

New submission from mhh91 :

when I set my Locale to "Arabic(Egypt)" on Windows 7,Python does not
start,giving this Error :


Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp720

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

--
components: Interpreter Core
messages: 97033
nosy: mhh91
severity: normal
status: open
title: interpreter crashes before start
type: crash
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



[issue4328] "à" in u"foo" raises a misleading error

2009-12-30 Thread Ezio Melotti

Changes by Ezio Melotti :


--
priority:  -> normal
stage:  -> needs patch
type:  -> feature request
versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0

___
Python tracker 

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



[issue7600] interpreter crashes before start

2009-12-30 Thread R. David Murray

R. David Murray  added the comment:

This is a duplicate of issue 1616979, which has been fixed.

--
nosy: +r.david.murray
priority:  -> normal
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> cp720 encoding map

___
Python tracker 

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



[issue4328] "à" in u"foo" raises a misleading error

2009-12-30 Thread R. David Murray

R. David Murray  added the comment:

Actually, I've already fixed this for 2.7 (issue 1680159) by letting the
UnicodeDecodeError propagate upward.  I don't think making 'f' in u'foo'
an error would be a good idea.

Unless I'm mistaken the py3 behavior is correct.  If someone has a case
where the py3 message or behavior is incorrect they can reopen (or open
a new issue, since the cause is likely to be different if there is a
problem).

(Actually, the message you get when you do 'o' in b'foo' is...not
obvious; but as I said I think that's a different issue from this one.)

--
nosy: +r.david.murray
resolution:  -> duplicate
stage: needs patch -> committed/rejected
status: open -> closed
superseder:  -> Misleading exception from unicode.__contains__
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



[issue7593] Computed-goto patch for RE engine

2009-12-30 Thread Georg Brandl

Changes by Georg Brandl :


--
title: Computed-goto patch -> Computed-goto patch for RE engine

___
Python tracker 

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



[issue7487] doc: Code is not always colored

2009-12-30 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti
priority:  -> normal
type:  -> behavior

___
Python tracker 

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



[issue7593] Computed-goto patch for RE engine

2009-12-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +pitrou

___
Python tracker 

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



[issue7487] doc: Code is not always colored

2009-12-30 Thread Georg Brandl

Georg Brandl  added the comment:

This was caused by an old version of Pygments being used for building
the docs; I installed a new one in the external repo in r77144.

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



[issue7534] float('nan')**2 != nan. float('nan')**2 error 33 on windows

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

Merged to py3k in r77146.

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



[issue7593] Computed-goto patch for RE engine

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

On the principle nothing looks wrong. There are some tabs-vs-spaces
issues in _sre.c. Can some out-of-bounds crash be triggered if an opcode
is greater than 33?

It needs some benchmarks to know whether it's efficient. Also, I think
it would be nice to include regeneration of the opcode table in the
build process. Since it's very light-weight it can be done
unconditionally (I suppose it will be done from setup.py, right?).

--

___
Python tracker 

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



[issue7462] Implement fastsearch algorithm for rfind/rindex

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Looking a bit more at the patch:

+/* miss: check if previous character is part of pattern */
+if (!(mask & (1 << (s[i-1] & 0x1F

>From what I understand, this should be s[i-m]. Same here:

+/* skip: check if previous character is part of pattern */
+if (!(mask & (1 << (s[i-1] & 0x1F

--

___
Python tracker 

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



[issue7601] Installation - 2 tests failed: test_cmd_line test_xmlrpc

2009-12-30 Thread Jozef Gáborík

New submission from Jozef Gáborík :

I installed python 3.1.1 on Ubuntu 9.10. When I wrote "make test" I got:

...
test_cmd
test_cmd_line
test test_cmd_line failed -- Traceback (most recent call last):
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/test/
test_cmd_line.py", line 181, in test_large_PYTHONPATH
self.assertTrue(path1.encode('ascii') in stdout)
AssertionError: False is not True

test_cmd_line_script
...

AND:

...
test_xml_etree
test_xml_etree_c
test_xmlrpc
Traceback (most recent call last):
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/xmlrpc/server.py", 
line 448, in do_POST
size_remaining = int(self.headers["content-length"])
ValueError: invalid literal for int() with base 10: 'I am broken'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/socketserver.py", line 
281, in _handle_request_noblock
self.process_request(request, client_address)
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/socketserver.py", line 
307, in process_request
self.finish_request(request, client_address)
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/socketserver.py", line 
320, in finish_request
self.RequestHandlerClass(request, client_address, self)
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/socketserver.py", line 
614, in __init__
self.handle()
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/http/server.py", line 
352, in handle
self.handle_one_request()
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/http/server.py", line 
346, in handle_one_request
method()
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/xmlrpc/server.py", 
line 472, in do_POST
self.send_header("X-traceback", traceback.format_exc())
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/http/server.py", line 
410, in send_header
self.wfile.write(("%s: %s\r\n" % (keyword, value)).encode('ASCII', 
'strict'))
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in 
position 78: ordinal not in range(128)
test test_xmlrpc failed -- Traceback (most recent call last):
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/test/test_xmlrpc.py", 
line 555, in test_fail_with_info
p.pow(6,8)
xmlrpc.client.ProtocolError: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gaborik/Stiahnuté/Python-3.1.1/Lib/test/test_xmlrpc.py", 
line 562, in test_fail_with_info
self.assertTrue(e.headers.get("X-traceback") is not None)
AssertionError: False is not True

test_xmlrpc_net
test_xmlrpc_net skipped -- Use of the `network' resource not enabled
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a 
long time to run
test_zipimport
test_zipimport_support
test_zlib
310 tests OK.
2 tests failed:
test_cmd_line test_xmlrpc
23 tests skipped:
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
test_codecmaps_kr test_codecmaps_tw test_curses test_kqueue
test_nis test_normalization test_ossaudiodev test_pep277
test_smtpnet test_socketserver test_startfile test_timeout test_tk
test_ttk_guionly test_urllib2net test_urllibnet test_winreg
test_winsound test_xmlrpc_net test_zipfile64
Those skips are all expected on linux2.

--
components: Installation
messages: 97040
nosy: sadhak
severity: normal
status: open
title: Installation - 2 tests failed: test_cmd_line test_xmlrpc
type: compile error
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



[issue4046] test_formatdate_usegmt fails on non-englisch locale

2009-12-30 Thread Martina Oefelein

Martina Oefelein  added the comment:

Apple doesn't ship py3k yet. I observed the issue originally with my own build 
of 3.0 RC1 (No particular build settings 
were used, just ./configure ; make ; make test). It also happens with the build 
of Python 3.0.1 that is installed on my 
machine (this should be the official MacOS X build from Python.org), on MacOS X 
10.6.2.

It doesn't happen with Python 3.1 anymore (and neither with 2.6.1 and 2.7 Alpha 
1).

--

___
Python tracker 

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



[issue7601] Installation - 2 tests failed: test_cmd_line test_xmlrpc

2009-12-30 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

It's certainly because python is installed in a directory with non-ascii
characters.

--
nosy: +amaury.forgeotdarc

___
Python tracker 

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



[issue7596] test_logging sometimes fails

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

I can reproduce this on OS X 10.6 with:

./python.exe Lib/test/regrtest.py test_lib2to3 test_logging

The failure doesn't happen if I run these two tests in the opposite order.

--
nosy: +mark.dickinson

___
Python tracker 

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



[issue7596] test_logging sometimes fails

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

r77106 seems to be the change that triggered this.  Benjamin, any ideas?

--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue7596] test_logging sometimes fails

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

> I can reproduce this on OS X 10.6 with:
> 
> ./python.exe Lib/test/regrtest.py test_lib2to3 test_logging

Same here!
The failure report in verbose mode is:

==
FAIL: test_filter (test.test_logging.BasicFilterTest)
--
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 290, in 
test_filter
('spam.eggs.fish', 'INFO', '3'),
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 114, in 
assert_log_lines
self.assertEquals(len(actual_lines), len(expected_values))
AssertionError: 4 != 2

==
FAIL: test_handler_filter (test.test_logging.CustomLevelsAndFiltersTest)
--
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 390, in 
test_handler_filter
('Silent', '10'),
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 114, in 
assert_log_lines
self.assertEquals(len(actual_lines), len(expected_values))
AssertionError: 10 != 5

==
FAIL: test_specific_filters (test.test_logging.CustomLevelsAndFiltersTest)
--
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 416, in 
test_specific_filters
self.assert_log_lines(first_lines)
  File "/home/antoine/py3k/__svn__/Lib/test/test_logging.py", line 114, in 
assert_log_lines
self.assertEquals(len(actual_lines), len(expected_values))
AssertionError: 10 != 9

--

--

___
Python tracker 

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



[issue7602] Doc: make clean and make update do not delete or update Doc/tools

2009-12-30 Thread Florent Xicluna

New submission from Florent Xicluna :

In the Doc/ directory, the "make ..." commands do not behave as expected.

*make clean*
It should remove all tools in "tools" directory: docutils, jinja2,
pygments, sphinx.
Currently it removes only "tools/sphinx"

*make update*
It is supposed to "update the Subversion checkouts in `tools/`".
Basically, it does "svn update" for each 4 external tools.
But it is pointless, since these directory are sticked to tag versions.
IMHO, it should be an alias for:
"make clean && make checkout" (if *make clean* is fixed)

--
assignee: georg.brandl
components: Build, Documentation
messages: 97046
nosy: flox, georg.brandl
severity: normal
status: open
title: Doc: make clean and make update do not delete or update Doc/tools
type: behavior
versions: Python 2.6, 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



[issue7487] doc: Code is not always colored

2009-12-30 Thread Florent Xicluna

Florent Xicluna  added the comment:

Thank you.

Doc/README.txt and Doc/make.bat need update too.


Note: issue7602 is a follow up regarding the *make clean* and *make
update* commands.

--
status: closed -> open

___
Python tracker 

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



[issue7487] doc: Code is not always colored

2009-12-30 Thread Georg Brandl

Georg Brandl  added the comment:

Fixed in r77151.

--
status: open -> closed

___
Python tracker 

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



[issue7602] Doc: make clean and make update do not delete or update Doc/tools

2009-12-30 Thread Georg Brandl

Georg Brandl  added the comment:

Fixed in r77152.

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



[issue7603] There is no 'seq' type

2009-12-30 Thread Thomas Oldbury

New submission from Thomas Oldbury :

I find myself often writing the following code:

   if isinstance(var, (tuple, list, basestring)):

to determine if a var is indexable and iterable. 

It would be simpler if there were a 'seq' type which is subclassed into 
mutableseq and immutableseq (or something like that). Tuples and strings 
would be children of immutableseq. Lists would be children of 
mutableseq. Then I can do:

   if isinstance(var, seq):

Or to determine if I can edit values I can:

   if isinstance(var, mutableseq):

Actually this should probably not be a bug, maybe a PEP... or something.

This is the only thing I can presently think I would really like to 
correct in Python, because so far Python is the best language I've ever 
had the pleasure to write programs for. Thanks to everyone involved. :)

--
messages: 97050
nosy: tom66
severity: normal
status: open
title: There is no 'seq' type

___
Python tracker 

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



[issue7604] delattr __slots__ inconsistancy

2009-12-30 Thread Brian Harring

New submission from Brian Harring :

Everything I've read about __slots__, seen w/ them, etc, they're
effectively just a change in the underlying allocation- yes they can
limit the attributes, but that's about it.

Specifically, for general attribute access/mangling, best I can tell,
they're *supposed* to be exactly equivalent when manipulating the
object- the only difference being the backing store.

That said, delattr against slotted objects vs non slotted differs in a
rather buggy way- even worse, the behaviour differs on slotted classes
dependant on if you're delattr'ing a slotted attr or a nonslotted-
consider the following code.

class nonslotted(object):
  pass

class slotted(object):
  __slots__ = ("monkeys",)

try:
  ns = nonslotted()
  assert not hasattr(ns, 'monkeys')
  del ns.monkeys
  raise AssertionError("this is unreachable")
except AttributeError:
  pass
try:
  s = slotted()
  assert not hasattr(s, 'monkeys')
  del s.monkeys
  print "slotting causes delattr to not throw an AttributeError"
  # and now for the kicker
  del s.some_attr_that_is_not_slotted
except AttributeError:
  print "so... delattr results in AttributeError on a non-slotted attr,
but throws no AttributeError on a slotted attr..."


I'm guessing this isn't intentional/desired?

Confirmed on py2.6/py3.1 also; that said, I'd assume it affects all
versions of python that support __slots__...

--
components: Interpreter Core
messages: 97051
nosy: ferringb
severity: normal
status: open
title: delattr __slots__ inconsistancy
versions: Python 2.6, Python 3.1

___
Python tracker 

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



[issue7603] There is no 'seq' type

2009-12-30 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Take a swing by the abc module.

--
nosy: +benjamin.peterson
resolution:  -> out of date
status: open -> closed

___
Python tracker 

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



[issue7604] delattr __slots__ inconsistancy

2009-12-30 Thread Brian Harring

Changes by Brian Harring :


--
type:  -> behavior

___
Python tracker 

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



[issue6651] Py3k's posixpath.relpath not compatible with ntpath.relpath

2009-12-30 Thread Brian Curtin

Brian Curtin  added the comment:

How does this patch look? 

For the sake of consistency it changes back to start=curdir. Then, if
the `path` parameter is type bytes and the `start` parameter equals
`curdir`, `start` is set to the bytes version of `curdir`.

--
keywords: +patch
nosy: +brian.curtin
type: performance -> behavior
versions:  -Python 3.0, Python 3.1
Added file: http://bugs.python.org/file15702/issue6651.diff

___
Python tracker 

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



[issue936813] fast modular exponentiation

2009-12-30 Thread Mark Dickinson

Mark Dickinson  added the comment:

Here's a slightly modified version of Trevor's patch:

 - update to apply cleanly to trunk
 - fix misplaced twodigits cast described above
 - add 'PyLong_' prefix to BASE, MASK and SHIFT
 - no need for _PyLong_Copy in l_invmod:  just copy and INCREF the
   pointers
 - don't calculate d - q*c by hand in l_invmod, since l_divmod computes
   the remainder already
 - simplify reference counting in l_invmod
 - add a '* 1U' to a digit-by-digit multiplication, to avoid possible
   (in theory;  unlikely in practice) undefined behaviour resulting
   from signed integer overflow.

The rest of the patch looks fine to me, modulo some minor style issues.

Two points:

- it seems that l_invmod is only ever used to compute the inverse of a 
single-digit long modulo PyLong_BASE.  Mightn't it be more efficient to 
simply do a twodigit/digit-based calculation here instead, to reduce the 
overhead of setting up the Montgomery reductions?

- the current algorithm for three-argument pow involves many allocations 
and deallocations of integers;  it seems to me that these could almost 
all be eliminated:  for pow(a, b, c) with c an n-digit PyLong, just 
allocate 2*n (or possibly 2*n+1) digits of workspace to begin with and 
use that to store intermediate products;  the Montgomery reduction could 
then be done more-or-less in place.  This doesn't work with the non-
Montgomery method, though, since l_divmod doesn't operate in place.

--
Added file: http://bugs.python.org/file15703/long_pow_2009_12_30.diff

___
Python tracker 

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



[issue4814] ftplib does not honour "timeout" parameter for active data connections

2009-12-30 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--
nosy: +pitrou

___
Python tracker 

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



[issue7604] delattr __slots__ inconsistancy

2009-12-30 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Thank you for the report. Fixed in r77157.

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



[issue7596] test_logging sometimes fails

2009-12-30 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Fixed in r77158.

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



[issue7604] delattr __slots__ inconsistancy

2009-12-30 Thread Brian Harring

Brian Harring  added the comment:

Any chance of this landing in py2.7?  It's really a nasty wrench in the
works for some a mapping object essentially maps onto __slots__ for
memory efficiency...

--

___
Python tracker 

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



[issue7604] delattr __slots__ inconsistancy

2009-12-30 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

2009/12/30 Brian Harring :
>
> Brian Harring  added the comment:
>
> Any chance of this landing in py2.7?  It's really a nasty wrench in the
> works for some a mapping object essentially maps onto __slots__ for
> memory efficiency...

It will be in 2.6.5, 2.7, 3.1.2, and 3.2.

--

___
Python tracker 

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



[issue4046] test_formatdate_usegmt fails on non-englisch locale

2009-12-30 Thread R. David Murray

R. David Murray  added the comment:

In that case, since 3.0 is no longer in maintenance, I'm closing this
bug as out of date.

--
resolution:  -> out of date
stage:  -> 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



[issue7579] Patch to add docstrings to msvcrt

2009-12-30 Thread Brian Curtin

Brian Curtin  added the comment:

Here is a patch for py3k. It uses the same contents as before but with
changes to the str/bytes wording on getch_doc, putch_doc, and
ungetch_doc. Includes updates to the msvcrt.rst file. Let me know if the
wording seems correct (or if I left anything out).

I went ahead and added docstrings to the debug-only functions as a bonus.

--
Added file: http://bugs.python.org/file15704/issue7579_py3k.diff

___
Python tracker 

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



[issue4814] ftplib does not honour "timeout" parameter for active data connections

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

This looks good, of course. Perhaps you want to add a test, if it isn't
too difficult to do so.

--
versions: +Python 3.2 -Python 3.0

___
Python tracker 

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



[issue7605] test_cmd_line fails with non-ascii path

2009-12-30 Thread Antoine Pitrou

New submission from Antoine Pitrou :

I configured my buildbot to use a non-ascii path to the interpreter and
test_cmd_line fails as follows:

==
FAIL: test_large_PYTHONPATH (test.test_cmd_line.CmdLineTest)
--
Traceback (most recent call last):
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/test/test_cmd_line.py",
line 181, in test_large_PYTHONPATH
self.assertTrue(path1.encode('ascii') in stdout)
AssertionError: False is not True

--

--
components: Library (Lib), Tests
messages: 97062
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_cmd_line fails with non-ascii path
type: behavior
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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread Antoine Pitrou

New submission from Antoine Pitrou :

I configured my buildbot to use a non-ascii path to the interpreter and
test_xmlrpc fails as follows:


Exception happened during processing of request from ('127.0.0.1', 59091)
Traceback (most recent call last):
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/xmlrpc/server.py",
line 448, in do_POST
size_remaining = int(self.headers["content-length"])
ValueError: invalid literal for int() with base 10: 'I am broken'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/socketserver.py",
line 281, in _handle_request_noblock
self.process_request(request, client_address)
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/socketserver.py",
line 307, in process_request
self.finish_request(request, client_address)
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/socketserver.py",
line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/socketserver.py",
line 614, in __init__
self.handle()
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/http/server.py",
line 352, in handle
self.handle_one_request()
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/http/server.py",
line 346, in handle_one_request
method()
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/xmlrpc/server.py",
line 472, in do_POST
self.send_header("X-traceback", traceback.format_exc())
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/http/server.py",
line 410, in send_header
self.wfile.write(("%s: %s\r\n" % (keyword, value)).encode('ASCII',
'strict'))
UnicodeEncodeError: 'ascii' codec can't encode character '\u20ac' in
position 93: ordinal not in range(128)


==
FAIL: test_fail_with_info (test.test_xmlrpc.FailingServerTestCase)
--
Traceback (most recent call last):
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/test/test_xmlrpc.py",
line 555, in test_fail_with_info
p.pow(6,8)
xmlrpc.client.ProtocolError: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File
"/home/buildbot/cpython-ucs4-nonascii-€/3.1.pitrou-ubuntu-wide/build/Lib/test/test_xmlrpc.py",
line 562, in test_fail_with_info
self.assertTrue(e.headers.get("X-traceback") is not None)
AssertionError: False is not True

--

--
components: Library (Lib), Tests
messages: 97063
nosy: loewis, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_xmlrpc fails with non-ascii path
type: behavior
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



[issue7591] test_get_platform fails on 3.1

2009-12-30 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
priority: normal -> high

___
Python tracker 

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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

> self.send_header("X-traceback", traceback.format_exc())

That's fairly tricky. send_header expects two strings (bytes are
not acceptable), and also requires these strings to be ASCII.
This is why it breaks: format_exc returns a non-ASCII string.

I see two options:
a) allow non-Unicode values for keyword and value in send_header,
   and have xmlrpc.server encode the header itself, or
b) properly MIME-encode value if it contains non-ASCII characters
   (keyword really must be ASCII, I think).

Not sure whether there is any precedence for UTF-8 in HTTP
headers.

--

___
Python tracker 

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



[issue7607] stringlib fastsearch could be improved on 64-bit builds

2009-12-30 Thread Antoine Pitrou

New submission from Antoine Pitrou :

The fastsearch algorithm uses a 32-bit mask for the boyer-moore
compression table but stores it as a long.
Since longs can be wider than 32 bits on some platforms (especially,
most 64-bit Unixes), the actual mask width could be platform-dependant
so as to improve the efficiency of the algorithm. Using the SIZEOF_LONG
constant would probably do the trick.

--
components: Interpreter Core
messages: 97065
nosy: flox, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: stringlib fastsearch could be improved on 64-bit builds
type: performance
versions: Python 2.7, Python 3.2

___
Python tracker 

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



[issue1967] Backport dictviews to 2.7

2009-12-30 Thread Alexandre Vassalotti

Alexandre Vassalotti  added the comment:

It looks like that crash is caused by some bug in the implementation of
PyUnicode_FromFormat(). I rewrote my patch to avoid it and added some
additional unit tests.

--
Added file: http://bugs.python.org/file15705/backport_dictviews-2.diff

___
Python tracker 

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



[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti

New submission from Alexandre Vassalotti :

It seems PyUnicode_FromFormatV wrongly assumes that the return value of
PyObject_Str and PyObject_Repr is a unicode object. It looks like  the
%S and %R feature was backported from 3.x without updating the code for 2.x.


PyObject *
PyUnicode_FromFormatV(const char *format, va_list vargs)
{
...
case 'S':
{
PyObject *obj = va_arg(count, PyObject *);
PyObject *str;
assert(obj);
str = PyObject_Str(obj);
if (!str)
goto fail;
n += PyUnicode_GET_SIZE(str);
/* Remember the str and switch to the next slot */
*callresult++ = str;
break;
}
case 'R':
{
PyObject *obj = va_arg(count, PyObject *);
PyObject *repr;
assert(obj);
repr = PyObject_Repr(obj);
if (!repr)
goto fail;
n += PyUnicode_GET_SIZE(repr);
/* Remember the repr and switch to the next slot */
*callresult++ = repr;
break;
}
...
}

--
components: Interpreter Core, Library (Lib)
messages: 97067
nosy: alexandre.vassalotti
severity: normal
stage: test needed
status: open
title: PyUnicode_FromFormatV handles %R and %S incorrectly.
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



[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti

Changes by Alexandre Vassalotti :


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> PyUnicode_FromFormat broken and not documented for 2.x

___
Python tracker 

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



[issue7608] PyUnicode_FromFormatV handles %R and %S incorrectly.

2009-12-30 Thread Alexandre Vassalotti

Changes by Alexandre Vassalotti :


--
stage: test needed -> committed/rejected

___
Python tracker 

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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread R. David Murray

R. David Murray  added the comment:

A little googling came up with this page:

http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/topic/com.ibm.itame.doc/am61_webseal_admin570.htm

Their solution is to uri encode the UTF8 encoded data.

However, this article references the RFCs, which look like they call for
rfc2047 (MIME) encoded words:

http://stackoverflow.com/questions/324470/http-headers-encoding-decoding-in-java

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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

If it's only about transmitting the string representation of the
traceback, perhaps we can simply use "replace" or "ignore" as the error
handler?

--

___
Python tracker 

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



[issue1967] Backport dictviews to 2.7

2009-12-30 Thread Alexandre Vassalotti

Alexandre Vassalotti  added the comment:

The tests were missing in my last patch. So, here's a new one.

--
Added file: http://bugs.python.org/file15706/backport_dictviews-3.diff

___
Python tracker 

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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

David: I think it's a little bit more complicated. RFC 2616 says that
the value of a header is *TEXT, which is defined as

   The TEXT rule is only used for descriptive field contents and values 
   that are not intended to be interpreted by the message parser. Words 
   of *TEXT MAY contain characters from character sets other than 
   ISO-8859-1 only when encoded according to the rules of RFC 2047

So I think send_header should change in the following way:

a) if isinstance(value, bytes): send value as-is
b) if value can be encoded in latin-1: encode in latin-1, then send as-is
c) otherwise: MIME-encode as UTF-8, using the following algorithm
   1. count the number of non-ascii characters, by encoding with
  ascii, ignore, and comparing result lengths
   2. if there are less than 10% non-ascii character, use the Q encoding
   3. otherwise, use the B encoding

The purpose of the algorithm in c) would be that text containing a few
non-latin characters still comes out right even if the receiver fails to
decode the header.

The same change would also apply to the client-side of sending headers.
On the receiving side, we should offer an option to decode headers (both
for client and server); this should be an option because senders may not
comply with RFC 2616. Reading should then proceed as follows:
1. check whether there are MIME markers in the text
2. if so, MIME-decode
3. if not, decode as latin-1

--

___
Python tracker 

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



[issue7606] test_xmlrpc fails with non-ascii path

2009-12-30 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

Antoine: sure, to fix the issue at hand, we can work-around.

However, the issue of sending non-ASCII headers in HTTP remains, and
should also be fixed.

--

___
Python tracker 

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



[issue1054967] bdist_deb - Debian packager

2009-12-30 Thread Andrew Straw

Andrew Straw  added the comment:

As of stdeb 0.5.0, the setuptools dependency has been removed. Now stdeb
requires only plain distutils.

--

___
Python tracker 

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



[issue5115] Extend subprocess.kill to be able to kill process groups

2009-12-30 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy: +brian.curtin

___
Python tracker 

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



[issue7609] Add --with-system-expat option

2009-12-30 Thread Arfrever Frehtes Taifersar Arahesis

New submission from Arfrever Frehtes Taifersar Arahesis 
:

`configure` should support --with-system-expat option (similarly to --
internal copy of expat. It will be useful for some distributions (e.g.
Gentoo), which prefer to use system libraries instead internal copies.

--
components: Build
files: python-system-expat.patch
keywords: patch
messages: 97074
nosy: Arfrever
severity: normal
status: open
title: Add --with-system-expat option
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file15707/python-system-expat.patch

___
Python tracker 

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



[issue7609] Add --with-system-expat option

2009-12-30 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis  added the comment:

Some fragment of my initial comment disappeared :( .

This option will be similar to '--with-system-ffi' option.
It will cause using system expat instead of internal copy of expat.

--

___
Python tracker 

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



[issue7089] shlex behaves unexpected if newlines are not whitespace

2009-12-30 Thread Kan-Ru Chen

Changes by Kan-Ru Chen :


--
nosy: +kanru

___
Python tracker 

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



[issue7609] Add --with-system-expat option

2009-12-30 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Applied in r77169.

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



[issue6687] Move the special-case for integer objects out of PyBytes_FromObject.

2009-12-30 Thread Alexandre Vassalotti

Alexandre Vassalotti  added the comment:

Committed in r77174. Thank you for reviewing!

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



[issue7601] Installation - 2 tests failed: test_cmd_line test_xmlrpc

2009-12-30 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti
priority:  -> normal

___
Python tracker 

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



[issue7596] test_logging sometimes fails

2009-12-30 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue7601] Installation - 2 tests failed: test_cmd_line test_xmlrpc

2009-12-30 Thread Ezio Melotti

Ezio Melotti  added the comment:

See #7605 for test_cmd_line and #7606 for test_xmlrpc.

--
resolution:  -> duplicate
stage:  -> 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