[issue5332] csv sniffer

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue5332> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1563079> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1690103] trace module borks __file__

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1690103> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1675455> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1776160] Buffer overflow when listing deeply nested directory

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1776160> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1054] scriptsinstall target fails in alternate build dir

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1054> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2403] Add figleaf coverage metrics

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue2403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1467929] %-formatting and dicts

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1467929> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1581906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4106> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue998998] pickle bug - recursively memoizing class?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue998998> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6251> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4506] 3.0 make test failures on Solaris 10

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4506> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5736] Add the iterator protocol to dbm modules

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue5736> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6695] PyXXX_ClearFreeList for dict, set, and list

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6695> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4010> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue5148> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6105> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7185] csv reader utf-8 BOM error

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue7185> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6186] test_thread occasionally reports unhandled exceptions on OS X

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6186> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue7247> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue7475> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue766910> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1374063> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue2623> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3539] Problem with pgen make dependencies in certain circumstances

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue3539> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4086> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3173] external strftime for Python?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue3173> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4810] timeit needs "official" '--' flag

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue2262> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4888> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4896] Faster why variable manipulation in ceval.c

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4896> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue7353> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5683] Speed up cPickle's pickling generally

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue5683> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue7686> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1927] raw_input behavior incorrect if readline not enabled

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1927> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4753] Faster opcode dispatch on gcc

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4753> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1777412] Python's strftime dislikes years before 1900

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1777412> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1544339> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1659> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue8406> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4111] Add Systemtap/DTrace probes

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- assignee: skip.montanaro -> nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4111> ___ ___ Python-bugs-lis

[issue5671] Speed up pickling of lists in cPickle

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue5671> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1083] Confusing error message when dividing timedelta using /

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1083> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4194] default subprocess.Popen buffer size

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4194> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1818] Add named tuple reader to CSV module

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1818> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4835] SIZEOF_SOCKET_T not defined

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4835> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1644818> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue504152] rfc822 long header continuation broken

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue504152> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1759169> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue8392> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2736] datetime needs an "epoch" method

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue2736> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6715] xz compressor support

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue6715> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue4007> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue1289118> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- assignee: skip.montanaro -> ___ Python tracker <http://bugs.python.org/issue1374063> ___ ___ Python-bugs-list mailing list Un

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

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- assignee: skip.montanaro -> ___ Python tracker <http://bugs.python.org/issue2623> ___ ___ Python-bugs-list mailing list Un

[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro
Changes by Skip Montanaro : -- assignee: skip.montanaro -> ___ Python tracker <http://bugs.python.org/issue1659> ___ ___ Python-bugs-list mailing list Un

[issue8856] Error in ceval.c when building --without-threads

2010-05-30 Thread Skip Montanaro
Skip Montanaro added the comment: Confirmed on Mac OSX. -- nosy: +skip.montanaro ___ Python tracker <http://bugs.python.org/issue8856> ___ ___ Python-bugs-list m

[issue8856] Error in ceval.c when building --without-threads

2010-05-30 Thread Skip Montanaro
Skip Montanaro added the comment: Sorry, forgot the compiler and OS version: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Mac OSX 10.5.8 S -- ___ Python tracker <http://bugs.python.org/issue8

[issue8873] Popen uses 333 times as much CPU as a shell pipe on Mac OS X

2010-06-02 Thread Skip Montanaro
Skip Montanaro added the comment: This problem has come up before. It was a bug introduced I think when the subprocess module was first incorporated into Python. I don't recall if the default was changed in 2.7 or 3.x. Can you demonstrate the problem with Python 2.7 or 3.1? If not

[issue7198] csv.writer

2010-07-28 Thread Skip Montanaro
Skip Montanaro added the comment: Can you provide me with a concrete example which fails for you? I don't have ready access to a Windows machine with Python on it but should be able to arrange something at work, however before going through the exercise of spending admin time to install P

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-28 Thread Skip Montanaro
Skip Montanaro added the comment: I got access to Python 2.6.5 on Windows and ran this simple example: Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "licens

[issue7198] Extraneous newlines with csv.writer on Windows

2010-07-29 Thread Skip Montanaro
Skip Montanaro added the comment: > If the documentation is not clear enough about requiring binary, it is > a doc bug. The documentation for both csv.reader and csv.writer state (this is from the Python 2.7 version): If *csvfile* is a file object, it must be opened with the &#

[issue9410] Add Unladden Swallow's optimizations to Python 3's pickle.

2010-07-30 Thread Skip Montanaro
Skip Montanaro added the comment: Look around the issues. I'm pretty sure I worked on the unbounded size issue at one point. Skip -- nosy: +skip.montanaro ___ Python tracker <http://bugs.python.org/i

[issue29673] Some gdb macros are broken in 3.6

2017-02-27 Thread Skip Montanaro
Skip Montanaro added the comment: Note that these macros were always expected to be fragile. They depend to a great extent on the layout of the functions in Python/ceval.c. I've had to tweak them a couple times over the years. I'm pretty sure the gdb instance I have available to

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-07-14 Thread Skip Montanaro
Skip Montanaro added the comment: I agree writeheader() should have returned the value of writerow(), but have no opinion on the more esoteric stuff you're discussing. I think you could argue that adding the "return" would be a bug fix. Personally, I long ago got in the hab

[issue27580] CSV Null Byte Error

2016-07-21 Thread Skip Montanaro
Skip Montanaro added the comment: Beyond whether or not the csv module can handle NUL bytes, you might figure out if Excel will. Since the CSV format isn't some sort of "standard", its operational definition has always been what Excel will produce or consume. I don't have

[issue27580] CSV Null Byte Error

2016-07-21 Thread Skip Montanaro
Skip Montanaro added the comment: I wasn't familiar with RFC 4180. (Or, quite possibly, I forgot I used to be familiar with it.) Note that at the bottom of the BNF definition of the file structure is the definition of TEXTDATA: TEXTDATA = %x20-21 / %x23-2B / %x2D-7E That pretty expli

[issue27580] CSV Null Byte Error

2016-07-21 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks. The display you showed looks about like I saw in LibreOffice. If you export it back to another CSV file, does the new file match the original exactly, or does (like LibreOffice) it save a file without NUL bytes? I don't mind having the discussion

[issue12178] csv writer doesn't escape escapechar

2016-08-27 Thread Skip Montanaro
Skip Montanaro added the comment: The patch looked okay to me, and when applied to the 2.7 source, the new tests pass muster. I'm not going to pretend I know where this patch should be applied. That's for someone else to pronounce. --

[issue12178] csv writer doesn't escape escapechar

2016-08-27 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <https://bugs.python.org/issue12178> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22867] document behavior of calling atexit.register() while atexit._run_exitfuncs is running

2014-11-13 Thread Skip Montanaro
New submission from Skip Montanaro: A discussion on comp.lang.python about prettying up the "if __name__ == 'main__'" idiom led to a suggestion that a decorator could simple register the main function using atexit.register. That looks like it will work, but leaves open

[issue23041] csv needs more quoting rules

2014-12-13 Thread Skip Montanaro
Skip Montanaro added the comment: It doesn't look like a difficult change, but is it really needed? I guess my reaction is the same as Raymond's. Are there real-world uses where the current set of quoting styles isn't sufficient? -- ___

[issue23041] csv needs more quoting rules

2014-12-15 Thread Skip Montanaro
Skip Montanaro added the comment: If I understand correctly, your software needs to distinguish between # wrote ["foo", "", 42, None] with quote_all in effect "foo","","42","" and # wrote ["foo", None, 42, ""] wit

[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

2015-02-01 Thread Skip Montanaro
New submission from Skip Montanaro: I'm probably doing something wrong, but I've tried everything I can think of without any success. In Python 2.7, the pydoc command successfully displays help for the sqlite3 package, though it muffs the output of Gerhard Häring's name, s

[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

2015-02-01 Thread Skip Montanaro
Skip Montanaro added the comment: Without setting any environment variables: >>> import sys >>> sys.getfilesystemencoding() 'utf-8' >>> import locale >>> locale.getpreferredencoding(False) 'US-ASCII' >>> import os >>>

[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

2015-02-01 Thread Skip Montanaro
Skip Montanaro added the comment: Peter Otten posted a solution on c.l.py. The issue is that I didn't mix my case properly when setting LANG: hgpython% LANG=en_US.UTF-8 python3.5 -c 'import locale; print(locale.getpreferredencoding(False))' UTF-8 hgpython% LANG=en_US.utf8 pytho

[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

2015-02-01 Thread Skip Montanaro
Skip Montanaro added the comment: On Sun, Feb 1, 2015 at 2:19 PM, Skip Montanaro wrote: > The issue is that I didn't > mix my case properly when setting LANG: Actually, it's that the hyphen is required in "utf-8" or "UTF-8". -- __

[issue23374] pydoc 3.x raises UnicodeEncodeError on sqlite3 package

2015-02-01 Thread Skip Montanaro
Skip Montanaro added the comment: Final note here. Peter also did a bit of digging. Here's his note about what he found on c.l.py: The pager is invoked by os.popen(), and after some digging I find that it uses a io.TestIOWrapper() to write the help text. This in turn

[issue24318] Make profile-opt the default Make target?

2015-05-28 Thread Skip Montanaro
New submission from Skip Montanaro: In a discussion on python-ideas about some computed goto stuff, Greg Smith brought up compilation with "profile-opt", which I'd never heard of. I asked Greg about it and he enlightened me. Looking around, I saw no mention of this make targe

[issue24319] Crash during "make coverage-report"

2015-05-28 Thread Skip Montanaro
New submission from Skip Montanaro: While trying out some of the auxiliary make targets on an openSUSE 12.2 system, I got a segfault during the test phase of the coverage-report target. Several Python processes were running as part of the test when the crash occurred. The resulting crash causes

[issue24318] Better documentaiton of profile-opt (and release builds in general?)

2015-05-28 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks. The doc change occurred to me while I was composing my ticket. It wasn't obvious at that time that profile-opt shouldn't be the default (though I was carrying on an email conversation with Greg at about the

[issue23659] csv.register_dialect doc string

2015-05-29 Thread Skip Montanaro
Skip Montanaro added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue23659> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24324] Remove -Wunreachable-code flag

2015-05-29 Thread Skip Montanaro
New submission from Skip Montanaro: Makefile.pre defines BASECFLAGS to include -Wunreachable-code. When building in the Linux environment available to me (GCC 4.4.6), compilation spews tons of warnings about "warning: will never be executed". According to this StackOverflow thr

[issue24342] coroutine wrapper recursion

2015-06-01 Thread Skip Montanaro
Skip Montanaro added the comment: On Sun, May 31, 2015 at 9:11 PM, Yury Selivanov wrote: > Current python will crash with a "RuntimeError: maximum recursion depth > exceeded" ... If it's good enough for other programmer-induced infinite recursion (and in my experience t

[issue24342] coroutine wrapper reentrancy

2015-06-01 Thread Skip Montanaro
Skip Montanaro added the comment: This is a bit off topic, but why did my reply to Yuri's ticket by email change the title? I didn't mess with the subject in my mail. -- ___ Python tracker <http://bugs.python.o

[issue24371] configparser hate dot in option like eth2.6

2015-06-03 Thread Skip Montanaro
Skip Montanaro added the comment: What little I could find about Windows INI file syntax didn't identify the valid character set of the keys. Like other Windows-based file formats, INI seems to only be operationally defined. It wouldn't surprise me if you needed to restrict yours

[issue24324] Remove -Wunreachable-code flag

2015-06-08 Thread Skip Montanaro
Skip Montanaro added the comment: I guess this is an autoconf thing. "@BASECFLAGS@" in Makefile.pre.in seems to expand to "-Wsign-compare -Wunreachable-code" in Makefile.pre. -- ___ Python tracker <http://bug

[issue24417] Type-specific documentation for __format__ methods

2015-06-09 Thread Skip Montanaro
New submission from Skip Montanaro: I am only now just prying my fingers off printf-style string formatting. The new syntax always seemed Perl-like to me, so I ignored it. Finally, yesterday, I got some cheat sheet pointers from comp.lang.python and dove in. I hit a minor roadblock when I

[issue23891] Tutorial doesn't mention either pip or virtualenv

2015-06-09 Thread Skip Montanaro
Skip Montanaro added the comment: Small nit... The venv.patch file refers to "Python Packaging Index." It's the "Python Package Index." -- nosy: +skip.montanaro Added file: http://bugs.python.org/file39663/ppi.diff

[issue24463] Python 3.4 bugs

2015-06-18 Thread Skip Montanaro
Skip Montanaro added the comment: Not a bug. The two elements of w are references to the same list: >>> w = [[0] * 2] * 2 >>> w [[0, 0], [0, 0]] >>> [id(elt) for elt in w] [21743952, 21743952] -- nosy: +skip.montanaro resolution: -> no

[issue24503] csv.writer fails when within csv.reader

2015-06-25 Thread Skip Montanaro
Skip Montanaro added the comment: @ezzieyguywuf - Can you provide an example of a non-empty input.csv which fails for you? Otherwise, I'd have to agree with @josh.r and @vadmium that it's working as it should. -- nosy: +skip.montanaro

[issue24607] standardize sh module

2015-07-10 Thread Skip Montanaro
Skip Montanaro added the comment: While it's an interesting library, my fear is that people will start shelling out to all sorts of things which Python already has builtin. One of the examples on the github site was showing how to call "ls". Another example invoked "wc&q

[issue24787] csv.Sniffer guesses "M" instead of \t or , as the delimiter

2015-08-03 Thread Skip Montanaro
Skip Montanaro added the comment: How are you calling the sniff() method? Note that it takes a sample of the CSV file. For example, this works for me: >>> f = open("sniff1.csv") >>> dialect = csv.Sniffer().sniff(next(open("sniff1.csv"))) >>> di

[issue24787] csv.Sniffer guesses "M" instead of \t or , as the delimiter

2015-08-04 Thread Skip Montanaro
Skip Montanaro added the comment: I should have probably pointed out that the Sniffer class is the unloved stepchild of the csv module. In my experience it is rarely necessary. You either: * Are reading CSV files which are about what Excel would produce with its default settings or * Know

[issue24787] csv.Sniffer guesses "M" instead of \t or , as the delimiter

2015-08-05 Thread Skip Montanaro
Skip Montanaro added the comment: Tiago, sorry, but your last post with results is completely unintelligible. Can you toss the table in a file and attach it instead? -- ___ Python tracker <http://bugs.python.org/issue24

[issue24897] Add new attribute decorator (akin to property)?

2015-08-20 Thread Skip Montanaro
Skip Montanaro added the comment: I'm missing the point too, I think. I don't see class attributes in your initial Foo class, then your second one as a __new__ method, but references self. I'm quite confused at this point. -- nosy:

[issue24915] Profile Guided Optimization active by-default

2015-08-23 Thread Skip Montanaro
Skip Montanaro added the comment: Is this supposed to work on Macs using Apple's version of gcc? I've got the latest version of Yosemite and XCode, and am getting these warnings when trying to build 2.7: clang: warning: argument unused during compilation: '-fprofile-generate&#

<    3   4   5   6   7   8   9   >