[issue8998] add crypto routines to stdlib

2010-09-22 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: geremy condra wrote: > > 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 so

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread ingemar
New submission from ingemar : I am using Kubuntu 10.4 on a no-brand box with a 64-bit CPU. I use my own download and install of Python 3.1, SIP and PyQt. The default download directory as set up by the Kubuntu install is /home/ingemar/Hämtningar, where "Hämtningar" is Swedish and corresponds to

[issue678250] test_mmap failling on AIX

2010-09-22 Thread Sébastien Sablé
Sébastien Sablé added the comment: After Antoine commit concerning issue2643, here is a new patch (just removing the changes in close). Could you commit it? -- Added file: http://bugs.python.org/file18963/patch_mmap_flush_updated.diff ___ Python tr

[issue678264] test_resource fails when file size is limited

2010-09-22 Thread Sébastien Sablé
Sébastien Sablé added the comment: The ideal would be to check that RLIMIT_FSIZE corresponds to the ulimit as it has been suggested by Neal Norwitz in msg14345, but since the value reported by ulimit has a different unit for each platform, that would be quite a lot of trouble. All I can sugg

[issue1675951] Performance for small reads and fix seek problem

2010-09-22 Thread Florian Festi
Florian Festi added the comment: Stupid me! I ran the tests against my systems gzip version (Py 3.1). The performance issue is basically fixed by rev 77289. Performance is even a bit better that my original patch by may be 10-20%. The only test case where it performs worse is Random 1048576

[issue1675951] Performance for small reads and fix seek problem

2010-09-22 Thread Florian Festi
Changes by Florian Festi : Added file: http://bugs.python.org/file18965/0002-Avoid-the-need-of-seek-ing-on-the-file-read-2.patch ___ Python tracker ___ ___

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2010-09-22 Thread Sébastien Sablé
Sébastien Sablé added the comment: I can confirm this is still a problem in py3k for AIX 5.3 and AIX 6.1. The file "/usr/lpp/xlC/include/load.h" does not exist anymore; it is now "/usr/include/load.h". The proposed patch would only create a problem for very old versions of AIX and xlc (which

[issue9919] gdbinit lineno result is one line in excess

2010-09-22 Thread qpatata
New submission from qpatata : Thanks a lot to all python teams for your excel.lent work. When latest version of gdbinit macros is used to debug with gdb a python 2.4 session, the result from lineno macro seems one line more than the correct one. If we compare the gdb macro: define lineno

[issue730467] Not detecting AIX_GENUINE_CPLUSPLUS

2010-09-22 Thread Sébastien Sablé
Sébastien Sablé added the comment: It should also be changed in Python/dynload_aix.c: Index: Python/dynload_aix.c === --- Python/dynload_aix.c(révision 84964) +++ Python/dynload_aix.c(copie de travail) @@ -12,7 +12,

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread R. David Murray
R. David Murray added the comment: I'm amazed you only got two failures. Victor has been doing a lot of work in 3.2 trying to make non-ascii paths work reliably. -- nosy: +haypo, r.david.murray ___ Python tracker

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread R. David Murray
R. David Murray added the comment: oh, wait, victor's work is for undecodable non-ascii characters. I think flox did the work on decodable non-ascii characters, and that may well have gone into 3.1. -- nosy: +flox ___ Python tracker

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: See issue7606 and issue7605: both fixed in SVN. All is needed is a new 3.1.x release :) -- nosy: +pitrou resolution: -> out of date status: open -> closed versions: +Python 3.2 ___ Python tracker

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

2010-09-22 Thread R. David Murray
R. David Murray added the comment: And here is Martin's summary of the issue: I think we really should create new issues for any remaining problems. AFAICT, the remaining problems are: - resource.RLIM_INFINITY is -1 on Linux, when it is meant to be a really large value - (as you reported) g

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2010-09-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: In msg108954, I believe belopolsky is mistaken in stating that "it would be easy to simply provide custom __getinitargs__ or __reduce__ to support it". It appears __getinitargs__ does not work on Python 2.5 or Python 2.7. Exceptions of the following class st

[issue7296] OverflowError: signed integer is greater than maximum on mips64

2010-09-22 Thread jasper
jasper added the comment: FYI, the issue has been fixed now in the mips64 port of OpenBSD by "replacing the previous/old floating point completion code with a C interface to the MI softfloat code, implementing all MIPS IV specified floating point operations." -- _

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Sébastien Sablé
New submission from Sébastien Sablé : test_cmath will fail with the following error on AIX: == FAIL: test_specific_values (test.test_cmath.CMathTests) -- Traceb

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. This looks like it's probably a bug (not a particularly serious one, but worth reporting) on AIX. The 'tanh' configure test diagnoses a similar wrong-sign-of-zero problem on FreeBSD; it looks as though AIX is happy here---that is, 'ye

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: P.S. Was the test with a debug build of Python? If not, could you see if the test failure still occurs with a debug build (i.e., when --with-pydebug is passed as a configure argument)? That would help eliminate compiler optimization bugs as a possible caus

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry---one more question: could you tell me what the following gives on the AIX machine? Python 2.7 (r27:82500, Aug 15 2010, 14:21:15) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> f

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2010-09-22 Thread Jason R. Coombs
Jason R. Coombs added the comment: After some further reading, I found that PEP-352 (http://www.python.org/dev/peps/pep-0352/) explicitly states that "Including programmatic information (e.g., an error code number) should be stored as a separate attribute in a subclass [and not in the args at

[issue9921] os.path.join('x','') behavior

2010-09-22 Thread Radu Grigore
New submission from Radu Grigore : The docs say that "the return value is the concatenation of path1, and optionally path2, etc., with exactly one directory separator (os.sep) inserted between components, unless path2 is empty." But os.path.join('x','') returns 'x/' in which path1 and path2 *a

[issue9915] speeding up sorting with a key

2010-09-22 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Attached is my script for running a more comprehensive battery of speed tests. The script itself requires Python 2.6 with argparse installed or Python 2.7 (which includes argparse). For obvious reasons, please make sure that your unpatched and patched vers

[issue9919] gdbinit lineno result is one line in excess

2010-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Can you show an example which shows an incorrect lineno? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ _

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2010-09-22 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Sep 22, 2010 at 9:39 AM, Jason R. Coombs wrote: > .. It appears __getinitargs__ does not work on Python 2.5 or Python 2.7. Yes, __getinitargs__ is only used for old style classes. I was wrong on that point. > Exceptions of the following class

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-22 Thread Ask Solem
Ask Solem added the comment: Maybe surprising but not so weird if you think about what happens behind the scenes. When you do >>> x = man.list() >>> x.append({}) You send an empty dict to the manager to be appended to x when do: >>> x[0] {} you receive a local copy of the emp

[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2010-09-22 Thread Ask Solem
Ask Solem added the comment: I created a small doc patch for this (attached). -- keywords: +needs review, patch nosy: +asksol versions: +Python 3.1 -Python 2.6 Added file: http://bugs.python.org/file18967/multiprocessing-issue7707.patch ___ Python tr

[issue9919] gdbinit lineno result is one line in excess

2010-09-22 Thread qpatata
qpatata added the comment: Hello, Thanks for your colaboration. Starting by the following python file, called "prueba.py": > cat prueba.py import time def bar(): time.sleep(10); print "hello"; def foo(): while True: bar(); foo(); Open a gdb session with python2-6 as targe

[issue9921] os.path.join('x','') behavior

2010-09-22 Thread R. David Murray
R. David Murray added the comment: Since changing the implementation would be a backward incompatible behavior change to a behavior that has existed for a long time, it's the docs that should be updated. -- assignee: -> d...@python components: +Documentation -Library (Lib) nosy: +d..

[issue9916] errno module is missing some symbols

2010-09-22 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: r84966 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue1462440] socket and threading: udp multicast setsockopt fails

2010-09-22 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: I tested it on a Windows XP box, and encountered the same problem. The error is raised because Windows XP requires the socket to be bound before calling setsockopt(IPPROTO_IP, IP_ADD_MEMBERSHIP, mreq). So calling bind() before setsockopt() solves this

[issue9922] subprocess.getstatusoutput and bytes

2010-09-22 Thread geremy condra
New submission from geremy condra : It looks like subprocess.getstatusoutput on 3.2a1 tries to coerce to UTF-8, which fails when dealing with bytes. This demonstrates the behavior nearly all the time for me on Ubuntu 10.04: >>> import subprocess >>> subprocess.getstatusoutput('dd if=/dev/rando

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-22 Thread Matt Bond
Matt Bond added the comment: As requested, attached is the output for the fix_buffer fixer, as an example of the kind of output this patch can produce. -- Added file: http://bugs.python.org/file18968/fix_buf_pytree_1.png ___ Python tracker

[issue9919] gdbinit lineno result is one line in excess

2010-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: OK, I reproduce the issue. It is now clear to me as well that r39492 was slightly wrong: the replacement of "break" should avoid to execute the end of the loop. The following patch fixes the issue for me, can someone with better gdb knowledge check it?

[issue1257] atexit errors should result in nonzero exit code

2010-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: exit code = 128 + # of failed atexits I don't agree with the feature. Do we need something so complex? -- nosy: +amaury.forgeotdarc ___ Python tracker __

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-22 Thread Éric Araujo
Éric Araujo added the comment: > When I was working with 2to3 this summer I was running it via python3, > so I think the patch should work Code in the patch uses print as a keyword (2.x), not a function (3.x). How does that work? > however, if I've submitted it to the wrong place or the wrong

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-22 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- resolution: -> fixed status: open -> closed versions: -Python 2.7, Python 3.1 ___ Python tracker ___ __

[issue1491804] Simple slice support for list.sort() and .reverse()

2010-09-22 Thread R. David Murray
R. David Murray added the comment: In fact, I find the proposed syntax *less* obvious than the slice syntax, for sorted. IOW, I'd be -1 on adding these to sorted. The potentially useful case is between l[a:b] = sorted(l[a:b}) vs l.sort(start=a, stop=b) where the interesting bit i

[issue1491804] Simple slice support for list.sort() and .reverse()

2010-09-22 Thread R. David Murray
Changes by R. David Murray : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

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

2010-09-22 Thread R. David Murray
R. David Murray added the comment: I'm assigning this to myself because I'm assigned on all email issues, but that shouldn't prevent someone from working on a patch implementing Antoine's suggestion. -- ___ Python tracker

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

2010-09-22 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9923] mailcap module may will not work on non-POSIX platforms if MAILCAPS env variable is set

2010-09-22 Thread Gregory Nofi
New submission from Gregory Nofi : mailcap.getcaps() has a call to mailcap.listmailcapfiles(), which returns a list of all mailcap files found on the system. listmailcapfiles() first looks for the MAILCAPS environment variable. If it exists, it converts the string value into a list by splittin

[issue9923] mailcap module may will not work on non-POSIX platforms if MAILCAPS env variable is set

2010-09-22 Thread Gregory Nofi
Changes by Gregory Nofi : Added file: http://bugs.python.org/file18970/mailcap_py3k.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9923] mailcap module may not work on non-POSIX platforms if MAILCAPS env variable is set

2010-09-22 Thread Gregory Nofi
Gregory Nofi added the comment: Fixing typo in title -- title: mailcap module may will not work on non-POSIX platforms if MAILCAPS env variable is set -> mailcap module may not work on non-POSIX platforms if MAILCAPS env variable is set ___ Python

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

2010-09-22 Thread Jeffrey Finkelstein
Jeffrey Finkelstein added the comment: Where does "email6" live? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-22 Thread Alex
Alex added the comment: It should be documented though. Similar scenario in the Django docs: http://docs.djangoproject.com/en/1.2/topics/http/sessions/#when-sessions-are-saved -- nosy: +alex ___ Python tracker __

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-22 Thread mike bayer
New submission from mike bayer : Copying this bug from the pysqlite tracker, at http://code.google.com/p/pysqlite/issues/detail?id=21 , as the issue has been opened for two days with no reply. (side node - should sqlite3 bugs be reported here or on the pysqlite tracker ?) The text below was o

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-22 Thread mike bayer
mike bayer added the comment: My own comment here is that I'm supposing the "late BEGIN" behavior is to cut down on SQLite's file locking.I think a way to maintain that convenience for most cases, while allowing the stricter behavior that makes SERIALIZABLE isolation worthwhile, would be

[issue9808] Implement os.getlogin on Windows

2010-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The patch looks good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2175] Expat sax parser silently ignores the InputSource protocol

2010-09-22 Thread Georg Brandl
Georg Brandl added the comment: I'll have a look. -- assignee: loewis -> georg.brandl nosy: +georg.brandl priority: normal -> critical ___ Python tracker ___

[issue2193] Cookie Colon Name Bug

2010-09-22 Thread Georg Brandl
Georg Brandl added the comment: I'll have a look. -- assignee: akuchling -> georg.brandl nosy: +georg.brandl priority: normal -> critical ___ Python tracker ___ _

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-22 Thread Georg Brandl
Georg Brandl added the comment: Changing to doc issue. -- components: +Documentation -Library (Lib) nosy: +georg.brandl ___ Python tracker ___ ___