summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't reference a module named test.test_support. Always use plainGuido van Rossum2000-08-212-7/+1
| | | | test_support. Also fixed the expected output.
* Add a minimal test suite for the parser module.Fred Drake2000-08-212-0/+152
|
* Update to reflect recent grammar changes (list comprehensions, extendedFred Drake2000-08-211-178/+363
| | | | | | print statement), and fix up the extended call syntax support. Minor stylistic cleanups.
* Denis S. Otkidach <den@analyt.chem.msu.ru>:Fred Drake2000-08-211-2/+2
| | | | | | Let UserString.translate() method work with unicode data. This closes SourceForge patch #101246.
* Patch from Paul Schreiber <paul@commerceflow.com>:Fred Drake2000-08-211-6/+19
| | | | | | | | | | | | | | | | | | Patch description ----------------- This addresses four issues: (1) usernames and passwords in urls with special characters are now decoded properly. i.e. http://foo%2C:bar@www.whatever.com/ (2) Basic Auth support has been added to HTTPS, like it was in HTTP. (3) Version 1.92 sent the POSTed data, but did not deal with errors (HTTP responses other than 200) properly. HTTPS now behaves the same way HTTP does. (4) made URL-checking beahve the same way with HTTPS as it does with HTTP (changed == to !=).
* Describe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.Barry Warsaw2000-08-211-2/+12
|
* Add the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.Barry Warsaw2000-08-211-0/+2
|
* com_print_stmt(): Guido rightly points out that the stream expressionBarry Warsaw2000-08-211-5/+22
| | | | | in extended prints should only be evaluated once. This patch plays stack games (documented!) to fix this.
* Add TestSkipped as another interesting item defined by test_support.Fred Drake2000-08-211-0/+4
|
* Thomas reminds me to bump the MAGIC number for the extended printBarry Warsaw2000-08-211-1/+1
| | | | opcode additions.
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-212-0/+23
| | | | Additional test cases for the extended print form.
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-0/+12
| | | | | Document the extended print form. Fred, please double check the markup!
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-212-138/+184
| | | | | | | eval_code2(): Implement new bytecodes PRINT_ITEM_TO and PRINT_NEWLINE_TO, as per accepted SF patch #100970. Also update graminit.c based on related Grammar/Grammar changes.
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-8/+36
| | | | | | com_print_stmt(): Implement recognition of, and byte compilation for, extended print using new byte codes PRINT_ITEM_TO and PRINT_NEWLINE_TO.
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-0/+2
| | | | | This adds the two new opcodes to support this feature: PRINT_ITEM_TO, PRINT_NEWLINE_TO.
* PEP 214, Extended print Statement, has been accepted by the BDFL.Barry Warsaw2000-08-211-2/+2
| | | | | This change modifies Python's grammar to include the extended print form.
* Ignore Grammar/Makefile now that it's a made Makefile.Thomas Wouters2000-08-211-0/+1
|
* Remove the winreg module from the project. I don't believe anyTim Peters2000-08-213-813/+0
| | | | | | | docs changes are needed (only reference to winreg I could find was in libwinreg.tex, which is documenting _winreg, and merely mentions that a higher-level winreg module *may* appear someday; that's still true).
* Add alias for old function name -- removing it broke Alexei Gilchrist's cfmAndrew M. Kuchling2000-08-201-0/+2
|
* Strengthen the warning against using SerialCookie and SmartCookie.Andrew M. Kuchling2000-08-201-9/+12
| | | | | (If they're security holes, should they be documented at all?) Minor rewrites.
* - identify() enum names.Jack Jansen2000-08-201-2/+3
| | | | | - don't identify() enum values. - make aetools.Error available in the package module.
* Updated the applescript documentation for te new framework, and replaced the ↵Jack Jansen2000-08-209-963/+1252
| | | | | | Eudora example with one that uses Disk Copy (which everyone running MacOS 8 or higher should have).
* Added a package for the other browser too.Jack Jansen2000-08-206-0/+964
|
* Moved to unsupported: it never lived up to its expectancies, and for the Mac ↵Jack Jansen2000-08-2010-0/+0
| | | | all the functionality is available in the IDE.
* Moved to unsupported: it doesn't work anymore and it has outlived its ↵Jack Jansen2000-08-201-0/+0
| | | | usefulness so I don't want to fix it.
* Updated for new AppleScript structure and moved to Lib (it's far too useful ↵Jack Jansen2000-08-201-8/+2
| | | | to lurk in the source folder).
* Fixed again to work with the old scripting interface (so we can test the new ↵Jack Jansen2000-08-201-1/+1
| | | | one actually still works).
* Updated for the new applescript interface (which actually makes it so ↵Jack Jansen2000-08-201-23/+6
| | | | ridiculously simple that its main reason for existence is backward compatability).
* Enums we cannot find are set to None, and enumsubst understands this (no ↵Jack Jansen2000-08-202-6/+10
| | | | substitution done). This is need for what I think are bugs in the Finder aete resources (some events use unknown enums).
* Fixed event inheritance code (which didn't work at all).Jack Jansen2000-08-201-117/+239
| | | | Do two passes over the suites so we can figure out dependencies for enums and such. The manual method was getting too cumbersome for Finder suites.
* Finder suite.Jack Jansen2000-08-2012-0/+3801
|
* Regenerated with fixes to gensuitemodule.Jack Jansen2000-08-206-44/+44
|
* Fix the bug Sjoerd Mullender discovered, where find_from_args() wasn'tThomas Wouters2000-08-201-1/+3
| | | | | | | | | | trying hard enough to find out what the arguments to an import were. There is no test-case for this bug, yet, but this is what it looked like: from encodings import cp1006, cp1026 ImportError: cannot import name cp1026 '__import__' was called with only the first name in the 'arguments' list.
* Changed the popen2.py _test function to use the "more" cmd whenTim Peters2000-08-201-5/+10
| | | | | | | | os.name == "nt". This makes test_popen2 pass under Win98SE. HOWEVER, the Win98 "more" invents a leading newline out of thin air, and I'm not sure that the other Windows flavors of "more" also do that. So, somebody please try under other Windows flavors!
* David Goodger's new getopt test module (thanks, David!).Tim Peters2000-08-202-0/+108
| | | | | https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470 Accepted as-is, except for purging an "import *".
* Disallow "import mod.submod as m", because the result is ambiguous. Does itThomas Wouters2000-08-192-2/+8
| | | | | | | | | | load mod.submod as m, or mod as m ? Both can be achieved differently, and unambiguously. Also attempt to document this restriction (editor appreciated!) Note that this is an artificial check during compile, because incorporating this in the grammar is hard, and then adjusting the compiler to do the right thing with the right nodes is harder.
* Add entry for Cookie module.Fred Drake2000-08-192-0/+2
|
* Make it format.Fred Drake2000-08-191-166/+177
| | | | | | Adjust markup for hyperlinking to the relevant RFCs. Give it a little organization. Minor nits.
* Adding tests of the "attrs" optional argument, and of the js_outputMoshe Zadka2000-08-192-0/+20
| | | | functionality.
* Use METH_VARARGS constant in example module.Andrew M. Kuchling2000-08-191-6/+6
| | | | Fix comment typo
* Test case for Cookie.pyAndrew M. Kuchling2000-08-192-0/+33
|
* Initial revision. Markup unchecked.Moshe Zadka2000-08-191-0/+232
|
* Added Tim O'Malley's Cookie.py module (master version atAndrew M. Kuchling2000-08-191-0/+718
| | | | | http://www.timo-tasi.org/python/Cookie.py) This is revision 2.26 according to Tim's RCS history.
* com_error(): Quiet gcc -Wall warning.Barry Warsaw2000-08-181-1/+0
|
* Remove a couple of warnings turned up by "gcc -Wall".Fred Drake2000-08-182-3/+4
|
* PyUnicode_AsUTF8String(): /F picks up what I missed: the local varBarry Warsaw2000-08-181-2/+0
| | | | `str' is no longer necessary. Gotta turn on -Wall!
* Do not set a MemoryError exception over another MemoryError exception,Vladimir Marangozov2000-08-181-0/+4
| | | | thus preserving the first one that has been raised.
* Better conformance to the Python Style Guide: use spaces around operators.Fred Drake2000-08-181-32/+33
|
* When a KeyboardInterrupt is caught, just use the "raise" syntax toFred Drake2000-08-181-2/+2
| | | | re-raise it instead of re-raising it "manually" the ugly way.
* Revise to use atexit instead of monkeying with sys.exitfunc directly.Fred Drake2000-08-181-9/+2
|