[issue1755841] Patch for [ 735515 ] urllib2 should cache 301 redir

2010-01-02 Thread Senthil Kumaran
Changes by Senthil Kumaran : Removed file: http://bugs.python.org/file15677/urllib2-301-redirection.diff ___ Python tracker ___ ___ Python-b

[issue1755841] Patch for [ 735515 ] urllib2 should cache 301 redir

2010-01-02 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is the corrected patch for caching the 301 redirections. * It caches only the redirection not the response. * It retains cacheable=True kwarg for http_error_301 method. ( I feel, it should be useful) * Have made the cached dict as private. I have update

[issue3972] Add Option to Bind to a Local IP Address in httplib.py

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: trunk r77263 and r77264 add this feature, including documentation and tests. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue3745] _sha256 et al. encode to UTF-8 by default

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: I believe everything in here has been addressed. Please open new issues with details for anything that doesn't quite right. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue3745] _sha256 et al. encode to UTF-8 by default

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: In order to get a -3 PyErr_WarnPy3k warning for unicode being passed to hashlib objects (a nice idea) I suggest creating an additonal 's*' like thing ('s3' perhaps?) in Python/getargs.c for that purpose rather than modifying all of the hashlib modules to ac

[issue3745] _sha256 et al. encode to UTF-8 by default

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith added the comment: trunk r77252 switches python 2.7 to use 's*' for argument parsing. unicodes can be hashed (encoded to the system default encoding by s*) again. This change has been blocked from being merged into py3k unless someone decides we actually want this magic unic

[issue7458] crash in str.rfind() with an invalid start value

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the tests after the patch for issue7462 removed the offending code. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker _

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

2010-01-02 Thread djc
djc added the comment: Perfect. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailm

[issue7462] Implement fastsearch algorithm for rfind/rindex

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: The main patch has been committed in r77241 (trunk) and r77246 (py3k). I've ommitted the tests you had added for issue7458. Thank you! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed __

[issue7620] Vim syntax highlight

2010-01-02 Thread Brett Cannon
Changes by Brett Cannon : -- versions: +Python 3.2 -3rd party ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue7620] Vim syntax highlight

2010-01-02 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon nosy: +brett.cannon priority: -> low stage: -> patch review ___ Python tracker ___ __

[issue7620] Vim syntax highlight

2010-01-02 Thread July Tikhonov
Changes by July Tikhonov : Removed file: http://bugs.python.org/file15719/vimsyntax.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue7620] Vim syntax highlight

2010-01-02 Thread July Tikhonov
July Tikhonov added the comment: Reuploaded (some syntax groups fixed). -- Added file: http://bugs.python.org/file15721/misc-vim-syntax.diff ___ Python tracker ___ __

[issue7462] Implement fastsearch algorithm for rfind/rindex

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've added a version number to stringbench and committed the changes in r77240. -- ___ Python tracker ___ __

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: http://psf.upfronthosting.co.za/roundup/meta/issue309 -- ___ Python tracker ___ ___ Python-bugs-list m

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: More testing: 'aabbccddeeffgghhiijjkk' -- ___ Python tracker _

[issue7618] optparse library documentation has an insignificant formatting issue

2010-01-02 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ezio.melotti nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mai

[issue7618] optparse library documentation has an insignificant formatting issue

2010-01-02 Thread July Tikhonov
July Tikhonov added the comment: Also, I found 4 similar problems in this text (seach 'usage:' to find them). These are resolved in this patch. -- keywords: +patch nosy: +July Added file: http://bugs.python.org/file15720/doc-library-optparse.diff _

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: 'aabbccddeeffgghh -- ___ Python tracker ___ __

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti added the comment: http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target- --- http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target- --- http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target- -- nosy: +ezio.melotti

[issue7621] Test issue

2010-01-02 Thread Georg Brandl
Georg Brandl added the comment: http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target- -- ___ Python tracker ___ ___

[issue7621] Test issue

2010-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: http://www.gnu.org/software/autoconf/manual/html_node/Specifying- -- ___ Python tracker ___ ___

[issue7621] Test issue

2010-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target-Triplets.html -- nosy: +Arfrever ___ Python tracker ___

[issue7621] Test issue

2010-01-02 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue7621] Test issue

2010-01-02 Thread Georg Brandl
New submission from Georg Brandl : [Test] `configure` should support --with-system-expat option (similarly to --with-system-ffi) to use an internal copy of expat. It will be useful for some distributions (e.g. Gentoo), which prefer to use system libraries instead internal copies. -- mes

[issue5576] Don't use PyLong_SHIFT with _PyLong_AsScaledDouble()

2010-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: Applied in r77234 (trunk), r77237 (py3k). -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.2 -Python 3.1 ___ Python tracker

[issue1619] Test

2010-01-02 Thread Georg Brandl
New submission from Georg Brandl : Testing submission of long lines: http://www.gnu.org/software/autoconf/manual/html_node/Specifying-Target-Triplets.html http://www.gnu.org/software/autoconf/manual/html_node/Specifying- Target-Triplets.html http://www.gnu.org/software/autoconf/manual/html_node

[issue7620] Vim syntax highlight

2010-01-02 Thread July Tikhonov
New submission from July Tikhonov : 'python.vim' syntax rules script was created for python 2 (automatically, using script 'vim_python.py'). This patch updates it to run by python 3. Some bugs with highlighting strings and numbers are resolved, too. Also, 'syntax_test.py' is updated; relative

[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2010-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: > In Python, exp2(x) can be spelled 2.0**x. What would exp2(x) gain us? Not much, I suspect. :) I'd expect (but am mostly guessing) exp2(x) to have better accuracy than pow(2.0, x) for some math libraries; I'd further guess that it's somewhat more likely

[issue7592] ssl module documentation: SSLSocket.unwrap description shown twice

2010-01-02 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r77236. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2010-01-02 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Any time I've ever needed log2(x), log(x)/log(2) was sufficient. In Python, exp2(x) can be spelled 2.0**x. What would exp2(x) gain us? -- ___ Python tracker ___

[issue7615] unicode_escape codec does not escape quotes

2010-01-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Richard Hansen wrote: > > New submission from Richard Hansen : > > The description of the unicode_escape codec says that it produces "a > string that is suitable as Unicode literal in Python source code." [1] > Unfortunately, this is not true as it does n

[issue1759169] clean up Solaris port and allow C99 extension modules

2010-01-02 Thread anders musikka
anders musikka added the comment: Just wanted to chip in my $.02: Defining _XOPEN_SOURCE in the python headers causes problems for Solaris. It also causes problems for Ubuntu Linux. Because _XOPEN_SOURCE is defined, Python.h must included first in any program under Ubuntu. Perhaps the right

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

2010-01-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/1/2 djc : > > djc added the comment: > > Awesome, thanks! Will this be ported to the 2.6.x branch? It already is. -- ___ Python tracker __

[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2010-01-02 Thread Mark Dickinson
Mark Dickinson added the comment: The last two functions to consider adding are exp2 and log2. Does anyone care about these? -- ___ Python tracker ___ _

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

2010-01-02 Thread djc
djc added the comment: Awesome, thanks! Will this be ported to the 2.6.x branch? -- ___ Python tracker ___ ___ Python-bugs-list mailin