[issue1595365] Urllib2 user-agent header added by an opener is "frozen"

2010-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is still a valid bug. -- assignee: -> orsenthil resolution: -> accepted stage: unit test needed -> needs patch ___ Python tracker ___

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-21 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1172011] BaseCookie should call value_decode from __getitem__

2010-09-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Moreover, BaseCookie should be used only for subclassing. Proper way is to always use SimpleCookie, this was an Invalid bug report. -- stage: unit test needed -> committed/rejected ___ Python tracker

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

2010-09-21 Thread R. David Murray
R. David Murray added the comment: Yes, email6 should make use of datetime objects. For email5 Antoine's proposal is better, but the question is will it happen before 3.2 beta :) -- ___ Python tracker ___

[issue9917] resource max value represented as signed when should be unsigned

2010-09-21 Thread R. David Murray
New submission from R. David Murray : Breaking out the library bug discussed in issue 678264 from the test bug the issue is about. See msg14344 and msg116479. -- components: Library (Lib) messages: 117123 nosy: ajaksu2, loewis, mdr0, nnorwitz, r.david.murray, sable priority: normal sev

[issue678264] test_resource fails when file size is limited

2010-09-21 Thread R. David Murray
R. David Murray added the comment: That's what the original report is about, as opposed to the linux repr issue that Martin wants to break out into a new ticket (which I will do). Any ideas how to fix the test? It didn't fail for me on linux, so I don't have a good test platform for trying

[issue8998] add crypto routines to stdlib

2010-09-21 Thread geremy condra
geremy condra added the comment: >>> The pyOpenSSL port to Python3 is closing in on completion. Jean-Paul >>> is planning for an alpha release next month. >> >> Do you know if he's looking for help with that? There's been some talk of >> a porting sprint here and I'd be happy to put that at the

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread R. David Murray
R. David Murray added the comment: The 'str' around get_param shouldn't be there, that was left over from an earlier version of the patch. I use surrogateescape rather than latin1 because using surrogateescape with ascii encoding gives me a reliable way to know whether or not the original so

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: A couple of comments: - what is `str(self.get_param('charset', 'ascii'))` supposed to achieve? does get_param() return a bytes object? - instead of ascii+surrogateescape, you could simply use latin1 -- nosy: +pitrou ___

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-09-21 Thread R. David Murray
R. David Murray added the comment: OK, I'm not entirely sure I want to post this, but Antoine and I were having a conversation about nntplib and email and I noted that unicode as an email transmission channel acts as if it required 7bit clean data. That is, that there's no way to use uni

[issue2193] Cookie Colon Name Bug

2010-09-21 Thread John J Lee
John J Lee added the comment: Looks like a bug. Here's the trac bug that this caused -- trac fixed their bug by working around this bug in a really ugly way: http://trac.edgewall.org/ticket/2256 It would be nice to notify the trac developers if/when this is fixed. This bug is probably not s

[issue9915] speeding up sorting with a key

2010-09-21 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[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 message: http://bugs.python.org/msg117111 ___ Python tracker ___ ___ Python-bugs-list mail

[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/msg117110 ___ 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/msg117106 ___ 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

[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/msg117109 ___ Python tracker ___ ___ Python-bugs-list mailing

[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 ___

[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://

[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

[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 ___ __

[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

[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

[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

[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

[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

[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 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: 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:28:06 Subject: [issue678

[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

[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

[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 _

[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

[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

[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 _

[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

[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 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

[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://

[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

[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

[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

[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

[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:

[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

[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

[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

[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

[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 ___

[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

[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

[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 ___

[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

[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

[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

[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:

[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 ___ _

[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

[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 ___

[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 __

[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

[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

[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 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

[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

[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

[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 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: 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

[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

[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_

[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

[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-

[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: I want to commit py3k_openssl.patch for now, because it is much better than before. -- ___ Python tracker ___ ___

[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 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 : 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 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

[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 ___

[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

[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 __

[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

[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

[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

[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 __

[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 <

[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. --

[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

[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 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

[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

[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

[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

[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: 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

[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

  1   2   >