Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test failed because these was no expected-output file, but always printed | Tim Peters | 2001-08-20 | 1 | -5/+8 |
| | | | | | | | 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. | ||||
* | New \grammartoken markup, similar to \token but allowed everywhere. | Fred Drake | 2001-08-20 | 2 | -0/+6 |
| | |||||
* | Add another name. | Fred Drake | 2001-08-20 | 1 | -0/+1 |
| | |||||
* | Deal more appropriately with bare ampersands and pointy brackets; this | Fred Drake | 2001-08-20 | 2 | -19/+39 |
| | | | | | | | | 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. | ||||
* | Add test case to cover multiple future statements on separate lines of | Jeremy Hylton | 2001-08-20 | 1 | -0/+11 |
| | | | | a module. | ||||
* | Fix SF bug [ #450245 ] Error in parsing future stmts | Jeremy Hylton | 2001-08-20 | 3 | -0/+5 |
| | | | | | Add test case to cover multiple future statements on separate lines of a module. | ||||
* | Fix SF bug [ #450245 ] Error in parsing future stmts | Jeremy Hylton | 2001-08-20 | 1 | -3/+18 |
| | | | | | | | | | 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. | ||||
* | Committing and closing SF patch #403671 by Finn Bock to help Jython | Barry Warsaw | 2001-08-20 | 1 | -11/+31 |
| | | | | pass these tests. | ||||
* | add a few test cases for threading module. | Skip Montanaro | 2001-08-20 | 1 | -0/+52 |
| | |||||
* | Added new BoundedSemaphore class. Closes bug 452836. | Skip Montanaro | 2001-08-20 | 1 | -0/+15 |
| | |||||
* | Silence warnings during test_os | Jeremy Hylton | 2001-08-20 | 1 | -0/+5 |
| | |||||
* | Split "Extending & Embedding" into separate files, one per chapter. | Fred Drake | 2001-08-20 | 7 | -3158/+3160 |
| | |||||
* | It will always be a string, because it is created just before this call. | Jeremy Hylton | 2001-08-20 | 1 | -1/+1 |
| | |||||
* | Added documentation for BoundedSemaphore(), contributed by Skip Montanaro. | Fred Drake | 2001-08-20 | 1 | -2/+40 |
| | | | | This closes SF patch #452836. | ||||
* | Document PyTuple_GET_SIZE(), removing confusing sentence from PyDict_Copy() | Fred Drake | 2001-08-20 | 1 | -2/+7 |
| | | | | | | description. This fixes SF bug #453111. | ||||
* | Oops, these compatibility modules were missing. Which went unnoticed because ↵ | Jack Jansen | 2001-08-20 | 8 | -0/+8 |
| | | | | their companions had been put in the wrong place. | ||||
* | Various toolbox modules were generated in lib-dynload accidentally | Jack Jansen | 2001-08-20 | 1 | -3/+3 |
| | | | | in stead of in Carbon. Fixed. | ||||
* | Clean up some argument profiles, enrich the docstring. | Eric S. Raymond | 2001-08-20 | 2 | -32/+41 |
| | |||||
* | Oops, this file shouldn't have been removed. | Jack Jansen | 2001-08-20 | 1 | -0/+1 |
| | |||||
* | The destination folder is now :Lib:lib-dynload | Jack Jansen | 2001-08-19 | 1 | -0/+0 |
| | |||||
* | PATCHLEVEL is outdated, use PY_VERSION. | Jack Jansen | 2001-08-19 | 1 | -1/+1 |
| | |||||
* | Step 1 in packaging the toolbox modules and making MacPython more | Jack Jansen | 2001-08-19 | 1 | -1/+0 |
| | | | | | | | 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. | ||||
* | Dynamic modules are now put in :Lib:lib-dynload by default. For the toolbox ↵ | Jack Jansen | 2001-08-19 | 1 | -37/+41 |
| | | | | modules this is overridden to put them in :Mac:Lib:Carbon. | ||||
* | Compatibility modules. lib-compat is on the default sys.path for MacPython ↵ | Jack Jansen | 2001-08-19 | 37 | -0/+37 |
| | | | | 2.2, and each of these modules imports * from its namesake in the Carbon package. | ||||
* | Moved to either :Mac:Lib (WASTEconst and files that weren't generated) or to ↵ | Jack Jansen | 2001-08-19 | 27 | -6475/+0 |
| | | | | the Carbon package. | ||||
* | The modules with toolbox constants. | Jack Jansen | 2001-08-19 | 22 | -0/+4998 |
| | |||||
* | Carbon is now a package encapsulating all the toolbox modules. Carbon is not | Jack Jansen | 2001-08-19 | 1 | -0/+0 |
| | | | | | | the best of names right now (because QuickTime, for instance, is part of its own framekwork in OSX terminology, and because all these modules also work on pre-Carbon MacOS) but in a year or so it will be:-). | ||||
* | Moved here form lib-toolbox, for lack of a better place to go. | Jack Jansen | 2001-08-19 | 1 | -0/+95 |
| | |||||
* | Moved here from lib-toolbox, where they should never have been in the first ↵ | Jack Jansen | 2001-08-19 | 4 | -0/+1382 |
| | | | | place (all the other stuff there wa generated with bgen). | ||||
* | Step 1 in packaging the toolbox modules and making MacPython more | Jack Jansen | 2001-08-19 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Temporarily disabled the import hook. It breaks with the package-based | Jack Jansen | 2001-08-19 | 1 | -1/+2 |
| | | | | Carbon and its workaround. | ||||
* | Removed NEXT-NOTES, the NeXT is no longer supported. | Jack Jansen | 2001-08-19 | 2 | -82/+0 |
| | |||||
* | Removed NeXT notes (replacing them with a line saying NeXT is no | Jack Jansen | 2001-08-19 | 1 | -17/+23 |
| | | | | longer supported) and updated MacOSX notes. | ||||
* | Got rid of all the plugin xml files: they are generated, and | Jack Jansen | 2001-08-19 | 135 | -63926/+0 |
| | | | | | | | | | they were only in the repository for people building MacPython from CVS (the .cmp project files are in a MacPython source distribution). The process to regenerate them is now easier (and documented!) so these shouldn't be needed anymore. And eventually they should all be built by setup.py anyway. | ||||
* | of course I muffed it separating the notes code from the initial_value | Skip Montanaro | 2001-08-19 | 1 | -4/+4 |
| | | | | code. grrr... | ||||
* | Avoid total dependency on the new module. This addresses the problem | Guido van Rossum | 2001-08-19 | 1 | -1/+7 |
| | | | | reported by Greg Ball on python-dev. | ||||
* | add debug calls to self._note for the Semaphore class. This closes bug | Skip Montanaro | 2001-08-19 | 1 | -0/+9 |
| | | | | | 443614. I will submit a new feature request and patch to threading.py and libthreading.tex to address the bounded semaphore issue. | ||||
* | Improve Windows time.clock() blurb; was missing return type and unit. | Tim Peters | 2001-08-19 | 1 | -4/+4 |
| | |||||
* | Windows fiddling for 2.2a2: bump build number; update copyright and | Tim Peters | 2001-08-19 | 4 | -8/+10 |
| | | | | | company info in resource files; change installer strings to match. This belongs in the release branch too, of course. | ||||
* | SF patch #452239 by Gordon McMillan, to fix SF bug #451547. | Guido van Rossum | 2001-08-18 | 1 | -1/+25 |
| | | | | | | | | | | This patch attempts to do to cPickle what Guido did for pickle.py v 1.50. That is: save_global tries importing the module, and fetching the name from the module. If that fails, or the returned object is not the same one we started with, it raises a PicklingError. (All this so pickling a lambda will fail at save time, rather than load time). | ||||
* | Add dependencies for Python/thread.c on all of the header files that | Guido van Rossum | 2001-08-18 | 1 | -0/+4 |
| | | | | | | | | it may depend on. It's really annoying that thread.o doesn't get rebuilt when the .h file is changed! :-) The dependency is on *all* the Python/thread_*.h files -- that should be sufficient and rarely cause unneeded recompilations. | ||||
* | Inspired by Greg Stein's proposed simplification of the _closesocket | Guido van Rossum | 2001-08-18 | 1 | -5/+1 |
| | | | | | class, I came up with an even simpler solution: raise the error in __getattr__(). | ||||
* | Expose the CO_xxx flags via the "new" module (re-solving a problem "the | Tim Peters | 2001-08-18 | 3 | -13/+48 |
| | | | | | | | | | | right way"). Fiddle __future__.py to use them. Jeremy's pyassem.py may also want to use them (by-hand duplication of magic numbers is brittle), but leaving that to his judgment. Beef up __future__'s test to verify the exported feature names appear correct. | ||||
* | added warnings about security risk of using tmpnam and tempnam | Skip Montanaro | 2001-08-18 | 1 | -0/+10 |
| | |||||
* | Fix SF bug #443600: | Guido van Rossum | 2001-08-18 | 1 | -15/+46 |
| | | | | | | | | Change to get/set/del slice operations so that if the object doesn't support slicing, *or* if either of the slice arguments is not an int or long, we construct a slice object and call the get/set/del item operation instead. This makes it possible to design classes that support slice arguments of non-integral types. | ||||
* | Framework code for compilerlike scripts. | Eric S. Raymond | 2001-08-18 | 2 | -0/+241 |
| | |||||
* | Resolve patch #449367. | Greg Stein | 2001-08-18 | 1 | -15/+26 |
| | | | | | | | | | | | For the HTTPS class (when available), ensure that the x509 certificate data gets passed through to the HTTPSConnection class. Create a new HTTPS.__init__ to do this, and refactor the HTTP.__init__ into a new _setup method for both init's to call. Note: this is solved differently from the patch, which advocated a new **x509 parameter on the base HTTPConnection class. But that would open HTTPConnection to arbitrary (ignored) parameters, so was not as desirable. | ||||
* | Add some fairly important file extensions: bmp css doc mid midi mp2 mp3 xls. | Ka-Ping Yee | 2001-08-18 | 1 | -0/+8 |
| | | | | Entries taken from the standard Debian mime.types file. | ||||
* | Initial check-in of cgitb. | Ka-Ping Yee | 2001-08-18 | 1 | -0/+182 |
| | | | | A few enhancements are pending, but this should work reliably. | ||||
* | When the socket is closed, don't just assign 0 to self._sock. | Guido van Rossum | 2001-08-18 | 1 | -8/+18 |
| | | | | | This breaks software that excepts a socket.error but not an AttributeError. |