[issue11439] subversion keyword breakage

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11439> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11445> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11419] Python-ast.[ch] out-of-date w.r.t. sources in fresh 2.5 checkout

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11419> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11007] stack tracebacks should give the relevant class name

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11007> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11421] Subversion keywords missing on 2.5 checkout

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11421> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10954] No warning for csv.writer API change

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue10954> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue10444> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10401] Globals / builtins cache

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue10401> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9650] format codes in time.strptime docstrings

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue9650> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9788] atexit and execution order

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue9788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9755] Fix refcounting details in Py3k C API documentation

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue9755> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8387] use universal newline mode in csv module examples

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker <http://bugs.python.org/issue8387> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7198] Extraneous newlines with csv.writer on Windows

2011-03-20 Thread Skip Montanaro
Skip Montanaro added the comment: John> Skip, The changes that I suggested have NOT been made. Please John> re-read the doc page you pointed to. The "writer" paragraph does John> NOT mention that newline='' is required when writing. The "writer"

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
New submission from Skip Montanaro : At Antoine's behest, I tried running ./python.exe -m test -j2 in my cpython sandbox and saw several test case failures which didn't appear when I executed a simple make test He suggested I add the -W flag and try again. I did, but I don

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro added the comment: Thanks. That worked better. Here is the tail end of the output showing the verbose test output. -- Added file: http://bugs.python.org/file21362/output ___ Python tracker <http://bugs.python.org/issue11

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro added the comment: Antoine> Skip, can you please try "make distclean" and then rebuild from Antoine> scratch? I did. The last output was after make distclean ./configure ... my usual suspects ... make ./python.exe -j2 -w I will try one more

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro added the comment: Antoine> New changeset 9aa6097131ef by Antoine Pitrou in branch '3.2': Antoine> Issue #11653: fix -W with -j in regrtest Antoine> http://hg.python.org/cpython/rev/9aa6097131ef Antoine> New changeset c381b35e4f31 by Antoine Pit

[issue11653] Problems with some tests using -j2

2011-03-23 Thread Skip Montanaro
Skip Montanaro added the comment: Brett> The import failures are because you didn't rebuild (I added a new Brett> function to imp). Re-build and the import issues will go away. An easy mistake to make. I'm used to running "make test" which would have guaranteed

[issue11653] Problems with some tests using -j2

2011-03-24 Thread Skip Montanaro
Skip Montanaro added the comment: Ned> Skip, what parameters are you using with ./configure ? Pretty vanilla. Install in my directory tree, get libraries from MacPorts: --prefix=/Users/skip/local --enable-shared LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include I thought you

[issue11739] Python doesn't have a 2011 april fools joke

2011-04-01 Thread Skip Montanaro
Skip Montanaro added the comment: +1. That was the first thing I looked for when I checked my email today. -- nosy: +skip.montanaro ___ Python tracker <http://bugs.python.org/issue11

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-11 Thread Skip Montanaro
Skip Montanaro added the comment: >From the comment in the test_csv.py: +# XXX: I don't know what the correct behavior should be for these. +# Currently the first one raises an error that the delimiter can't +# be determined while the second one retur

[issue469972] xmlrpclib won't marshal new types

2010-12-13 Thread Skip Montanaro
Skip Montanaro added the comment: > FWIW, (simple)json module serializes subclasses of builtin types > just as expected. Does that round trip properly? For instance, if you serialize an instance of a list subclass does it unserialize as a list instance or as the subclass? Perhaps JS

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-19 Thread Skip Montanaro
Skip Montanaro added the comment: I get two failures with David's latest patch. Abstracting from a lightly modified patch: sample was: 'a,b,"c,d"\r\ne,f,g', got: '', expected: ',' sample was: '"a,b,c,d"\r\ne', got:

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-19 Thread Skip Montanaro
Skip Montanaro added the comment: Also, this comment in test_csv.py puzzles me: # given that all three lines in sample3 are equal, # I think that any character could have been 'guessed' as the # delimiter, depending on dictionary order As a human looking

[issue10515] csv sniffer does not recognize quotes at the end of line

2010-12-19 Thread Skip Montanaro
Skip Montanaro added the comment: Here's my candidate patch. Instead of returning an empty string as the delimiter it returns a comma. -- Added file: http://bugs.python.org/file20111/csv_delimiter_tests.patch ___ Python tracker

[issue7198] Extraneous newlines with csv.writer on Windows

2010-12-24 Thread Skip Montanaro
Skip Montanaro added the comment: John, The API for the open() builtin function has changed. You should open the output file with newline="" instead of using the default. Take a look at the documentation for open() and csv.reader: http://docs.python.org/py3k/library/func

[issue10864] time.strftime("%Y"): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread Skip Montanaro
Skip Montanaro added the comment: On my Mac it displays "12345". I don't see that as a big problem. It raises ValueError for a year of -1. This is with build py3k:87566. If someone wants to feed a year > to time.strftime I don't see that as a big problem. I l

[issue10864] time.strftime("%Y"): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread Skip Montanaro
Skip Montanaro added the comment: Skip> On my Mac it displays "12345". I don't see that as a big problem. haypo> Why do you say "problem"? It is the correct result :-) I agree. I interpreted your ticket as complaining that it should raise a ValueError if

[issue10953] safely eval serialized dict/list data from arbitrary string over web with no side effects

2011-01-20 Thread Skip Montanaro
Skip Montanaro added the comment: If you intend this to be "safe" in the security sense of the word, I suggest you release it in PyPI and post a note on comp.lang.python (a.k.a. python-l...@python.org) asking people to try and break it. -- nosy: +skip

[issue10954] No warning for csv.writer API change

2011-01-23 Thread Skip Montanaro
Skip Montanaro added the comment: Looking at the csv.rst file I see this statement early in the py3k docs: If *csvfile* is a file object, it should be opened with ``newline=''``. There is also a footnote about the consequences of leaving it out: .. [#] If ``newline=''

[issue10954] No warning for csv.writer API change

2011-01-23 Thread Skip Montanaro
Skip Montanaro added the comment: My suggestion attached. -- keywords: +patch Added file: http://bugs.python.org/file20497/csv.rst.diff ___ Python tracker <http://bugs.python.org/issue10

[issue11003] os.system should be deprecated in favour of subprocess module

2011-01-25 Thread Skip Montanaro
Skip Montanaro added the comment: I disagree. Both os.popen and os.system work fine in the proper context and are easier to use (and remember how to use) than the subprocess module. You don't give any examples of breakage, or whether said breakage is platform-dependent. --

[issue11007] stack tracebacks should give the relevant class name

2011-01-25 Thread Skip Montanaro
Skip Montanaro added the comment: Given this code: #!/usr/bin/env python class C: def bomb(self): 1/0 c = C() c.bomb() when run it produces Traceback (most recent call last): File "", line 8, in File "", line 5, in bomb ZeroDivisionError: integer divisi

[issue11007] stack tracebacks should give the relevant class name

2011-01-25 Thread Skip Montanaro
Skip Montanaro added the comment: I'm not sure you can get there from here, certainly not in a straightforward way. The traceback formatter gets a reference to the code object (traceback -> frame -> code). That object has a name attribute (which is what's displayed) but i

[issue11007] stack tracebacks should give the relevant class name

2011-01-25 Thread Skip Montanaro
Skip Montanaro added the comment: I agree with Antoine, however, if you can come up with a reasonable patch which implements the desired behavior, I think it would be reasonable to add it to Python 3.3. The definition of "reasonable" is subject to interpretation. As I indicated in

[issue11003] os.system should be deprecated in favour of subprocess module

2011-01-26 Thread Skip Montanaro
Skip Montanaro added the comment: Eric> Note that os.popen is implemented with subprocess. That seems somewhat wrong to me. There is a stdio popen function which os.popen used to expose. I thought that was the goal (thin wrapper around many library functions, then build higher level stuff

[issue11089] ConfigParser 50x slower in 2.7

2011-02-01 Thread Skip Montanaro
Changes by Skip Montanaro : -- nosy: +skip.montanaro ___ Python tracker <http://bugs.python.org/issue11089> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: Here's a patch. -- keywords: +patch nosy: +skip.montanaro versions: +Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file20753/compile.diff ___ Python tracker <http://bugs.py

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: Working on a test case too. -- ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list mailin

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Changes by Skip Montanaro : Removed file: http://bugs.python.org/file20753/compile.diff ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list m

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: It's not so easy as first appeared. -- ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list m

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: Okay, this looks better. I was confusing myself with leftover .pyc files I think. Test included. -- Added file: http://bugs.python.org/file20754/compile.diff ___ Python tracker <http://bugs.python.org/issue11

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: Georg, I think this might need to sneak into 3.2. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue11

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: 3.2 and earlier versions are all frozen, but for 3.3 it might make sense to bump the version number of the bytecode and change STORE_MAP to take the key and value in the opposite order, thus allowing to remove the ROT_TWO I had to add to make this work

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: As Georg suggested, it is correct in 2.4, wrong in 2.5. -- ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Pytho

[issue11205] Evaluation order of dictionary display is different from reference manual.

2011-02-13 Thread Skip Montanaro
Skip Montanaro added the comment: > To avoid introducing a ROT_TWO, the store STORE_MAP and MAP_ADD > opcodes need minor modifications (just switch the u and w variable > assignments). Either of which would not be possible in anything other that 3.3 or lat

[issue1767370] Make xmlrpc use HTTP/1.1 and keepalive

2008-05-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I'm not going to pretend I understand the changes. I do notice that test_docxmlrpc hangs hard on my Mac (doesn't even respond to Ctl-C). DocXMLRPCServer subclasses from SimpleXMLRPCServer, so I suspect it needs some attenti

[issue3079] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: This seems like a bug in optparse.OptionParser: def exit(self, status=0, msg=None): if msg: sys.stderr.write(msg) sys.exit(status) def error(self, msg): """error(msg : str

[issue3079] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- versions: +Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: This seems like a bug in optparse.OptionParser: def exit(self, status=0, msg=None): if msg: sys.stderr.write(msg) sys.exit(status) def error(self, msg): """error(msg : str

[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I originally sent this by email but never saw it pop up. I eventually submitted via the web. -- superseder: -> sys.exit() called from optparse - bad, bad, bad ___ Python tracke

[issue3084] sys.exit() called from optparse - bad, bad, bad

2008-06-11 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3084> ___ __

[issue3091] Can't build datetime or time on py3k (r64171)

2008-06-12 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: I'm fully up-to-date on my py3k branch (r64171). After a make clean I find that I can't build either the time or datetime modules. Here are errors from gcc: building 'time' extension gcc -fno-strict-aliasing -DN

[issue3091] Can't build datetime or time on py3k (r64171)

2008-06-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Georg> Georg Brandl <[EMAIL PROTECTED]> added the comment: Georg> Where does the strftime.c come from? It is not in the Python Georg> sources -- is this a Mac-specific thing? Whoops. My bad. Modified sandbox.

[issue3091] Can't build datetime or time on py3k (r64171)

2008-06-12 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: My bad. Sorry for the noise. mods in my sandbox... -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3079] sys.exit() called from optparse - bad, bad, bad

2008-06-13 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Georg> I agree with Antoine that the standard behavior is what you want in most Georg> simple command-line scripts. Georg> It's easy enough to replace the parser's exit function to just print the Ge

[issue3110] Multiprocessing package build problem on Solaris 10

2008-06-17 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Jesse> Per skip's email: Jesse> FWIW, it appears that Solaris doesn't define SEM_VALUE_MAX but does Jesse> define Jesse> _SEM_VALUE_MAX in sys/params.h. ... Thanks for submitting the bug report.

[issue1778443] robotparser.py fixes

2008-06-17 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I suppose I'm as good a person to continue maintaining this as any, though my time is largely spent doing other stuff these days. The patch doesn't apply cleanly right now and lots of the changes it suggests have been made

[issue1778443] robotparser.py fixes

2008-06-17 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file8179/robotparser.py.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1778443] robotparser.py fixes

2008-06-17 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10617/robotparser.py.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue3173] external strftime for Python?

2008-06-22 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: Back in April we had a thread on xmlrpclib's problematic handling of dates before 1900: http://thread.gmane.org/gmane.comp.python.devel/93273/focus=93309 I'm still of the opinion that strftime() is the culprit and xmlr

[issue3173] external strftime for Python?

2008-06-22 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Ummm... I think I only modified timemodule.c. datetimemodule.c probably needs a tweak as well. I need to get this off my desk though. ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue3167] math test fails on Solaris 10

2008-06-28 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Dunno about Sun's compiler, but I get test errors on Solaris 10 using gcc 4.2: == FAIL: test_specific_values (test.test_cmath

[issue3167] math test fails on Solaris 10

2008-06-29 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I tried to configure with '-Xlinker -xlibmieee' added to LDFLAGS. Failed miserably. In fact, configure complained that my compiler couldn't create executables, told me to look at config.log for details then logged me

[issue678464] Docs don't define sequence-ness very well

2008-07-02 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: (Sorry for the delay responding. Gmail thought Facundo's response was spam. :-/) In defense of my bug report, note that I submitted it in January 2003! It's quite possible that the docs have improved in this regard sin

[issue3173] external strftime for Python?

2008-07-02 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Good question. I don't claim that the strftime.c I found is complete for our needs, only that we can avoid the "rewrite strftime from scratch" problem Guido indicated. S ___ P

[issue3250] datetime.time does not support arithmetic

2008-07-06 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: George> To handle overflows, I figured it should wrap around a 24-hour George> limit. That's precisely the reason that time objects don't support arithmetic. There is no obviously best way to handle over

[issue3167] math test fails on Solaris 10

2008-07-08 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Here's a gdb session using r64812. gcc 4.2.2. ldd on math.so shows: % ldd build/lib.solaris-2.10-i86pc-2.6/math.so libm.so.2 => /lib/libm.so.2 libgcc_s.so.1 => /opt/app/nonc++/lib/libgcc_s.so.

[issue3167] math test fails on Solaris 10

2008-07-08 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Regarding -lieee, I don't see an ieee library on my system. Regarding -ffast-math, while it changes the log function which is linked to, it doesn't appear to modify the result of math.log: % ldd build/lib.solaris-2.10-i

[issue3359] add 'rbU' mode to open()

2008-07-15 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: The whole idea of universal newline mode is that the various possible line endings ('\r', '\n' and '\r\n') are all mapped to '\n' precisely so the user doesn't have to detect and fiddle wi

[issue3359] add 'rbU' mode to open()

2008-07-16 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: anatoly> If you open file with 'r' - all line endings will be mapped anatoly> precisely to '\n' anyways, so it has nothing to do with 'U' anatoly> mode. Before 3.0 at least, if you copy a

[issue3359] add 'rbU' mode to open()

2008-07-23 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: As I indicated in msg69679 if you want to see the line endings just open the file in binary mode ('rb'). ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue3437] robotparser.py missing one line

2008-07-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Do you have a concrete robots.txt file I can use in a test case? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3437] robotparser.py missing one line

2008-07-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Perhaps more important than a test case, can you explain what states 0, 1 and 2 are (maybe give them some symbolic names I can at least put in a comment)? This is not my code. Though I wrote the first version of the robotparser

[issue3437] robotparser.py missing one line

2008-07-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: *sigh* there are no test cases with Allow: lines in test_robotparser.py. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3437] robotparser.py missing one line

2008-07-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: *sigh* there are no test cases in the current code with Allow: lines in test_robotparser.py. -- priority: -> normal versions: +Python 2.6 ___ Python tracker <[EMAIL PROTE

[issue3437] robotparser.py missing one line

2008-07-24 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3437> ___ ___ Python-bugs-list mailing list

[issue3436] csv.DictReader inconsistency

2008-07-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: That would be a fairly easy change to the DictReader class (see the attached patch) but probably can't be applied at this point in the 2.6 release cycle even though all csv module tests pass with it. -- nosy: +skip.mont

[issue3437] robotparser.py missing one line

2008-07-26 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Attached is a patch against 2.6 which adds the missing line (state = 2), a comment describing the three states the parser can be in and expands the test cases to cover this change (fail without it, pass with it). In the process I s

[issue3437] robotparser.py missing one line

2008-07-26 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: committed as r 65255. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3436] csv.DictReader inconsistency

2008-07-26 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I should also point out that I've generally used this technique to populate the fieldnames attribute from the file: f = open("somefile.csv", "rb") rdr = csv.DictReader(f, fieldnames=csv.reader(f).next

[issue3436] csv.DictReader inconsistency

2008-07-28 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: The consensus seems to be that __init__ shouldn't "magically" read the header row, even though by not specifying a fieldnames arg that's exactly what you're telling the DictReader where to find the colum

[issue3436] csv.DictReader inconsistency

2008-07-28 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Done... -- resolution: -> wont fix status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3436] csv.DictReader inconsistency

2008-07-30 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Guido> I know this has been closed, but perhaps the fieldnames attribute Guido> could be made into a property that reads the first line of the Guido> file if it hasn't been read yet? It's a nice thought. I

[issue3436] csv.DictReader inconsistency

2008-07-31 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Nick, Working with Andrii's patch I'm trying to add a couple test cases to make sure the methods you and I both demonstrated still work. Mine is no problem, but I must be doing something wrong trying to use/adapt your ex

[issue3436] csv.DictReader inconsistency

2008-07-31 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I added a comment to Andrii's patch and added simple test cases which check to make sure the way Nick and I currently use the DictReader class (or at least envision using it) still works. Added file: http://bugs.python.org/file110

[issue3436] csv.DictReader inconsistency

2008-07-31 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10978/csv.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3436] csv.DictReader inconsistency

2008-07-31 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Andrii, If my view of the Python 3.0 development process is correct and this change makes it into the 2.6 code, one of the 3.0 developers will merge to the py3k branch. ___ Python tracker &

[issue3436] csv.DictReader inconsistency

2008-08-08 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Committed as revision 65605. -- assignee: -> skip.montanaro status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3539] Problem with pgen make dependencies in certain circumstances

2008-08-10 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: I usually build Python directly in my source repository (the directory containing the configure script). Accordingly, I have .o files scattered throughout my sandbox. Today I decided to build --with-pydebug, so I created a debug dir

[issue3631] Improve gdbinit of Python 2.6

2008-08-21 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Thanks for the patch. Most of it looks okay except for the rewrite of the lineno command. That was written in gdb's command language so that you could get a python stack from a core dump, not just from a running process. Is

[issue3658] fix for pychecker property complaints

2008-08-24 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: Attached is a patch to fix some pychecker complaints Neal Norwitz uncovered. All involved tests pass. Submitting patch simply because we're past beta3. -- assignee: nnorwitz components: Library (Lib) files: pyc

[issue3658] fix for pychecker property complaints

2008-08-24 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I can see where that might be a problem. If that's the case I suspect those property attributes should be changed. OTOH, do properties work on classic classes? ___ Python tracker <[E

[issue3110] Multiprocessing package build problem on Solaris 10

2008-09-03 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I can confirm that Jesse's patch allows multiprocessing to compile on Solaris 10. Note, however, that there are other symbolic constants defined which contain "SEM_VALUE_MAX", all with widely differing underlying val

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-03 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Remind me why we want to get rid of bsddb? Skip -- nosy: +skip.montanaro ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-03 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Is there going to be a dbm.* module which is supported across all the core platforms: Windows, Mac & Unix? I don't count dumbdbm as really all that useful, especially given the caveats listed in the module docstring.

[issue3783] dbm.sqlite proof of concept

2008-09-04 Thread Skip Montanaro
New submission from Skip Montanaro <[EMAIL PROTECTED]>: Based on recent discussions about ridding Python of bsddb I decided to see how hard it would be to implement a barebones dbm.sqlite module. Turns out, not very hard. No docs. No test cases. Caveat emptor. But I think it can serve

[issue3769] Deprecate bsddb for removal in 3.0

2008-09-04 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: me> If not, could a dbm.sqlite module be written for 2.7 and 3.1 which me> can fill that role? http://bugs.python.org/issue3783 S ___ Python tracker <[EMAIL PROTECTED]> <h

[issue3783] dbm.sqlite proof of concept

2008-09-04 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Attaching corrected module. Added file: http://bugs.python.org/file11383/sqlite.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

<    1   2   3   4   5   6   7   8   9   >