[issue8998] add crypto routines to stdlib

2010-09-21 Thread Georg Brandl
Georg Brandl added the comment: > If that text is deemed to be advertising by Eric Young and a court of law The license of a software product cannot affect software that is not even aware of that said product. (A patent, or a trademark can.) It governs the use of that product, not of others

[issue8998] add crypto routines to stdlib

2010-09-21 Thread lorph
lorph added the comment: > The license of a software product cannot affect software that is not even > aware of that said product. I never claimed that the clause triggered for all software in existence. We are talking about OpenSSL being bundled with Python where Python is very much aware o

[issue9908] os.stat() fails on bytes paths under Windows 7

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Has the patch been tested on WinXP to be sure it does not introduce a > bug for this? No. Can you? -- ___ Python tracker ___

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread anatoly techtonik
anatoly techtonik added the comment: I believe I had problems with SCons and other .py scripts that are installed as executable .bat files on Windows. -- ___ Python tracker ___

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread anatoly techtonik
anatoly techtonik added the comment: Another use case for .bat files is adddin extra params for executable files. -- ___ Python tracker ___ __

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I never claimed that the clause triggered for all software in > existence. We are talking about OpenSSL being bundled with Python > where Python is very much aware of OpenSSL. Provided the following 3 > circumstances are met, the advertisement clause applies:

[issue9862] PIPE_BUF is invalid on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: OK for me. Here is a new patch that defines PIPE_BUF to 512 instead of removing select.PIPE_BUF. -- Added file: http://bugs.python.org/file18944/patch_broken_pipe_buf_updated.diff ___ Python tracker

[issue9910] Add Py_SetPath API for embeddint python

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: You must also update Modules/getpath.c. You should also add documentation. -- nosy: +pitrou ___ Python tracker ___ _

[issue9907] interactive mode TAB does not insert on OS X built with editline instead of GNU readline

2010-09-21 Thread Ned Deily
Ned Deily added the comment: The problem is due to a difference in the behavior of the rl_initialize function between the editline readline emulation and the real GNU libreadline. Modules/readline.c setup_readline calls several rl functions to create various default bindings, including overr

[issue9907] interactive mode TAB does not insert on OS X built with editline instead of GNU readline

2010-09-21 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file18946/issue9907-27.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2200] find_executable fails to find .bat files on win32

2010-09-21 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the use cases. I agree this is a bug, not a feature, so unless Tarek disagrees I will commit the last patch. I'm not sure this requires tests. -- assignee: tarek -> eric.araujo resolution: -> accepted stage: -> patch review ___

[issue9887] distutil's build_scripts doesn't read utf-8 in all locales

2010-09-21 Thread Éric Araujo
Éric Araujo added the comment: Okay. Then this bug is part of #9561. -- components: +Distutils2 resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> distutils: set encoding to utf-8 for input and output files versions: +Python 2.7, Python 3.2

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > >> pyOpenSSL is stable, in production use and >> has a decent API. The ssl module is good enough for HTTPS client >> use. pyOpenSSL provides a robust server side implementation with >> all the

[issue9561] distutils: set encoding to utf-8 for input and output files

2010-09-21 Thread Hagen Fürstenau
Changes by Hagen Fürstenau : -- nosy: +hagen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-09-21 Thread Matthew Barnett
Matthew Barnett added the comment: I use Python 3, where len("\U00010337") == 2 on a narrow build. Yes, wide Unicode on a narrow build is a problem: >>> regex.findall("\\U00010337", "a\U00010337bc") [] >>> regex.findall("(?i)\\U00010337", "a\U00010337bc") [] I'm not sure how (or whether!) to

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Added OpenSSL license to Python 2.7, 3.1 and 3.2 in r84938, r84939, r84940 resp. Now we'll only need to add a mention of the fact that we ship OpenSSL in the Windows installers on the download page. Terry, would you like to move this forward with the Pyth

[issue6627] threading.local() does not work with C-created threads

2010-09-21 Thread Nick Coghlan
Nick Coghlan added the comment: On Tue, Sep 21, 2010 at 2:39 PM, Swapnil Talekar wrote: > Swapnil Talekar added the comment: > Nick, the last statement, > "While this is correct for most purposes, it does mean that..." > can be simplified to, > "It means...". > I had to read it several times b

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: For info: this test fails on AIX 6.1 with py3k with the following error: test test_resource failed -- Traceback (most recent call last): File "/san_cis/home/cis/buildbot/buildbot-aix6/py3k-aix6-xlc/build/Lib/test/test_resource.py", line 28, in test_fsize_i

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-09-21 Thread Vlastimil Brom
Vlastimil Brom added the comment: Well, of course, the surrogates probably shouldn't be handled separately in one module independently of the rest of the standard library. (I actually don't know such narrow implementation (although it is mentioned in those unicode quidelines http://unicode.o

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: I suppose the difference comes from the fact that I have: on AIX 5.3: $ ulimit -f unlimited on AIX 6.1: $ ulimit -f 1048575 I think the test should be updated to not require "ulimit -f" is unlimited. -- ___ Pyth

[issue9911] doc copyedits

2010-09-21 Thread DSM
New submission from DSM : Various typo fixes for the docs. As usual, I left historical documents alone (except for 3.1 whatsnew: fixed the spelling of Jack Diederich's name). Fixing ~30 means I probably introduced ~3 problems of my own, but that should still be a net win.. Patch against py3

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: IIRC, trigonometric functions, such as sin or cos, are not considered "elementary" in the real domain. The problem with this proposal is where to stop. Right now the line is drawn somewhere at __abs__ and __pow__. If you add __sin__ and __cos__, you w

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: I would like to reopen this issue as it is still occurring in py3k on AIX 5.3 and 6.1: Re-running test test_mmap in verbose mode test_access_parameter (test.test_mmap.MmapTests) ... ERROR test_anonymous (test.test_mmap.MmapTests) ... ok test_bad_file_desc (te

[issue9911] doc copyedits

2010-09-21 Thread Georg Brandl
Georg Brandl added the comment: Thanks! Committed as r84945. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue678250] test_mmap failling on AIX

2010-09-21 Thread R. David Murray
Changes by R. David Murray : -- resolution: out of date -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I've added #9909 as a dependency, but IMO it is less likely to be accepted than this feature request. On this issue, I would much rather see email package to start using datetime objects to represent time rather than named or unnamed tuples. --

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Michael Gilbert
Michael Gilbert added the comment: the elementary functions are well-defined set, and i would include all of them. that includes exp, sqrt, ln, trig, and hyperbolic functions. i'll start a thread on python-ideas. thanks. -- ___ Python tracker <

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I guess this is not duplicate. On HEAD of py3k, #9658 seems to be fixed, but the issue reported here can be reproduced even now. -- ___ Python tracker __

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- Removed message: http://bugs.python.org/msg117058 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Matt, Can you post a sample graph in a common image format, say PNG? I am curious to see it, but not curious enough to install graphviz. -- nosy: +belopolsky ___ Python tracker

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > On this issue, I would much rather see email package to start using > datetime objects to represent time rather than named or unnamed tuples. I agree on the principle, but I don't know if it's acceptable with regards to compatibility. It's up to David and Ba

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > Does this apply to 2.7 too? I think it does, but it would be hard to sell any improvements in this area as a bug fix. -- ___ Python tracker __

[issue1633863] AIX: configure ignores $CC

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: I am currently in the process of correcting the building of Python on AIX and stabilizing the tests in order to add my buildbot as a slave of the official buildbot master, cf post on python-dev http://mail.python.org/pipermail/python-dev/2010-September/103774

[issue9864] email.utils.{parsedate, parsedate_tz} should have better return types

2010-09-21 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: It does make sense, and email6 is like Python 3 in the sense that backward compatibility is not a priority. -- ___ Python tracker ___

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Thank you for the test. Well, I noticed py3k_openssl.patch can suppress rebuild of OpenSSL nicely, but from IDE, _ssl and _hashlib are always rebuilt. It doesn't take so much time though. With py3k_openssl_v2.patch, we can supress OpenSSL and python project

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Removed file: http://bugs.python.org/file18948/py3k_openssl_v2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Well, I noticed py3k_openssl.patch can suppress rebuild > of OpenSSL nicely, but from IDE, _ssl and _hashlib > are always rebuilt. It doesn't take so much time though. > > With py3k_openssl_v2.patch, we can supress OpenSSL and > python project rebuild nicely,

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : Added file: http://bugs.python.org/file18949/py3k_openssl_v2.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I want to commit py3k_openssl.patch for now, because it is much better than before. -- ___ Python tracker ___ ___

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Floris Bruynooghe
New submission from Floris Bruynooghe : It would have saved me a lot of time if msvc9compiler would fail if executing the vsvarsall.bat file produced any output. The attached patch does this and fails when I try to compile from within a cygwin environment. I've also tested this from the norm

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Oops, I missed your post. Thank you, I'll commit like that. -- ___ Python tracker ___ ___ Python-

[issue9866] Inconsistencies in tracing list comprehensions

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I have found the root cause of these differences. The trace function is not called when the opcode is successfully predicted. When computed gotos are enabled, opcode prediction is disabled as explained in the following comment in ceval.c: Opcode

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Should flush be modified to do nothing in this case or should the unit test > be updated? Tim is suggesting that flush should indeed become a noop. Since nobody else speaking in favor of it being an error, I guess this is the way to go: flush, on an ACCESS_

[issue1633863] AIX: configure ignores $CC

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, committed in r84946 (3.2), r84947 (3.1) and r84948 (2.7). Thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 2.6 ___ Python tracker

[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: It's a pity that flush() is defined like this. Ideally, if mmap claims to mimick ordinary file objects, flush() should be a no-op() and there should be a separate sync() method. On the other hand, your (Charles-François's) patch is already much better than t

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Interestingly, the matter was discussed on another issue, #2643. I also agree that ideally flush() should become a no-op (only in 3.2, since it would break compatibility). But then we should also expose a separate sync() method with the current behaviour. --

[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I notice that there's support in #678250 for making flush() a no-op. We should still fix tp_dealloc anyway. -- ___ Python tracker ___ __

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Interestingly, the matter was discussed on another issue, #2643. I > also agree that ideally flush() should become a no-op (only in 3.2, > since it would break compatibility). But then we should also expose a > separate sync() method with the current behaviou

[issue9913] Misc/SpecialBuilds.txt is out of date

2010-09-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : It looks like Misc/SpecialBuilds.txt has not been updated since 2.4. This file is referenced from C-API documentation [1], but is not accessible as a hyperlink. Some of the recommendations in this file are out of date, in particular those that recomm

[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think Antoine misinterpreted my message. I do think that flush should continue to msync, except in cases where there really is no underlying file to sync to. It may (or may not) be unfortunate that the method is called flush, but nothing is gained by renam

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Antoine Pitrou wrote: >> >> Antoine Pitrou added the comment: >> >>> pyOpenSSL is stable, in production use and >>> has a decent API. The ssl module is goo

[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I agree that calling msync on close/dealloc is not really necessary. > The Windows version doesn't sync, either. Ok, thank you. I committed the patch in r84950. -- ___ Python tracker

[issue2643] mmap_object_dealloc calls time-consuming msync(), although close doesn't

2010-09-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9899] tkinter test_font fails on OS X with Aqua Tk

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch committed in r84952. Thanks! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> pending ___ Python tracker __

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé added the comment: Would that patch be OK? It solves the test_mmap on AIX. -- keywords: +patch Added file: http://bugs.python.org/file18951/patch_flush_mmap.diff ___ Python tracker ___

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A non-empty stderr does not mean that a command failed. For example, the Microsoft compiler "cl.exe" prints the version string to stderr. -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue9908] os.stat() fails on bytes paths under Windows 7

2010-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Only if given a revised 32bit binary (and revised test_os.py). I expect someone else who can will see this. -- ___ Python tracker ___ _

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Looks fine to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue9119] Python download page needs to mention crypto code in Windows installer

2010-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I sent an email. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: geremy condra wrote: > > geremy condra added the comment: > > On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg > wrote: >> >> Marc-Andre Lemburg added the comment: >> >> Antoine Pitrou wrote: >>> >>> Antoine Pitrou added the comment: >>> pyOpen

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I don't think this should happen by default. but what the user wants is already possible, by using the from_param() method. For example, the AutoStrParam type converts everything to a string (and a char*): from ctypes import * class AutoStrParam(c_cha

[issue9908] os.stat() fails on bytes paths under Windows 7

2010-09-21 Thread Brian Curtin
Brian Curtin added the comment: The patch looks ok to me. I tested it on Server 2003 (same as XP) and it worked fine in addition to Windows 7. -- ___ Python tracker ___

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 10:33 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > geremy condra wrote: >> >> geremy condra added the comment: >> >> On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg >> wrote: >>> >>> Marc-Andre Lembur

[issue9914] trace/profile conflict with the use of sys.modules[__name__]

2010-09-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : The main() method of trace and profile modules attempt to emulate the environment in which traced code runs when invoked directly, but it fails in several respects. The specific problem which is the subject of this issue is that while __name__ is se

[issue9908] os.stat() fails on bytes paths under Windows 7

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I committed the patch in r84956. Thank you for testing. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: geremy condra wrote: > I'll ask Jean-Paul and AB Strakt if they are up to contributing the pyOpenSSL code to the Python stdlib based on a contributor agreement. This would enable us to relicense the code under the PSF license even if the

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file8481/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: I committed py3k_openssl.patch in r84957(py3k). I won't merge into release27-maint nor release31-maint because they are built against openssl-0.9.x and don't have *.asm copy code. -- ___ Python tracker

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2010-09-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +ncoghlan, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: On Tue, Sep 21, 2010 at 11:29 AM, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > geremy condra wrote: >> > I'll ask Jean-Paul and AB Strakt if they are up to contributing > the pyOpenSSL code to the Python stdlib based on a cont

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-21 Thread Matt Bond
Matt Bond added the comment: Éric, When I was working with 2to3 this summer I was running it via python3, so I think the patch should work - however, if I've submitted it to the wrong place or the wrong branch, where should I be looking at to ensure my code does work on 3.2 and is submitted

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Ned Deily
Ned Deily added the comment: FYIW, the OS X installer build script (Mac/BuildScript/build-installer.py for years has, and continues to, depend on building outside of the source directory. When I build one, I always start with a clean source directory. There are so many opportunities for the

[issue9899] tkinter test_font fails on OS X with Aqua Tk

2010-09-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9915] speeding up sorting with a key

2010-09-21 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : (I've made an educated guess about who to add to the Nosy list) The attached patch substantially speeds up sorting using the "key" parameter. It is purely a performance patch; the language and libraries are not changed in any other way from the users poi

[issue9915] speeding up sorting with a key

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks rather nice. I don't think there's any point in micro-optimizations such as stack_keys. -- nosy: +pitrou ___ Python tracker ___ _

[issue9915] speeding up sorting with a key

2010-09-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Conceptually, this is a reasonable approach. I originally put in the sortwrapper as a straight-forward technique of tackling the 2.x API which allowed a key-function, or a cmp-function, or both, or neither. IOW, the original motivation is now gone. Th

[issue9131] test_set_reprs in test_pprint is fragile

2010-09-21 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Committed in r84961 -- stage: patch review -> committed/rejected status: open -> closed type: -> behavior versions: -Python 3.3 ___ Python tracker _

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: geremy condra wrote: > >>> The intention all along has been that we use the C API, and in fact >>> I'm pretty far along on writing that. Assuming there won't be an issue >>> with porting pyopenssl to python3, this seems like a pretty good idea >>> to me tho

[issue9325] Add an option to pdb/trace/profile to run library module as a script

2010-09-21 Thread Nick Coghlan
Nick Coghlan added the comment: I've thought about this in the past, but never really pursued it due to the question of what to do with the __main__ namespace. There are three options here: 1. Use runpy.run_module to run the module in a fresh __main__ namespace 2. Use runpy.run_module to run t

[issue1660009] continuing problem with httplib multiple set-cookie headers

2010-09-21 Thread John J Lee
John J Lee added the comment: What I said in 2007 re commas could be well out of date (might well have been so even then, in fact). Somebody should check what browsers do now... -- ___ Python tracker _

[issue9915] speeding up sorting with a key

2010-09-21 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Antoine said: > I don't think there's any point in micro-optimizations such as > stack_keys. Good point. I'll try taking that out and see how it impacts the timing. Raymond said: > The memmove, memcpy functions are tricky to time because of varying > perfor

[issue9916] errno module is missing some symbols

2010-09-21 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : According to this message, Python's errno module is missing some symbols: https://lists.ubuntu.com/archives/ubuntu-devel/2010-August/031341.html ENOMEDIUM 123 /* No medium found */ EMEDIUMTYPE 124 /* Wrong medium type */ ECANCELED 12

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:28:06 Subject: [issue678

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Antoine Pitrou To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:43:19 Subject: [issue67825

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:53:27 Subject: [issue678

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Sébastien Sablé To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 17:36:48 Subject: [issue67

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 18:16:40 Subject: [issue678

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Amaury Forgeot d'Arc To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 18:56:51 Subject: [issu

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: I'm aware of that but my limited testing showed that in this case that doesn't happen. However if this is considered too brittle to just plain fail as soon as there's stderr, how about using distutils' log facility to log the stderr at a reasonable level

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Alexander Belopolsky To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 19:30:44 Subject: [issu

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Alexander Belopolsky To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 19:35:10 Subject: [issu

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: yes, displaying the stderr content is a good idea. -- stage: -> needs patch ___ Python tracker ___ __

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : Removed file: http://bugs.python.org/file18958/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Floris Bruynooghe
Floris Bruynooghe added the comment: msvc9_log.diff does log stderr at warning level when it occurs. -- Added file: http://bugs.python.org/file18961/msvc9_log.diff ___ Python tracker ___

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- Removed message: http://bugs.python.org/msg117109 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- Removed message: http://bugs.python.org/msg117108 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- Removed message: http://bugs.python.org/msg117107 ___ Python tracker ___ ___ Python-bugs-list mailing

  1   2   >