[issue8772] sysconfig: _get_default_scheme can be made public?

2010-05-20 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Here it is: def get_current_scheme(): scheme = os.name if scheme == 'posix': scheme = 'posix_prefix' return scheme def get_current_user_scheme():

[issue8775] Use locale encoding to encode command line arguments (subprocess, os.exec*(), etc.)

2010-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8775 ___

[issue8776] Bytes version of sys.argv

2010-05-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8776 ___

[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Sorry, dropping this again. I've got caught up with too many non-datetime related issues. -- assignee: mark.dickinson - ___ Python tracker rep...@bugs.python.org

[issue8777] Add threading.Barrier

2010-05-20 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson krist...@ccpgames.com: The barrier synchronization primitive is often very useful. It is simpler to use than an Event, for example, when waiting for threads to start up, or to finish. The patch contains a simple barrier implementation based on a

[issue8777] Add threading.Barrier

2010-05-20 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8777 ___ ___

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: As a separate issue, I notice that the new 'T{}' code doesn't respect multiplicities, e.g., as in 'H3T{HHL}'. Is that intentional/desirable? That could have been an oversight on my part. I don't see any immediate reason why we wouldn't

[issue8748] integer-to-complex comparisons give incorrect results

2010-05-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Thanks for the updated patch; I'll take a closer look tonight, and apply it if all looks good. I incorporated the changes locally and have not updated the patch yet. I will update it later today. --

[issue8775] Use locale encoding to decode sys.argv, not the file system encoding

2010-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think that we should use the locale encoding to encode and decode command line arguments. I disagree. IIUC, this is only about OSX. Now, we shouldn't take any action until either some OSX expert explains us how command line arguments

[issue8776] Bytes version of sys.argv

2010-05-20 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: As os.environb, it would be useful to have bytes version of sys.argv to have able to decide the encoding used to decode each argument, or to manipulate bytes if we don't care about the encoding. -1. Py_Main expects wchar_t*, so no

[issue8765] Tests unwillingly writing unicocde to raw streams

2010-05-20 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com added the comment: Allright, what's the expected behaviour then - implicitly converting unicode to bytes (like C RawFileIO), or raising a typeerror (like buffered streams do) ? -- ___ Python tracker

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: (whoops -- used unsigned struct codes to correspond to signed C types there; but it shouldn't make any difference to the sizes and padding). I am tempted to suggest that we just go back to having one specifier at the beginning of the

[issue1289118] timedelta multiply and divide by floating point

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

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Granted, yes. But I wouldn't expect the same padding for 'BT{BI}' and 'BBI'. 'BT{BI}' should match a C struct which itself has an embedded struct. For C, I get the following results on my machine: I wasn't sure. The C99 standard does not

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: The C99 standard does not specify what the behavior should be. Right; it's down to the platform ABI. I think the least common multiple of the alignment requirements of the struct members is the way to go, though. It's difficult to

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Another snippet, from the latest public draft of the System V x86-64 ABI [1]: Structures and unions assume the alignment of their most strictly aligned compo- nent. Each member is assigned to the lowest available offset with the appropriate

[issue8772] sysconfig: _get_default_scheme can be made public?

2010-05-20 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: No sorry, no API change for 2.7 at this point. We are in beta stage. Now for the implementation, it's going to be a little more complex. We need to look at variables like PYTHONFRAMEWORK for instance. --

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Orlando Irrazabal
Orlando Irrazabal oirr...@mendoza.gov.ar added the comment: Sorry, i didn't send that because the output is the same: r...@host:python-2.6.5# ./python -m test.regrtest -w -v 'import site' failed; use -v for traceback Could not import runpy module r...@catastrix:python-2.6.5# ./python -v #

[issue5753] CVE-2008-5983 python: untrusted python modules search path

2010-05-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a new patch giving more details in the doc, and explicitly mentioning the CVE entry. -- stage: needs patch - patch review Added file: http://bugs.python.org/file17418/setargvex2.patch ___

[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-20 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I would like to move forward on this. Does anyone have any comments or objections to the current proposal? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4870

[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: dt.diff does not apply to current SVN version anymore. I am attaching a quick update that does not change the actual calculation performed. See issue1289118-py3k.diff. I am still -1 for the reason I stated before, but

[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Daniel Stutzbach
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com: -- nosy: -agthorr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1289118 ___ ___

[issue1371826] distutils is silent about multiple -I/-L/-R

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1371826 ___ ___ Python-bugs-list

[issue1109602] Need some setup.py sanity

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1109602 ___ ___ Python-bugs-list

[issue967934] csv module cannot handle embedded \r

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue967934 ___ ___ Python-bugs-list

[issue1072404] Bugs in _csv module - lineterminator

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1072404 ___ ___ Python-bugs-list

[issue5332] csv sniffer

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5332 ___ ___ Python-bugs-list

[issue1563079] code.InteractiveConsole() and closed sys.stdout

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1563079 ___ ___ Python-bugs-list

[issue1690103] trace module borks __file__

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1690103 ___ ___ Python-bugs-list

[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1675455 ___ ___ Python-bugs-list

[issue1776160] Buffer overflow when listing deeply nested directory

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1776160 ___ ___ Python-bugs-list

[issue1054] scriptsinstall target fails in alternate build dir

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1054 ___ ___ Python-bugs-list

[issue2403] Add figleaf coverage metrics

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2403 ___ ___ Python-bugs-list

[issue1467929] %-formatting and dicts

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1467929 ___ ___ Python-bugs-list

[issue1581906] test_sqlite fails on OS X if test_ctypes is run

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1581906 ___ ___ Python-bugs-list

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4106 ___ ___ Python-bugs-list

[issue998998] pickle bug - recursively memoizing class?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue998998 ___ ___ Python-bugs-list

[issue6251] c++ extension module implementation guide/example in extending/embedding documentation

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6251 ___ ___ Python-bugs-list

[issue4506] 3.0 make test failures on Solaris 10

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4506 ___ ___ Python-bugs-list

[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6520 ___ ___ Python-bugs-list

[issue5736] Add the iterator protocol to dbm modules

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5736 ___ ___ Python-bugs-list

[issue6695] PyXXX_ClearFreeList for dict, set, and list

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6695 ___ ___ Python-bugs-list

[issue4010] configure options don't trickle down to distutils

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4010 ___ ___ Python-bugs-list

[issue5148] gzip.open breaks with 'U' flag

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5148 ___ ___ Python-bugs-list

[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6105 ___ ___ Python-bugs-list

[issue7185] csv reader utf-8 BOM error

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7185 ___ ___ Python-bugs-list

[issue6186] test_thread occasionally reports unhandled exceptions on OS X

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6186 ___ ___ Python-bugs-list

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7247 ___ ___ Python-bugs-list

[issue7475] codecs missing: base64 bz2 hex zlib ...

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7475 ___ ___ Python-bugs-list

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue766910 ___ ___ Python-bugs-list

[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1374063 ___ ___ Python-bugs-list

[issue2623] Patch: xmlrpclib client ignores datetime tzinfo when creating iso8601 dates

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2623 ___ ___ Python-bugs-list

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3539 ___ ___ Python-bugs-list

[issue4086] support %z format in time.strftime and _strptime?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4086 ___ ___ Python-bugs-list

[issue3173] external strftime for Python?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3173 ___ ___ Python-bugs-list

[issue4810] timeit needs official '--' flag

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4810 ___ ___ Python-bugs-list

[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2262 ___ ___ Python-bugs-list

[issue4888] misplaced (or misleading) assert in ceval.c

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4888 ___ ___ Python-bugs-list

[issue4896] Faster why variable manipulation in ceval.c

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4896 ___ ___ Python-bugs-list

[issue7353] cporting docs recommend using Include/intobject.h, which was removed in 3.1?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7353 ___ ___ Python-bugs-list

[issue5683] Speed up cPickle's pickling generally

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5683 ___ ___ Python-bugs-list

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7686 ___ ___ Python-bugs-list

[issue1927] raw_input behavior incorrect if readline not enabled

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1927 ___ ___ Python-bugs-list

[issue8759] 2.7: wrong user site directory on Linux

2010-05-20 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Thanks. there is an install scheme in distutils that describes the exact layout I figured that this is now exposed via the `sysconfig` module. There is also an old install scheme in `distutils.command.install`, but it seems to be

[issue4753] Faster opcode dispatch on gcc

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4753 ___ ___ Python-bugs-list

[issue1777412] Python's strftime dislikes years before 1900

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1777412 ___ ___ Python-bugs-list

[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1544339 ___ ___ Python-bugs-list

[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1659 ___ ___ Python-bugs-list

[issue8406] Make some setup.py paths exclude-able

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8406 ___ ___ Python-bugs-list

[issue2054] add ftp-tls support to ftplib - RFC 4217

2010-05-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2054 ___ ___ Python-bugs-list mailing list

[issue4111] Add Systemtap/DTrace probes

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- assignee: skip.montanaro - nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___

[issue5671] Speed up pickling of lists in cPickle

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5671 ___ ___ Python-bugs-list

[issue1083] Confusing error message when dividing timedelta using /

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1083 ___ ___ Python-bugs-list

[issue4194] default subprocess.Popen buffer size

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4194 ___ ___ Python-bugs-list

[issue1818] Add named tuple reader to CSV module

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1818 ___ ___ Python-bugs-list

[issue4835] SIZEOF_SOCKET_T not defined

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4835 ___ ___ Python-bugs-list

[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1644818 ___ ___ Python-bugs-list

[issue504152] rfc822 long header continuation broken

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue504152 ___ ___ Python-bugs-list

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1759169 ___ ___ Python-bugs-list

[issue8392] unit tests rather light on testing __import__(..., level)

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8392 ___ ___ Python-bugs-list

[issue2736] datetime needs an epoch method

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2736 ___ ___ Python-bugs-list

[issue6715] xz compressor support

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6715 ___ ___ Python-bugs-list

[issue4007] make clean fails to delete .a and .so.X.Y files

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4007 ___ ___ Python-bugs-list

[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1289118 ___ ___ Python-bugs-list

[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- assignee: skip.montanaro - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1374063 ___ ___

[issue2623] Patch: xmlrpclib client ignores datetime tzinfo when creating iso8601 dates

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- assignee: skip.montanaro - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2623 ___ ___

[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- assignee: skip.montanaro - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1659 ___ ___

[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: One more reference: http://msdn.microsoft.com/en-us/library/9dbwhz68(v=VS.80).aspx gives essentially the same rules for MSVC. The alignment of the beginning of a structure or a union is the maximum alignment of any individual member. Each

[issue967934] csv module cannot handle embedded \r

2010-05-20 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: At some point I added test_roundtrip_quoteed_newlines to the csv unit tests, and it passes both on trunk and py3k. I believe if there was a bug here it has been fixed. I just backported the test to 2.6 in r81382, and it passes there

[issue8766] Segmentation fault with empty encodings subdirectory of directory in PYTHONPATH

2010-05-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fix commited to py3k (r81364). Ok, buildbots are happy: backported as r81383 in 3.1 -- status: pending - closed ___ Python tracker rep...@bugs.python.org

[issue8745] zipimport is a bit slow

2010-05-20 Thread Goplat
Goplat mrnobo1...@yahoo.com added the comment: Zipping up the Lib directory from the python source (1735 files) as a test, it took on average 0.10 sec to read the zip before, 0.04 sec after. (To test the time taken by zipimport isolated from other startup costs, instead of actually getting

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: no, the input is not the same, there is ImportError: No module named site. I have tree more questions: - Do you have a file named: /sw_install/python-2.6.5/Lib/site.py - what it the output when you type import sys; print sys.path - is

[issue8766] Segmentation fault with empty encodings subdirectory of directory in PYTHONPATH

2010-05-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ok, buildbots are happy: backported as r81383 in 3.1 My test doesn't work on Windows. We cannot delete a directory if it's the current working directory: let's try r81384. py3k commit is simpler because it uses support.test_cwd()

[issue8778] typo in docs for symtable.SymbolTable.has_import_star

2010-05-20 Thread Terrence Cole
New submission from Terrence Cole terre...@zettabytestorage.com: The documentation for symtable.SymbolTable [http://docs.python.org/py3k/library/symtable.html] lists the function has_import_start. This should be has_import_star, as listed in help(symtable.SymbolTable). I've attached a

[issue8779] utf8 codec fails to parse a character

2010-05-20 Thread Roman Gershman
New submission from Roman Gershman roma...@gmail.com: The following code fails to parse the attached file: #!/usr/bin/python3.1 if __name__ == '__main__': f = open(c:\\1.txt, mode ='r', encoding='utf-8') for line in f: print (line) -- components: Unicode files: 1.txt messages:

[issue8779] utf8 codec fails to parse a character

2010-05-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: $ hexdump -C 1.txt ec 0d 0a |...| 0003 This file is *not* encoded to utf8. -- nosy: +haypo ___ Python tracker

[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-20 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I like the approach of providing this feature as a single attribute instead of two separate methods (set/get_options()). For what it's worth, I took a look at the patch without actually trying it, and it looks good overall, both tests and

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Orlando Irrazabal
Orlando Irrazabal oirr...@mendoza.gov.ar added the comment: I answer your questions - yes, i have a file named /sw_install/python-2.6.5/Lib/site.py - the output for the commands import sys; print sys.path is: ['', '/sw_install/python-2.6.5/lib/python26.zip',

[issue7384] curses crash on FreeBSD

2010-05-20 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I tested issue7384-5-py3k.patch on FreeBSD 8.0: it fixes the crash. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7384

[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8760 ___ ___ Python-bugs-list mailing list

<    1   2   3   >