Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch by Bill Noon: added 'dylib' as a library type along with | Jack Jansen | 2001-08-27 | 2 | -4/+9 |
| | | | | | 'static' and 'shared'. This fixes extension building for dynamic Pythons on MacOSX. | ||||
* | Undo previous checkin -- Barry fixed it better. | Guido van Rossum | 2001-08-24 | 1 | -2/+0 |
| | |||||
* | Update test output to match new (more informative) error message about | Guido van Rossum | 2001-08-24 | 1 | -2/+2 |
| | | | | calling unbound method with wrong first argument. | ||||
* | Quick and dirty fix for test_extcall failures trigged by Guido's | Barry Warsaw | 2001-08-24 | 2 | -4/+8 |
| | | | | | | | recent classobject.c change. When calling an unbound method with no instances as first argument, the error message has changed. The message now contains the class name, but the output text being compared to is too generic, so skip printing it. | ||||
* | Remove the local 'getset' class -- this is now a built-in type with | Guido van Rossum | 2001-08-24 | 1 | -18/+0 |
| | | | | the same signature. | ||||
* | Rip the import repr truncation test out of here and put it in test_repr.py | Barry Warsaw | 2001-08-24 | 1 | -35/+0 |
| | |||||
* | Added lots of tests for reprs of "simple" objects, such as file, | Barry Warsaw | 2001-08-24 | 1 | -0/+156 |
| | | | | | | | lambda (anonymous functions?), function, xrange, buffer, cell (need to fill in), and (some) descriptor types. Also added a new test case for testing repr truncation fixes. | ||||
* | Repair repr of future-features (wasn't updated to include the new | Tim Peters | 2001-08-24 | 1 | -2/+3 |
| | | | | compiler-flag argument). | ||||
* | supers(): typo -- "if verify" should be "if verbose". | Guido van Rossum | 2001-08-24 | 1 | -1/+1 |
| | |||||
* | Add test suite for super(). | Guido van Rossum | 2001-08-24 | 1 | -0/+32 |
| | |||||
* | Add a test for the new getset type. | Guido van Rossum | 2001-08-24 | 1 | -0/+24 |
| | |||||
* | SF patch #454553 by Walter Dörwald: add content-type to FTP URLs, like | Guido van Rossum | 2001-08-24 | 1 | -4/+7 |
| | | | | for urllib. | ||||
* | Back out trying to use the C values for CO_xxx. | Tim Peters | 2001-08-24 | 1 | -10/+10 |
| | | | | | __future__.py reverted to 1.9. newmodule.c reverted to 2.32. | ||||
* | Looks like someone forgot the change the expected output file. | Tim Peters | 2001-08-24 | 1 | -14/+14 |
| | |||||
* | Add a test for the new // operator too. | Tim Peters | 2001-08-23 | 1 | -0/+4 |
| | |||||
* | SF bug [#454456] int overflow code needs tests. | Tim Peters | 2001-08-23 | 1 | -0/+61 |
| | | | | | Added tests for boundary cases in magical PEP 237 int->long auto-overflow, but nothing here addresses the rest of the bug report so left it open. | ||||
* | Patch #449054 to implement PEP 250. The standard install directory for | Greg Ward | 2001-08-23 | 2 | -8/+22 |
| | | | | | | modules and extensions on Windows is now $PREFIX/Lib/site-packages. Includes backwards compatibility code for pre-2.2 Pythons. Contributed by Paul Moore. | ||||
* | Remove test_long's expected-output file. | Tim Peters | 2001-08-23 | 2 | -9/+8 |
| | |||||
* | untabification | Fredrik Lundh | 2001-08-23 | 1 | -5/+5 |
| | |||||
* | updated to current PythonWare version (1.0b3). fixed type checks in | Fredrik Lundh | 2001-08-23 | 1 | -9/+15 |
| | | | | | DateTime constructor. use ServerProxy instead of Server in sample code. | ||||
* | Committing and closing SF patch #441348 to help Jython to pass this test. | Finn Bock | 2001-08-23 | 1 | -1/+1 |
| | |||||
* | SF patch #454553 by Walter Dörwald: auto-guess content-type header for | Guido van Rossum | 2001-08-23 | 1 | -5/+7 |
| | | | | ftp urls. | ||||
* | Don't make even the _slightest_ modification between test and checkin, | Jack Jansen | 2001-08-23 | 1 | -1/+1 |
| | | | | or you will break something:-) | ||||
* | The MacOS module may be available on Mac OS X, but it doesn't have a ↵ | Jack Jansen | 2001-08-23 | 1 | -1/+1 |
| | | | | SchedParams() method, and there's no need to call it anyway. | ||||
* | Turn OverflowWarning into an error locally, in order to make the | Guido van Rossum | 2001-08-23 | 1 | -0/+3 |
| | | | | OverflowError test succeed. | ||||
* | Ignore OverflowWarning by default. To enable the warning, use | Guido van Rossum | 2001-08-23 | 1 | -0/+1 |
| | | | | | | | | python -Wdefault or python -Wdefault::OverflowWarning | ||||
* | Merge changes from r22a2-branch back into trunk. Also, change patch | Barry Warsaw | 2001-08-22 | 1 | -0/+3 |
| | | | | level to 2.2a2+ | ||||
* | Enhancements: | Ka-Ping Yee | 2001-08-21 | 1 | -93/+111 |
| | | | | | | | | | | - file URL now starts with "file://" (standard) rather than "file:" - new optional argument 'context' to enable() - repeated variable names don't have their values shown twice - dotted attributes are shown; missing attributes handled reasonably - highlight the whole logical line even if it has multiple physical lines - use nice generator interface to tokenize - formatting fixed so that it looks good in lynx, links, and w3m too | ||||
* | A test of SSL support, using a roundabout method suggested by Guido. | Barry Warsaw | 2001-08-20 | 1 | -0/+13 |
| | | | | However, this is only enabled with regrtest's --use=network switch. | ||||
* | Use test_support.requires() to decide whether additional largefile | Barry Warsaw | 2001-08-20 | 1 | -7/+8 |
| | | | | tests should be run. | ||||
* | Removed --have-resources flag in favor of the more granular -u/--use | Barry Warsaw | 2001-08-20 | 1 | -22/+61 |
| | | | | | | | | | | | | | | | | | | | flag, which specifies external or resource intensive tests to perform. This is used by test_largefile and test_socket_ssl. -u/--use takes a comma separated list of flags, currently supported: largefile, network. usage(): New function. Note that the semantics of main() have changed slightly; instead of returning an error code, it raises a SystemExit (via sys.exit()) with the given error code. main(): use_large_resources => use_resources Also, added support for long-option alternative to the short options. _expectations: Added test_socket_ssl to the list of expectedly skipped tests. | ||||
* | use_large_resources => use_resources | Barry Warsaw | 2001-08-20 | 1 | -2/+8 |
| | | | | | | | | requires(): New function which can be used to `assert' that a specific -u/--use resource flag is present. Raises a TestSkipped if not. This is used in test_largefile and test_socket_ssl to enable external or resource consumptive tests that are normally disabled. | ||||
* | Whitespace normalization. | Tim Peters | 2001-08-20 | 2 | -3/+3 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | Clean up some argument profiles, enrich the docstring. | Eric S. Raymond | 2001-08-20 | 1 | -18/+27 |
| | |||||
* | 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. | ||||
* | 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 | 2 | -11/+17 |
| | | | | | | | | | | 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. | ||||
* | Framework code for compilerlike scripts. | Eric S. Raymond | 2001-08-18 | 1 | -0/+154 |
| | |||||
* | 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. |