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

2010-01-02 Thread djc
djc dirk...@ochtman.nl added the comment: Awesome, thanks! Will this be ported to the 2.6.x branch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7619 ___

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

2010-01-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The last two functions to consider adding are exp2 and log2. Does anyone care about these? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3366

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

2010-01-02 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/1/2 djc rep...@bugs.python.org: djc dirk...@ochtman.nl added the comment: Awesome, thanks! Will this be ported to the 2.6.x branch? It already is. -- ___ Python tracker

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

2010-01-02 Thread anders musikka
anders musikka anders.musi...@gmail.com 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

[issue7615] unicode_escape codec does not escape quotes

2010-01-02 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Richard Hansen wrote: New submission from Richard Hansen rhan...@bbn.com: 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

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

2010-01-02 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com 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 rep...@bugs.python.org

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

2010-01-02 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r77236. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7592 ___

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

2010-01-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue7620] Vim syntax highlight

2010-01-02 Thread July Tikhonov
New submission from July Tikhonov july.t...@gmail.com: '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'

[issue1619] Test

2010-01-02 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: 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

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

2010-01-02 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue7621] Test issue

2010-01-02 Thread Georg Brandl
New submission from Georg Brandl ge...@python.org: [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

[issue7621] Test issue

2010-01-02 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7621 ___

[issue7621] Test issue

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

[issue7621] Test issue

2010-01-02 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: http://www.gnu.org/software/autoconf/manual/html_node/Specifying- -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7621

[issue7621] Test issue

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

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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-

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: 'aabbccddeeffgghh -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7621 ___

[issue7618] optparse library documentation has an insignificant formatting issue

2010-01-02 Thread July Tikhonov
July Tikhonov july.t...@gmail.com 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

[issue7618] optparse library documentation has an insignificant formatting issue

2010-01-02 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - ezio.melotti nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7618 ___

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: More testing: 'aabbccddeeffgghhiijjkk' -- ___ Python tracker rep...@bugs.python.org

[issue7621] Test issue

2010-01-02 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: http://psf.upfronthosting.co.za/roundup/meta/issue309 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7621 ___

[issue7462] Implement fastsearch algorithm for rfind/rindex

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I've added a version number to stringbench and committed the changes in r77240. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7462 ___

[issue7620] Vim syntax highlight

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

[issue7620] Vim syntax highlight

2010-01-02 Thread July Tikhonov
Changes by July Tikhonov july.t...@gmail.com: Removed file: http://bugs.python.org/file15719/vimsyntax.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7620 ___

[issue7620] Vim syntax highlight

2010-01-02 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon nosy: +brett.cannon priority: - low stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7620 ___

[issue7620] Vim syntax highlight

2010-01-02 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- versions: +Python 3.2 -3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7620 ___ ___

[issue7462] Implement fastsearch algorithm for rfind/rindex

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2010-01-02 Thread djc
djc dirk...@ochtman.nl added the comment: Perfect. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7619 ___ ___ Python-bugs-list mailing list

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

2010-01-02 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

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

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

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

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

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

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

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

2010-01-02 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: trunk r77263 and r77264 add this feature, including documentation and tests. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3972

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

2010-01-02 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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

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

2010-01-02 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: Removed file: http://bugs.python.org/file15677/urllib2-301-redirection.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1755841 ___