]> granicus.if.org Git - python/log
python
18 years ago- correct patch number
Matthias Klose [Mon, 3 Apr 2006 16:34:56 +0000 (16:34 +0000)]
- correct patch number

18 years ago- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
Matthias Klose [Mon, 3 Apr 2006 16:27:50 +0000 (16:27 +0000)]
- Patch #360466: Replace the MD5 implementation from RSA Data Security Inc
  with the implementation from http://sourceforge.net/projects/libmd5-rfc/.

18 years agoTry to fix the tests on OpenBSD. Apparently OpenBSD passes
Thomas Heller [Mon, 3 Apr 2006 16:19:45 +0000 (16:19 +0000)]
Try to fix the tests on OpenBSD.  Apparently OpenBSD passes
structure parameters differently than other posix-like systems.

18 years agoFor backwards compatibility reasons the global function
Walter Dörwald [Mon, 3 Apr 2006 15:24:49 +0000 (15:24 +0000)]
For backwards compatibility reasons the global function
setfirstweekday() still needs to do a range check.

18 years agoAlways return firstweekday % 7 instead of complaining
Walter Dörwald [Mon, 3 Apr 2006 15:21:59 +0000 (15:21 +0000)]
Always return firstweekday % 7 instead of complaining
on setting.

18 years agoTurn firstweekday into a property.
Walter Dörwald [Mon, 3 Apr 2006 15:20:28 +0000 (15:20 +0000)]
Turn firstweekday into a property.

18 years agopreparation for 2.5a1
Anthony Baxter [Mon, 3 Apr 2006 15:03:44 +0000 (15:03 +0000)]
preparation for 2.5a1

18 years agoadded sqlite3 section
Anthony Baxter [Mon, 3 Apr 2006 14:16:27 +0000 (14:16 +0000)]
added sqlite3 section
expanded tabs
fixed a couple of typos
removed .cvsignore reference

18 years agoAdd sections for new modules; will write tutorial later
Andrew M. Kuchling [Mon, 3 Apr 2006 12:41:37 +0000 (12:41 +0000)]
Add sections for new modules; will write tutorial later

18 years agoBug #1451503: allow unicode filenames in os.startfile().
Georg Brandl [Mon, 3 Apr 2006 12:26:26 +0000 (12:26 +0000)]
Bug #1451503: allow unicode filenames in os.startfile().

18 years agoAdd check_soundcard.vbs. Will backport
Martin v. Löwis [Mon, 3 Apr 2006 12:07:46 +0000 (12:07 +0000)]
Add check_soundcard.vbs. Will backport

18 years agoAllow long integers in PySlice_GetIndices.
Martin v. Löwis [Mon, 3 Apr 2006 11:38:08 +0000 (11:38 +0000)]
Allow long integers in PySlice_GetIndices.

18 years agoAdd test case for #43581.
Martin v. Löwis [Mon, 3 Apr 2006 11:05:39 +0000 (11:05 +0000)]
Add test case for #43581.

18 years agoBug #1421664: Set sys.stderr.encoding
Martin v. Löwis [Mon, 3 Apr 2006 10:56:49 +0000 (10:56 +0000)]
Bug #1421664: Set sys.stderr.encoding

18 years agoDeal with openbsd's different style of default /etc/hosts by forcing the fqdn
Anthony Baxter [Mon, 3 Apr 2006 08:10:33 +0000 (08:10 +0000)]
Deal with openbsd's different style of default /etc/hosts by forcing the fqdn
lookup to use the IP address returned by gethosbyname.

18 years agoThe email module's parsedate_tz function now sets the daylight savings
Anthony Baxter [Mon, 3 Apr 2006 08:05:07 +0000 (08:05 +0000)]
The email module's parsedate_tz function now sets the daylight savings
flag to -1 (unknown) since it can't tell from the date whether it should
be set.
patch from Aldo Cortesi

18 years agoI could have sworn this was part of the change to not abbreviate ABSOLUTE
Neal Norwitz [Mon, 3 Apr 2006 06:58:51 +0000 (06:58 +0000)]
I could have sworn this was part of the change to not abbreviate ABSOLUTE

18 years agoGet ctypes loader working on OSF1 (Tru64)
Neal Norwitz [Mon, 3 Apr 2006 06:52:43 +0000 (06:52 +0000)]
Get ctypes loader working on OSF1 (Tru64)

18 years agoDon't abbreviate ABS, use long name ABSOLUTE.
Neal Norwitz [Mon, 3 Apr 2006 06:26:32 +0000 (06:26 +0000)]
Don't abbreviate ABS, use long name ABSOLUTE.

18 years agoPatch #1462700: Make _ctypes_test depend on _ctypes.
Martin v. Löwis [Mon, 3 Apr 2006 05:29:03 +0000 (05:29 +0000)]
Patch #1462700: Make _ctypes_test depend on _ctypes.
Use same GUID for pythoncore in project and solution.

18 years agoFix test_pty on OSF/1 (Tru64). The problem is that the newline gets
Neal Norwitz [Mon, 3 Apr 2006 05:28:31 +0000 (05:28 +0000)]
Fix test_pty on OSF/1 (Tru64).  The problem is that the newline gets
converted to CR CR NL.  There may be a way to fix this with tcsetattr,
but I couldn't find it.  There was a similar problem on IRIX.

Just normalize the output and compare that.

Will backport.

18 years agoSkip the test for sys.stdin.seek(-1) on OSF/1 (Tru64) since it does Bad Things
Neal Norwitz [Mon, 3 Apr 2006 05:27:05 +0000 (05:27 +0000)]
Skip the test for sys.stdin.seek(-1) on OSF/1 (Tru64) since it does Bad Things
like cause the interpreter to exit abruptly.  If there's a way to fix this,
it would be good to really fix it.  It could just be the operation of the
std C library and we just aren't supposed to do that.

When the test case is skipped, we print a message so the user can check
for themselves.

18 years agoRemove some duplicated code for handling Mac modules. No functional change (intended...
Neal Norwitz [Mon, 3 Apr 2006 04:52:05 +0000 (04:52 +0000)]
Remove some duplicated code for handling Mac modules.  No functional change (intended).  Also stoped setting srcdir twice.

18 years ago* Fix a refleak of *_attributes.
Neal Norwitz [Mon, 3 Apr 2006 04:50:58 +0000 (04:50 +0000)]
* Fix a refleak of *_attributes.
* Cleanup formatting a bit (add spaces).
* Move static var initialized inside init_types() since that's the only place
  it's used.

18 years agoAccept keyword arguments for __import__ and doc the addition of the level param from...
Neal Norwitz [Mon, 3 Apr 2006 04:48:37 +0000 (04:48 +0000)]
Accept keyword arguments for __import__ and doc the addition of the level param from PEP 328.

18 years agoWhitespace: break long line
Neal Norwitz [Mon, 3 Apr 2006 04:46:28 +0000 (04:46 +0000)]
Whitespace: break long line

18 years agoUse Py_ssize_t in slices
Neal Norwitz [Mon, 3 Apr 2006 04:46:04 +0000 (04:46 +0000)]
Use Py_ssize_t in slices

18 years agoUse absolute imports
Neal Norwitz [Mon, 3 Apr 2006 04:45:34 +0000 (04:45 +0000)]
Use absolute imports

18 years agoWhitespace normalization.
Tim Peters [Mon, 3 Apr 2006 02:46:44 +0000 (02:46 +0000)]
Whitespace normalization.

18 years agocleaned up setup.py code for sqlite3, based on patch from Gerhard Haering.
Anthony Baxter [Mon, 3 Apr 2006 02:20:49 +0000 (02:20 +0000)]
cleaned up setup.py code for sqlite3, based on patch from Gerhard Haering.

18 years agoAlways use firstweekday module 7.
Walter Dörwald [Sun, 2 Apr 2006 22:11:10 +0000 (22:11 +0000)]
Always use firstweekday module 7.

18 years agoDocument recent fdopen() change.
Georg Brandl [Sun, 2 Apr 2006 21:18:27 +0000 (21:18 +0000)]
Document recent fdopen() change.

18 years agoReadd urllib.quote import as it doesn't cause any harm.
Georg Brandl [Sun, 2 Apr 2006 21:13:13 +0000 (21:13 +0000)]
Readd urllib.quote import as it doesn't cause any harm.

18 years agoRemove "disgusting hack" in favour of closure (patch #1462235)
Georg Brandl [Sun, 2 Apr 2006 21:09:51 +0000 (21:09 +0000)]
Remove "disgusting hack" in favour of closure (patch #1462235)

18 years agoPatch #1463012: remove not working undocumented classes from urllib2
Georg Brandl [Sun, 2 Apr 2006 20:48:11 +0000 (20:48 +0000)]
Patch #1463012: remove not working undocumented classes from urllib2

18 years agoPatch #1462790: fix urllib2 ProxyHandler for host:port proxies
Georg Brandl [Sun, 2 Apr 2006 20:45:34 +0000 (20:45 +0000)]
Patch #1462790: fix urllib2 ProxyHandler for host:port proxies

18 years agobug #1462706: guard against host not having FQDN hostname
Georg Brandl [Sun, 2 Apr 2006 20:37:17 +0000 (20:37 +0000)]
bug #1462706: guard against host not having FQDN hostname

18 years agoend the sentence...
Fredrik Lundh [Sun, 2 Apr 2006 07:59:55 +0000 (07:59 +0000)]
end the sentence...

18 years agofix markup error
Fred Drake [Sun, 2 Apr 2006 03:30:06 +0000 (03:30 +0000)]
fix markup error

18 years agoGrammar fix
Andrew M. Kuchling [Sun, 2 Apr 2006 01:47:38 +0000 (01:47 +0000)]
Grammar fix

18 years agoWrite various sections; I haven't been able to check whether the TeX markup is correct
Andrew M. Kuchling [Sun, 2 Apr 2006 01:46:32 +0000 (01:46 +0000)]
Write various sections; I haven't been able to check whether the TeX markup is correct

18 years agoPatch #624325: urlparse.urlparse() and urlparse.urlsplit() results
Fred Drake [Sat, 1 Apr 2006 22:14:43 +0000 (22:14 +0000)]
Patch #624325: urlparse.urlparse() and urlparse.urlsplit() results
now sport attributes that provide access to the parts of the result.

18 years agoMake firstweekday a simple attribute instead
Walter Dörwald [Sat, 1 Apr 2006 20:40:23 +0000 (20:40 +0000)]
Make firstweekday a simple attribute instead
of hiding it behind a setter and a getter.

18 years agoFix LaTeX oversight.
Georg Brandl [Sat, 1 Apr 2006 20:40:16 +0000 (20:40 +0000)]
Fix LaTeX oversight.

18 years agoExpand comments on line numbers and blocks.
Jeremy Hylton [Sat, 1 Apr 2006 16:18:02 +0000 (16:18 +0000)]
Expand comments on line numbers and blocks.
Reorder compiler_set_lineno() call for consistency.

18 years agoSome typo & grammar fixes
Andrew M. Kuchling [Sat, 1 Apr 2006 10:50:08 +0000 (10:50 +0000)]
Some typo & grammar fixes

18 years agoUpdate status of this PEP
Andrew M. Kuchling [Sat, 1 Apr 2006 10:32:13 +0000 (10:32 +0000)]
Update status of this PEP

18 years agoMake ssize_t clean
Neal Norwitz [Sat, 1 Apr 2006 09:08:06 +0000 (09:08 +0000)]
Make ssize_t clean

18 years agoUpdate SQLite version requirement.
Georg Brandl [Sat, 1 Apr 2006 08:59:03 +0000 (08:59 +0000)]
Update SQLite version requirement.

18 years agopatch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther
Georg Brandl [Sat, 1 Apr 2006 08:51:25 +0000 (08:51 +0000)]
patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther

18 years agoclarify new docs on attr value entity expansion
Georg Brandl [Sat, 1 Apr 2006 08:39:50 +0000 (08:39 +0000)]
clarify new docs on attr value entity expansion

18 years agobackport r243 from the pysqlite2 svn repository - lowers the required version
Anthony Baxter [Sat, 1 Apr 2006 08:36:27 +0000 (08:36 +0000)]
backport r243 from the pysqlite2 svn repository - lowers the required version
of SQLite3 from 3.2.2 to 3.0.8, by providing an alternative to
sqlite3_transfer_bindings. setup.py also handles the common (in debian
and ubuntu, at least) case of a buggy sqlite3.h SQLITE_VERSION_NUMBER.

18 years agopatch #1462498: handle entityrefs in attribute values.
Georg Brandl [Sat, 1 Apr 2006 08:35:18 +0000 (08:35 +0000)]
patch #1462498: handle entityrefs in attribute values.

18 years agoBug #947906: Add classes LocaleTextCalendar and LocaleHTMLCalendar,
Walter Dörwald [Sat, 1 Apr 2006 07:57:00 +0000 (07:57 +0000)]
Bug #947906: Add classes LocaleTextCalendar and LocaleHTMLCalendar,
that output localized month and weekday names and can cope
with encodings.

18 years agoBug #1458017: make distutils.Log._log more forgiving when passing in
Georg Brandl [Sat, 1 Apr 2006 07:46:54 +0000 (07:46 +0000)]
Bug #1458017: make distutils.Log._log more forgiving when passing in
msg strings with '%', but without format args.

18 years agoPatch #1462496: typo in libsignal.tex
Georg Brandl [Sat, 1 Apr 2006 07:42:41 +0000 (07:42 +0000)]
Patch #1462496: typo in libsignal.tex

18 years agoPatch #1459631: documnent zlib.Decompress.flush() length parameter.
Georg Brandl [Sat, 1 Apr 2006 07:39:41 +0000 (07:39 +0000)]
Patch #1459631: documnent zlib.Decompress.flush() length parameter.

18 years agoBug #1460564: document that socket.fromfd() duplicates the given
Georg Brandl [Sat, 1 Apr 2006 07:33:08 +0000 (07:33 +0000)]
Bug #1460564: document that socket.fromfd() duplicates the given
file descriptor.

18 years agobug #1462278: small fix in documentation of __op__ vs __rop__ methods
Georg Brandl [Sat, 1 Apr 2006 07:23:08 +0000 (07:23 +0000)]
bug #1462278: small fix in documentation of __op__ vs __rop__ methods

18 years agoadd support for the sips: scheme (identical to sip: except for scheme name)
Fred Drake [Sat, 1 Apr 2006 06:11:07 +0000 (06:11 +0000)]
add support for the sips: scheme (identical to sip: except for scheme name)

18 years agoFix stupid typo.
Tim Peters [Sat, 1 Apr 2006 01:32:13 +0000 (01:32 +0000)]
Fix stupid typo.

18 years agotest_timeout(): Disable this new test on all platforms.
Tim Peters [Sat, 1 Apr 2006 01:28:51 +0000 (01:28 +0000)]
test_timeout():  Disable this new test on all platforms.

The

    s.connect(("gmail.org", 995))

line has been timing out on all buildbot slaves for hours
now, causing the test to fail.

18 years agoAdd a clause to the PY_FORMAT_SIZE_T to stop warnings on 32 bit intel
Anthony Baxter [Sat, 1 Apr 2006 01:08:29 +0000 (01:08 +0000)]
Add a clause to the PY_FORMAT_SIZE_T to stop warnings on 32 bit intel
linux with gcc 4.0.2, after talking to Tim.
  <ymmit> But it won't break anything anywhere, so don't worry :-)

18 years agomerged the sqlite-integration branch.
Anthony Baxter [Sat, 1 Apr 2006 00:57:31 +0000 (00:57 +0000)]
merged the sqlite-integration branch.
This is based on pysqlite2.1.3, and provides a DB-API interface in
the standard library. You'll need sqlite 3.2.2 or later to build
this - if you have an earlier version, the C extension module will
not be built.

18 years agoAnother crack at bug #1460340: make random.sample(dict)
Tim Peters [Sat, 1 Apr 2006 00:26:53 +0000 (00:26 +0000)]
Another crack at bug #1460340:  make random.sample(dict)
work, this time by ugly brute force.

18 years agoIn the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if
Thomas Wouters [Fri, 31 Mar 2006 22:38:19 +0000 (22:38 +0000)]
In the fdopen(fd, 'a') case on UNIX, don't try to set fd's flags to -1 if
fcntl() and fdopen() both fail. Will backport.

18 years agoMake test_socket_ssl finally pass on WIn
Georg Brandl [Fri, 31 Mar 2006 21:12:32 +0000 (21:12 +0000)]
Make test_socket_ssl finally pass on WIn

18 years agoBug #1177964: make file iterator raise MemoryError on too big files
Georg Brandl [Fri, 31 Mar 2006 20:31:02 +0000 (20:31 +0000)]
Bug #1177964: make file iterator raise MemoryError on too big files

18 years agoAdd guards against fcntl() not being available on Windows.
Georg Brandl [Fri, 31 Mar 2006 20:27:22 +0000 (20:27 +0000)]
Add guards against fcntl() not being available on Windows.

18 years agoUpdate version number to 2.5
Georg Brandl [Fri, 31 Mar 2006 20:02:40 +0000 (20:02 +0000)]
Update version number to 2.5

18 years agobug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode.
Georg Brandl [Fri, 31 Mar 2006 20:00:11 +0000 (20:00 +0000)]
bug #1461855: make os.fdopen() add the O_APPEND flag if using "a" mode.
glibc, for example, does this already on its own, but it seems that
the solaris libc doesn't. This leads to Python code being able to over-
write file contents even though having specified "a" mode.

18 years agobug #1257988: don't bail out on gethostbyname(gethostname()) failure
Georg Brandl [Fri, 31 Mar 2006 19:34:13 +0000 (19:34 +0000)]
bug #1257988: don't bail out on gethostbyname(gethostname()) failure

18 years agobug #1444104: add note about fdopen() to os.open().
Georg Brandl [Fri, 31 Mar 2006 19:20:13 +0000 (19:20 +0000)]
bug #1444104: add note about fdopen() to os.open().

18 years agoDisable test_socket_ssl timeout test on Windows.
Georg Brandl [Fri, 31 Mar 2006 19:09:56 +0000 (19:09 +0000)]
Disable test_socket_ssl timeout test on Windows.

18 years agoPatch #1460496: round() now accepts keyword arguments.
Georg Brandl [Fri, 31 Mar 2006 18:54:53 +0000 (18:54 +0000)]
Patch #1460496: round() now accepts keyword arguments.

18 years agoBug #1445068: getpass.getpass() can now be given an explicit stream
Georg Brandl [Fri, 31 Mar 2006 18:42:16 +0000 (18:42 +0000)]
Bug #1445068: getpass.getpass() can now be given an explicit stream
argument to specify where to write the prompt.

18 years agoPatch #1462313, bug #1443328: the pickle modules now can handle classes
Georg Brandl [Fri, 31 Mar 2006 18:25:44 +0000 (18:25 +0000)]
Patch #1462313, bug #1443328: the pickle modules now can handle classes
that have __private names in their __slots__.

18 years agoPatch #1380952: fix SSL objects timing out on consecutive read()s
Georg Brandl [Fri, 31 Mar 2006 18:01:16 +0000 (18:01 +0000)]
Patch #1380952: fix SSL objects timing out on consecutive read()s

18 years agoBug #1250170, Patch #1462230: handle socket.gethostname()
Georg Brandl [Fri, 31 Mar 2006 17:18:06 +0000 (17:18 +0000)]
Bug #1250170, Patch #1462230: handle socket.gethostname()
failures gracefully

18 years agoExpand comments.
Jeremy Hylton [Fri, 31 Mar 2006 16:41:22 +0000 (16:41 +0000)]
Expand comments.

Explicitly clear all elements from arena->a_objects and remove
assert() that refcount is 1.  It's possible for a program to get a
reference to the list via sys.getobjects() or via gc functions.

18 years agoAdd 2.5 libraries.
Martin v. Löwis [Fri, 31 Mar 2006 16:19:18 +0000 (16:19 +0000)]
Add 2.5 libraries.

18 years agotypos
Georg Brandl [Fri, 31 Mar 2006 16:12:34 +0000 (16:12 +0000)]
typos

18 years agotraceback now shows error position for all SyntaxError subclasses,
Georg Brandl [Fri, 31 Mar 2006 15:59:13 +0000 (15:59 +0000)]
traceback now shows error position for all SyntaxError subclasses,
e.g. IndentationError. (bug #1447885)

18 years agoComplete markup.
Georg Brandl [Fri, 31 Mar 2006 15:38:44 +0000 (15:38 +0000)]
Complete markup.

18 years agoFix the reference leak in test_generators, by explicitly breaking the cycle
Thomas Wouters [Fri, 31 Mar 2006 15:31:43 +0000 (15:31 +0000)]
Fix the reference leak in test_generators, by explicitly breaking the cycle
we are about to leave behind. An example of the cause of this leak can be
found in the leakers directory, in case we ever want to tackle the
underlying problem.

18 years agoBug #947906: An object oriented interface has been added to the calendar
Walter Dörwald [Fri, 31 Mar 2006 15:26:22 +0000 (15:26 +0000)]
Bug #947906: An object oriented interface has been added to the calendar
module. It's possible to generate HTML calendar now and the module can be
called as a script (e.g. via ``python -mcalendar``).

18 years agoTagging for release r25a0
Martin v. Löwis [Fri, 31 Mar 2006 15:21:36 +0000 (15:21 +0000)]
Tagging for release r25a0

18 years agoRemove tag, to recreate it right away. v2.5a0
Martin v. Löwis [Fri, 31 Mar 2006 15:20:56 +0000 (15:20 +0000)]
Remove tag, to recreate it right away.

18 years agoAdd index entries for new-style/old-style class.
Georg Brandl [Fri, 31 Mar 2006 15:12:16 +0000 (15:12 +0000)]
Add index entries for new-style/old-style class.

18 years agoobject() is a function, not a base class.
Georg Brandl [Fri, 31 Mar 2006 15:07:25 +0000 (15:07 +0000)]
object() is a function, not a base class.

18 years agoBug #1461610: xmlrpclib has no function "binary".
Georg Brandl [Fri, 31 Mar 2006 14:35:10 +0000 (14:35 +0000)]
Bug #1461610: xmlrpclib has no function "binary".

18 years agoFix typos.
Walter Dörwald [Fri, 31 Mar 2006 11:03:57 +0000 (11:03 +0000)]
Fix typos.

18 years agoDon't add multiple empty lines at the end of the codec. With this a
Walter Dörwald [Fri, 31 Mar 2006 10:13:10 +0000 (10:13 +0000)]
Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.

18 years agoClarify what the final argument does in
Walter Dörwald [Fri, 31 Mar 2006 09:15:29 +0000 (09:15 +0000)]
Clarify what the final argument does in
IncrementalDecoder.decode().

18 years agoAdd a NEWS entry for the Alpha fixes
Neal Norwitz [Fri, 31 Mar 2006 08:21:40 +0000 (08:21 +0000)]
Add a NEWS entry for the Alpha fixes

18 years agoGet gcc to do strict IEEE math. This flag was already used for cc, just not
Neal Norwitz [Fri, 31 Mar 2006 06:54:45 +0000 (06:54 +0000)]
Get gcc to do strict IEEE math.  This flag was already used for cc, just not
gcc.  Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal.  This causes the interpreter to quit.
The failing tests this fixes are:  test_float, test_long, and test_struct.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).

Will verify if this is a problem in 2.4 and backport if necessary (probably).

18 years agoimprove reporting of illegal section nesting (provide location which
Fred Drake [Fri, 31 Mar 2006 05:30:19 +0000 (05:30 +0000)]
improve reporting of illegal section nesting (provide location which
caused detection of the error)

18 years agofix sectioning: cannot skip section levels
Fred Drake [Fri, 31 Mar 2006 05:28:38 +0000 (05:28 +0000)]
fix sectioning: cannot skip section levels

18 years agotest_main(): Restore the decimal context that was in
Tim Peters [Fri, 31 Mar 2006 04:11:16 +0000 (04:11 +0000)]
test_main():  Restore the decimal context that was in
effect at the time test_decimal was imported.  Else
running test_decimal had the bad side effect of
permanently changing the decimal context in effect.
That caused text_tokenize to fail if it ran after
test_decimal.

18 years agoRepaired a number of errors in this test:
Tim Peters [Fri, 31 Mar 2006 03:17:30 +0000 (03:17 +0000)]
Repaired a number of errors in this test:

- The doctests in decistmt() weren't run at all when
  test_tokenize was run via regrtest.py.

- Some expected output in decistmt() was Windows-specific
  (but nobody noticed because the doctests weren't getting
  run).

- test_roundtrip() didn't actually test anything when
  running the tests with -O.  Now it does.

- Changed test_roundtrip() to show the name of the input
  file when it fails.  That would have saved a lot of
  time earlier today.

- Added a bunch of comments.