[issue9910] Add Py_SetPath API for embeddint python

2010-09-21 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: When calling Py_Initialize() from an embedding application, there is currently no way for the application to override Python's initial settin g of sys.path. An elaborate mechanism in getpathp.c kicks in, guessing the path based

[issue9862] PIPE_BUF is invalid on AIX

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Removing select.PIPE_BUF does not seem a good idea to me because this breaks compatibility. I suggest to simply set it to 512 on AIX. (An ideal solution would be to really determine the actual buffer size in ./configure; this is

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

2010-09-21 Thread Hagen Fürstenau
Hagen Fürstenau hfuerste...@gmx.net added the comment: Why does this matter? PEP 3120 specifies UTF-8 as the default source encoding. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9887

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

2010-09-21 Thread Lev Shamardin
Lev Shamardin shamar...@gmail.com added the comment: My use case was compiling PyQt4 resources and Qt Designer .ui files from setup script using pyrcc4 and pyuic4 commands. On windows pyrcc4 is actually a pyrcc4.bat file (at least it was at the time of the original bug submission - haven't

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Georg Brandl
Georg Brandl ge...@python.org 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

[issue8998] add crypto routines to stdlib

2010-09-21 Thread lorph
lorph lor...@gmail.com 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

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

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue9908

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

2010-09-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue2200

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

2010-09-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Another use case for .bat files is adddin extra params for executable files. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2200

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue9862] PIPE_BUF is invalid on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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 ___

[issue9910] Add Py_SetPath API for embeddint python

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: You must also update Modules/getpath.c. You should also add documentation. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9910

[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 n...@acm.org 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,

[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 n...@acm.org: Added file: http://bugs.python.org/file18946/issue9907-27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9907 ___

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

2010-09-21 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr 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

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

2010-09-21 Thread Hagen Fürstenau
Changes by Hagen Fürstenau hfuerste...@gmx.net: -- nosy: +hagen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9561 ___ ___ Python-bugs-list

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

2010-09-21 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com 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

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

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com 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

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

2010-09-21 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: On Tue, Sep 21, 2010 at 2:39 PM, Swapnil Talekar rep...@bugs.python.org wrote: Swapnil Talekar swapnil...@gmail.com added the comment: Nick, the last statement, While this is correct for most purposes, it does mean that... can be simplified

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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,

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

2010-09-21 Thread Vlastimil Brom
Vlastimil Brom vlastimil.b...@gmail.com 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

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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. --

[issue9911] doc copyedits

2010-09-21 Thread DSM
New submission from DSM dsm...@users.sourceforge.net: 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

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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)

[issue9911] doc copyedits

2010-09-21 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks! Committed as r84945. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9911

[issue678250] test_mmap failling on AIX

2010-09-21 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: out of date - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

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

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Michael Gilbert
Michael Gilbert michael.s.gilb...@gmail.com 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. --

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

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp 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 rep...@bugs.python.org

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

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg117058 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5505 ___

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

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

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

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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 rep...@bugs.python.org

[issue1633863] AIX: configure ignores $CC

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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

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

2010-09-21 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue9864

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp 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

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Removed file: http://bugs.python.org/file18948/py3k_openssl_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552 ___

[issue9552] ssl build under Windows always rebuilds OpenSSL

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

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file18949/py3k_openssl_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552 ___

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I want to commit py3k_openssl.patch for now, because it is much better than before. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Floris Bruynooghe
New submission from Floris Bruynooghe floris.bruynoo...@gmail.com: 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

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Oops, I missed your post. Thank you, I'll commit like that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552 ___

[issue9866] Inconsistencies in tracing list comprehensions

2010-09-21 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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:

[issue1633863] AIX: configure ignores $CC

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

[issue678250] test_mmap failling on AIX

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

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

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue2643

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2010-09-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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,

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

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg m...@egenix.com added the comment: Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr added the comment: pyOpenSSL is stable, in

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

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 pit...@free.fr: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2643 ___ ___

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

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Patch committed in r84952. Thanks! -- resolution: - fixed stage: commit review - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9899

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net 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 rep...@bugs.python.org

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com 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 tjre...@udel.edu 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 rep...@bugs.python.org http://bugs.python.org/issue9908

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks fine to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___ ___

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

2010-09-21 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I sent an email. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9119 ___ ___ Python-bugs-list

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: geremy condra wrote: geremy condra debat...@gmail.com added the comment: On Tue, Sep 21, 2010 at 4:04 AM, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg m...@egenix.com added the comment: Antoine Pitrou wrote:

[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 amaur...@gmail.com 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

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

2010-09-21 Thread Brian Curtin
Brian Curtin cur...@acm.org 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 rep...@bugs.python.org http://bugs.python.org/issue9908

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Tue, Sep 21, 2010 at 10:33 AM, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg m...@egenix.com added the comment: geremy condra wrote: geremy condra debat...@gmail.com added the comment: On Tue, Sep 21, 2010 at

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

2010-09-21 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: 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

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

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I committed the patch in r84956. Thank you for testing. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com 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 belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file8481/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue766910 ___

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

2010-09-21 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- assignee: - belopolsky nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue766910 ___

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp 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. -- ___

[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 belopol...@users.sourceforge.net: -- nosy: +ncoghlan, terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9325 ___

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra debat...@gmail.com added the comment: On Tue, Sep 21, 2010 at 11:29 AM, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg m...@egenix.com added the comment: geremy condra wrote: I'll ask Jean-Paul and AB Strakt if they are up to contributing the pyOpenSSL

[issue9906] including elementary mathematical functions in default types

2010-09-21 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9906 ___

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-21 Thread Matt Bond
Matt Bond gmattb...@gmail.com 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

[issue9860] Building python outside of source directory fails

2010-09-21 Thread Ned Deily
Ned Deily n...@acm.org 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

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

2010-09-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9899 ___ ___ Python-bugs-list

[issue9915] speeding up sorting with a key

2010-09-21 Thread Daniel Stutzbach
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com: (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

[issue9915] speeding up sorting with a key

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue9915

[issue9915] speeding up sorting with a key

2010-09-21 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue9131] test_set_reprs in test_pprint is fragile

2010-09-21 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: Committed in r84961 -- stage: patch review - committed/rejected status: open - closed type: - behavior versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue8998] add crypto routines to stdlib

2010-09-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com 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

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

2010-09-21 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2010-09-21 Thread John J Lee
John J Lee jj...@users.sourceforge.net 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 dan...@stutzbachenterprises.com 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

[issue9916] errno module is missing some symbols

2010-09-21 Thread Barry A. Warsaw
New submission from Barry A. Warsaw ba...@python.org: 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 */

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent: Tue,

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent: Tue, 21

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent: Tue,

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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é rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent: Tue,

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent: Tue,

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

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent:

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Floris Bruynooghe
Floris Bruynooghe floris.bruynoo...@gmail.com 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

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

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent:

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

2010-09-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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 rep...@bugs.python.org To: breamore...@yahoo.co.uk Sent:

[issue9912] Fail when vsvarsall.bat produces stderr

2010-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: yes, displaying the stderr content is a good idea. -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9912 ___

[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 amaur...@gmail.com: Removed file: http://bugs.python.org/file18958/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1962 ___

[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 amaur...@gmail.com: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1962 ___ ___

  1   2   >