Fred Drake
b745a0481b
Remove the dependency information for version.o; this is not part of
...
the sources/build process any more.
2000-08-23 21:16:10 +00:00
Jeremy Hylton
cf29bb2aa9
style nits
2000-08-23 21:11:05 +00:00
Fred Drake
27c4b39025
When skipping a test, do not include a spurious space between the exception
...
name and the ":" that separates it from the value. (Minor cleanup.)
2000-08-23 20:34:40 +00:00
Jeremy Hylton
4d746fca3d
add docstring explaining makefile limitation
...
fix support for passing http version to connect in HTTP
2000-08-23 20:34:17 +00:00
Fred Drake
6baec620b4
Sort the list of files processed before running the test on each.
2000-08-23 20:21:31 +00:00
Skip Montanaro
9dcea3f8a8
test case output for dospath regr test
2000-08-23 20:07:21 +00:00
Guido van Rossum
81db1a31fa
Updated some URLs; removed mention of copyright (we'll have to add
...
something in later after that discussion is over); remove explanation
of 2.0 version number.
2000-08-23 19:01:43 +00:00
Fred Drake
eb375e49f5
Simplified inclusions and avoid prototypes copied in from elsewhere.
...
This also avoids a warning in anal mode.
2000-08-23 18:17:42 +00:00
Skip Montanaro
323fe5df6a
fix list comprehension discussion to use \keyword macro instead of simply
...
quoting keywords.
2000-08-23 17:03:34 +00:00
Skip Montanaro
297bf7ceb5
update commonprefix doc to make sure user is aware it works
...
character-by-character and that that behavior may result in it returning
prefixes that are not valid paths
2000-08-23 16:58:32 +00:00
Skip Montanaro
640f483c50
new test - like test_ntpath but without splitunc test cases
2000-08-23 16:55:00 +00:00
Skip Montanaro
877d62e72d
added commonprefix test cases
2000-08-23 16:54:27 +00:00
Skip Montanaro
533bc9ad42
updated to correct failing test cases
2000-08-23 16:51:56 +00:00
Fred Drake
abca14d8e2
Added note stating that the parser module will need updating for most
...
changes to this file.
2000-08-23 15:45:28 +00:00
Fred Drake
85bf3bb44a
validate_listmaker(): Revise to match Skip's latest changes to the
...
Grammar file. This makes the test suite pass once again.
2000-08-23 15:35:26 +00:00
Jack Jansen
03c06ee7fc
Restored commonprefix() semantics.
2000-08-23 09:13:40 +00:00
Tim Peters
a48b526745
Rehabilitate autotest.py.
...
In README: Write up (Guido's) rules for intra-test imports; warn against
asserts; document test_support.use_large_resources.
2000-08-23 05:28:45 +00:00
Jack Jansen
d49cbe1060
Added PyOS_CheckStack call to PyObject_Compare
...
Lowered the recursion limit on compares to 60 (one recursion depth can
take a whopping 2K of stack space when running test_b1!)
2000-08-22 21:52:51 +00:00
Jack Jansen
e979160f5e
Added include for limits.h
2000-08-22 21:51:22 +00:00
Jack Jansen
6c091c8ff2
Regenerated to take advantage of support for multiple names for a single property.
2000-08-22 20:35:17 +00:00
Jack Jansen
9d6d2c0c97
Only output the code to alias properties if the names aren't the same.
2000-08-22 20:34:35 +00:00
Guido van Rossum
93ff482c21
At Mark Hammond's request, removing registry key
...
Software\Python\PythonCore\2.0\Dll\Python20.dll -- it's no longer
needed according to him.
Note: not yet tested!
2000-08-22 14:04:24 +00:00
Skip Montanaro
623583165e
revert semantics of commonprefix to work character-by-character
2000-08-22 13:01:53 +00:00
Guido van Rossum
6424524fbe
Thomas Heller noticed that the wrong registry entry was written for
...
the DLL. Replace
%_SYSDEST_%\Python20.dll
with
%_DLLDEST_%\Python20.dll.
2000-08-22 12:10:02 +00:00
Mark Hammond
48b3eee170
Registered modules could only exist in HKEY_LOCAL_MACHINE - now HKEY_CURRENT_USER can override.
2000-08-22 11:20:21 +00:00
Skip Montanaro
79f1c1778d
* added doc strings to urlopen and unquote_plus
...
* fixed type in doc string for quote
2000-08-22 03:00:52 +00:00
Skip Montanaro
46dfa5f4ed
require list comprehensions to start with a for clause
2000-08-22 02:43:07 +00:00
Guido van Rossum
2823f03a56
Patch by Toby Dickenson: don't die when an error occurs during string
...
conversion in an exception, but instead display <unprintable %s
object> where %s is the type name.
2000-08-22 02:04:46 +00:00
Greg Ward
986659fffe
Don't bother to 'mkpath()' the 'dist_dir' -- that's now taken care of
...
in archive_util.py.
2000-08-22 01:49:41 +00:00
Greg Ward
04e25a1bdf
Ensure destination directory exists before trying to create a tarball
...
or ZIP file.
2000-08-22 01:48:54 +00:00
Tim Peters
72b93ec1c3
Nuked unused variable.
2000-08-22 01:44:16 +00:00
Guido van Rossum
ff18b800a4
Don't reference a module named test.test_support. Always use plain
...
test_support. Also fixed the expected output.
2000-08-21 22:59:29 +00:00
Fred Drake
79ca79d1a9
Add a minimal test suite for the parser module.
2000-08-21 22:30:53 +00:00
Fred Drake
cff283c7b3
Update to reflect recent grammar changes (list comprehensions, extended
...
print statement), and fix up the extended call syntax support.
Minor stylistic cleanups.
2000-08-21 22:24:43 +00:00
Fred Drake
a893957c8e
Denis S. Otkidach <den@analyt.chem.msu.ru>:
...
Let UserString.translate() method work with unicode data.
This closes SourceForge patch #101246 .
2000-08-21 21:47:20 +00:00
Fred Drake
567ca8e732
Patch from Paul Schreiber <paul@commerceflow.com>:
...
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 !=).
2000-08-21 21:42:42 +00:00
Barry Warsaw
9087688581
Describe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
2000-08-21 17:19:00 +00:00
Barry Warsaw
203da6dfe4
Add the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
2000-08-21 17:18:40 +00:00
Barry Warsaw
24703a02e7
com_print_stmt(): Guido rightly points out that the stream expression
...
in extended prints should only be evaluated once. This patch plays
stack games (documented!) to fix this.
2000-08-21 17:07:20 +00:00
Fred Drake
62c53ddabe
Add TestSkipped as another interesting item defined by test_support.
2000-08-21 16:55:57 +00:00
Barry Warsaw
45ab2b65f6
Thomas reminds me to bump the MAGIC number for the extended print
...
opcode additions.
2000-08-21 16:35:06 +00:00
Barry Warsaw
efc92eec33
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
Additional test cases for the extended print form.
2000-08-21 15:46:50 +00:00
Barry Warsaw
8c0a242289
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
Document the extended print form. Fred, please double check the
markup!
2000-08-21 15:45:16 +00:00
Barry Warsaw
23c9ec87cf
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
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.
2000-08-21 15:44:01 +00:00
Barry Warsaw
29c574e30c
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
com_print_stmt(): Implement recognition of, and byte compilation for,
extended print using new byte codes PRINT_ITEM_TO and
PRINT_NEWLINE_TO.
2000-08-21 15:38:56 +00:00
Barry Warsaw
35fd665981
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
This adds the two new opcodes to support this feature: PRINT_ITEM_TO,
PRINT_NEWLINE_TO.
2000-08-21 15:36:27 +00:00
Barry Warsaw
0360663e8e
PEP 214, Extended print Statement, has been accepted by the BDFL.
...
This change modifies Python's grammar to include the extended print
form.
2000-08-21 15:34:33 +00:00
Thomas Wouters
9b18adcd16
Ignore Grammar/Makefile now that it's a made Makefile.
2000-08-21 12:25:17 +00:00
Tim Peters
e82e7ccdbd
Remove the winreg module from the project. I don't believe any
...
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).
2000-08-21 02:27:22 +00:00
Andrew M. Kuchling
a98e92bc13
Add alias for old function name -- removing it broke Alexei Gilchrist's cfm
2000-08-20 23:37:02 +00:00