Commit Graph

19116 Commits

Author SHA1 Message Date
Tim Peters
02035bc68d Test failed because these was no expected-output file, but always printed
to stdout.  Repaired by not printing at all except in verbose mode.

Made the test about 6x faster -- envelope analysis showed it took time
proportional to the square of the # of tasks.  Now it's linear.
2001-08-20 21:45:19 +00:00
Fred Drake
16bb41934c New \grammartoken markup, similar to \token but allowed everywhere. 2001-08-20 21:36:38 +00:00
Fred Drake
2a274a7e41 Add another name. 2001-08-20 21:33:41 +00:00
Fred Drake
029acfb922 Deal more appropriately with bare ampersands and pointy brackets; this
module has to deal with "class" HTML-as-deployed as well as XHTML, so we
cannot be as strict as XHTML allows.

This closes SF bug #453059, but uses a different fix than suggested in
the bug comments.
2001-08-20 21:24:19 +00:00
Jeremy Hylton
18da1e1e7f Add test case to cover multiple future statements on separate lines of
a module.
2001-08-20 21:18:56 +00:00
Jeremy Hylton
8471a35feb Fix SF bug [ #450245 ] Error in parsing future stmts
Add test case to cover multiple future statements on separate lines of
a module.
2001-08-20 20:33:42 +00:00
Jeremy Hylton
1e35ce58e8 Fix SF bug [ #450245 ] Error in parsing future stmts
Check return value from future_parse() in for loop for file_input to
accomodate multiple future statements on separate lines.

Add several comments explaining how the code works.

Remove out-dated XXX comment.
2001-08-20 20:32:33 +00:00
Barry Warsaw
07d8d6415f Committing and closing SF patch #403671 by Finn Bock to help Jython
pass these tests.
2001-08-20 20:29:07 +00:00
Skip Montanaro
4533f60da5 add a few test cases for threading module. 2001-08-20 20:28:48 +00:00
Skip Montanaro
e428bb7030 Added new BoundedSemaphore class. Closes bug 452836. 2001-08-20 20:27:58 +00:00
Jeremy Hylton
a7fc21baf6 Silence warnings during test_os 2001-08-20 20:10:01 +00:00
Fred Drake
cc8f44b884 Split "Extending & Embedding" into separate files, one per chapter. 2001-08-20 19:30:29 +00:00
Jeremy Hylton
1ba6bada67 It will always be a string, because it is created just before this call. 2001-08-20 19:06:36 +00:00
Fred Drake
31d833d575 Added documentation for BoundedSemaphore(), contributed by Skip Montanaro.
This closes SF patch #452836.
2001-08-20 18:49:00 +00:00
Fred Drake
0e40c3d012 Document PyTuple_GET_SIZE(), removing confusing sentence from PyDict_Copy()
description.

This fixes SF bug #453111.
2001-08-20 16:48:59 +00:00
Jack Jansen
a0f4369f5a Oops, these compatibility modules were missing. Which went unnoticed because their companions had been put in the wrong place. 2001-08-20 15:35:57 +00:00
Jack Jansen
7586b049ba Various toolbox modules were generated in lib-dynload accidentally
in stead of in Carbon. Fixed.
2001-08-20 15:31:56 +00:00
Eric S. Raymond
29bb115bae Clean up some argument profiles, enrich the docstring. 2001-08-20 13:16:30 +00:00
Jack Jansen
d0688ebc10 Oops, this file shouldn't have been removed. 2001-08-20 10:20:27 +00:00
Jack Jansen
914f9e926d The destination folder is now :Lib:lib-dynload 2001-08-19 22:32:57 +00:00
Jack Jansen
f60edf861c PATCHLEVEL is outdated, use PY_VERSION. 2001-08-19 22:32:27 +00:00
Jack Jansen
ad251c7516 Step 1 in packaging the toolbox modules and making MacPython more
like normal Python. toolbox modules are now in the Carbon package
in :Mac:Lib, with a workaround flat namespace in :Mac:Lib:lib-compat.
Other dynamic modules are in :Lib:lib-dynload. :Mac:Lib:lib-toolbox and
:Mac:Plugins are gone.
2001-08-19 22:30:31 +00:00
Jack Jansen
d39c246a4c Dynamic modules are now put in :Lib:lib-dynload by default. For the toolbox modules this is overridden to put them in :Mac:Lib:Carbon. 2001-08-19 22:29:57 +00:00
Jack Jansen
edb17c971f Compatibility modules. lib-compat is on the default sys.path for MacPython 2.2, and each of these modules imports * from its namesake in the Carbon package. 2001-08-19 22:28:32 +00:00
Jack Jansen
63f6b4984b Moved to either :Mac:Lib (WASTEconst and files that weren't generated) or to the Carbon package. 2001-08-19 22:20:55 +00:00