[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

[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

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

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

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

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

2010-05-15 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Note: Using find -delete avoids the extra process spawning for rm. The -delete expression isn't universally available. For example, it is not present on Solaris. Better just to stick with the reliable rm. Skip

[issue8638] Remove suggestion for name mangling from the tutorial

2010-05-07 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Maybe the wording should be changed, but name mangling serves a useful purpose. There are two definitions of private which seem to be a bit conflated in this section: * private as in, this name is not part of the public API - use it at your

[issue1083] Confusing error message when dividing timedelta using /

2010-04-20 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Mark I think it's fine to do the division and round the result to the Mark nearest whole number of microseconds. Right. Just think of a timedelta as a floating point number of seconds with very limited precision (1e-6 seconds

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

2010-04-15 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Let's try this again. -- keywords: +patch Added file: http://bugs.python.org/file16930/setup.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8406

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

2010-04-15 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: The patches referenced in issue7713 just unconditionally delete certain directories from the search path(s). This patch (now attached) allows the user to control that. I presume, for instance, if the MacPorts folks don't want /usr/X11

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

2010-04-15 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Ronald To be honest I'd must rather remove /opt/local and /sw entirely Ronald from setup.py and add new configure flags to specify the Ronald location of a number of libraries (e.g. 'configure Ronald --with-sleepycat-db=/opt/local

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

2010-04-14 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: The attached diff adds a PackageTest class which exercises both from . import blah and its __import__() equivalent. The diff is against the release26-maint branch but I suspect it will apply cleanly to trunk and probably py3k

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

2010-04-14 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Unassigning so someone else can pick it up and review to see if this makes sense. -- assignee: skip.montanaro - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8392

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

2010-04-14 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: The topic of the vileness of Fink or MacPorts came up in python-dev when discussing building a Mac installer. I remembered that a couple /sw and /opt/local directories are searched unconditionally, making it a bit more challenging for someone

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

2010-04-13 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: At work we are in the process of migrating from Python 2.4 to 2.6. One bit of Boost.Python code needs to use PyImport_ImportModuleLevel which references the __import__ docs. That describes the use of the level arg. I then went around looking

[issue1818] Add named tuple reader to CSV module

2010-04-12 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Type conversion is a whole 'nuther kettle of fish. This particular thread is long and complex enough that it shouldn't be made more complex. -- ___ Python tracker rep...@bugs.python.org http

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: It's clear you can't change it for 2.6 or 2.7, almost certainly not 3.1. Maybe you could change it for 3.2. -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8382] StringIO.write() takes any argument and converts it to a string

2010-04-12 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Whoops. No stringio.py in 3.x. This should be closed as won't fix since it's not a problem in py3k and can't be changed in 2.x. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

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

2010-04-09 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Martin If it did eat the patch, we would have lost it by now: there is Martin nothing in the history that shows that a file was attached at Martin some point. More likely, Skip forgot to attach it when Martin submitting this report

[issue3783] dbm.sqlite proof of concept

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

[issue8141] test_asynchat test_smtplib failures in 2.6 release branch

2010-03-14 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: I svn up'd and rebuild the release26-maint branch today on my Mac (MacBook Pro, OSX 10.5.8). test_asynchat and test_smtplib both fail with unexpected output: test test_asynchat produced unexpected output

[issue8141] test_asynchat test_smtplib failures in 2.6 release branch

2010-03-14 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Ned Neither of these problems are new to Python 2.6.5: see Issue7037 Ned (test_asynchat) and Issue7040 (test_smtplib). Thanks. I searched for asynchat and smtplib but didn't see anything. Skip

[issue8141] test_asynchat test_smtplib failures in 2.6 release branch

2010-03-14 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8141

[issue8071] test message

2010-03-05 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: I don't know where this will go given that it's not a response to an existing bug report. I'm looking to see if the SpamBayes instance on mail.python.org processes this message. Someone please respond to let me know if this address is working

[issue8072] Test #2

2010-03-05 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: After training a bunch of mail held for python-bugs-list I'm trying another post to see how well SpamBayes likes it. Skip -- messages: 100482 nosy: skip.montanaro severity: normal status: open title: Test #2

[issue8072] Test #2

2010-03-05 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Test successful... -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8072

[issue8071] test message

2010-03-05 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I don't know, but it's quite possible. Lots of messages were held for moderation. It's possible that some were rejected as spam. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue4111] Add Systemtap/DTrace probes

2010-02-24 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Jesus can I ask if this (very useful) feature is on time for Python 2.7? You can ask, but I suspect you'd be disappointed in the answer. Do you have time to look at the issue? The biggest sticking point in my mind is coming up with a uniform

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: John Current OpenBSD is at 4.7 with a new release every six months. John diff below: ... John - OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123]) John + OpenBSD/2.* | OpenBSD/3.* | OpenBSD/4.[01234567]) Wouldn't

[issue7903] Configure script incorrect for reasonably recent OpenBSD

2010-02-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Yeah or better yet take out the versioning entirely. Perhaps. Is 1.x treated differently than 2, 3 or 4? S -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7903

[issue1225769] Proposal to implement comment rows in csv module

2010-01-27 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Amaury Comment lines in csv data may be common in some areas, but they Amaury are not part of any standard, and they are not the only possible Amaury extension to csv files (for example: ignore empty lines, or a Amaury terminal

[issue1225769] Proposal to implement comment rows in csv module

2010-01-27 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine Since the csv module returns you an iterator, it's easy enough Antoine to wrap it in another iterator. I prefer to do this sort of stuff as a pre-processing step, so I generally wrap the file object input and use that iterator

[issue4194] default subprocess.Popen buffer size

2010-01-19 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Looks good to me: tmp% python3.1 popentest.py time with os.popen : 0.035565 time with subprocess.Popen : 0.031796 tmp% python3.2 popentest.py time with os.popen : 0.03501 time with subprocess.Popen : 0.031168 tmp% python3.1 Python 3.1.1

[issue7711] csv error name incorrect

2010-01-16 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: This is to be expected. The Error Exception is actually defined in the underlying _csv extension module. The higher level csv Python module imports it. The two are the same object: import csv, _csv csv.Error class _csv.Error at 0x818517c

[issue5683] Speed up cPickle's pickling generally

2010-01-13 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: You can fix it if you are dumping to a file, however if you are calling dumps() you are kind of screwed if dumping large objects. There's no place to flush the buffer. I have a fix to Unladen Swallow's cPickle module. I'm run it by them

[issue5683] Speed up cPickle's pickling generally

2010-01-13 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Perhaps. Let's take it one step at a time though. If I change your large pickle example to use dumps() instead of dump() in an unsullied Python2.5 I get a MemoryError. In general, I think you have to be careful using dumps(). Any attempt

[issue5683] Speed up cPickle's pickling generally

2010-01-13 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Oh, BTW, the proposed fix is in Rietveld: http://codereview.appspot.com/189051 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5683

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

2010-01-13 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

[issue7698] pystack macro in Misc/gdbinit incorrectly uses PyEval_EvalFrame

2010-01-13 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Thanks for the heads up. Should be fixed on trunk (r77484) and py3k (r77485). -- assignee: - skip.montanaro nosy: +skip.montanaro resolution: - fixed status: open - closed ___ Python tracker rep

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine There were a couple of comments on the Rietveld code review Antoine above. Indeed there are. Given that the Unladen Swallow folks were focusing on the 2.6 branch and their goal was to improve performance I don't see any reason

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine The main thing I'm worried about is the potentially unbounded Antoine buffering, since it could reduce performance (or even thrash Antoine the machine) instead of improving it. Got a test case in mind? If so, I'll code it up

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine With the patch, the same command quickly swaps hopelessly and Antoine after 5 minutes of elapsed time I finally manage to kill the Antoine process. Verified with an Unladen Swallow test case. I'll see if I can fix it. S

[issue5683] Speed up cPickle's pickling generally

2010-01-09 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Updated the patch against the latest version of cPickle.c (r77393). All tests pass on my Mac. -- nosy: +skip.montanaro Added file: http://bugs.python.org/file15808/cPickle.-r77393.patch ___ Python

[issue5671] Speed up pickling of lists in cPickle

2010-01-09 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Still applies cleanly (with a little fuzz) to the trunk after applying the issue 5683 patch. Tests all still pass (including xpickle w/ 2.4, 2.5, 2.6 available). -- nosy: +skip.montanaro ___ Python

[issue5372] Distutils inappropriately reuses .o files between extension modules

2010-01-09 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: LGTM. Nothing is quite as satisfying as simply deleting a bunch of logic/lines. -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5372

[issue1644818] Allow importing built-in submodules

2009-12-19 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

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

2009-12-10 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

[issue1537721] csv module: add header row to DictWriter

2009-12-07 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: I'm sorry, but I don't have time to look at this right now. On the one hand, one person asks for more symmetry. Someone else wants to add a writeheader method. If you want symmetry shouldn't the DictWriter simply write the header without being

[issue1537721] csv module: add header row to DictWriter

2009-12-07 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine We can't change default behaviour because it will break Antoine compatibility, so an additional method looks ok to me. Why can't default behavior be changed? S -- ___ Python tracker rep

[issue1537721] csv module: add header row to DictWriter

2009-12-07 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine We can't change default behaviour because it will break Antoine compatibility, so an additional method looks ok to me. Why can't default behavior be changed? Antoine Well, because it will break assumptions about

[issue1537721] csv module: add header row to DictWriter

2009-12-07 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Isn't the alpha period (2.7 and 3.2 in this case) precisely when an API can change? Antoine Well, it can, but only if there are compelling reasons to do Antoine so. It should be the exception rather than the rule. The Antoine

<    1   2   3   4   5   6   7   8   9   >