[issue12921] http.server.BaseHTTPRequestHandler.send_error and trailing newline

2011-09-06 Thread Paul Upchurch
New submission from Paul Upchurch : Calling http.server.BaseHTTPRequestHandler.send_error(code,message) with a message that contains a trailing newline does not display properly in Firefox, Chrome. Listing 1 #!/usr/bin/env python3.2 import http.server import traceback class httphandler

[issue14794] slice.indices raises OverflowError

2012-05-12 Thread Paul Upchurch
New submission from Paul Upchurch : To reproduce the error: Python 3.2.2 (default, Sep 5 2011, 22:09:30) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> slice(0,9,None).indices(126) T

[issue14794] slice.indices raises OverflowError

2012-05-12 Thread Paul Upchurch
Paul Upchurch added the comment: Sorry. I didn't realize there was a 3.2.3 out. I'll close it as fixed. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.py

[issue14794] slice.indices raises OverflowError

2012-05-13 Thread Paul Upchurch
Paul Upchurch added the comment: That's true; it doesn't work with today's downloads from python.org. The version I tested was win32 but I don't think that should matter. Python has always supported large numbers on 32-bit OSs. My observations: [1] Debian Wheezy, py

[issue14794] slice.indices raises OverflowError

2012-05-13 Thread Paul Upchurch
Paul Upchurch added the comment: The pre-built 64-bit Windows binaries from python.org works. Python 3.3.0a3 (default, May 1 2012, 16:46:00) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >

[issue14794] slice.indices raises OverflowError

2012-11-02 Thread Paul Upchurch
Paul Upchurch added the comment: For the concept of "reasonable", it should be noted that this behaviour will affect code that works with reasonably sized sequences despite the largeness of the parameter. Consider an extremely large array. To work with such an array, one would