Moshe Zadka
a1a4b5916b
Closing patch #101120 -- After everyone agreed.
2000-08-25 21:47:56 +00:00
Barry Warsaw
fa488ec2a0
_expand_lang(), _find(): Added support for unaliasing and expanded the
...
language found in the environment variable, contributed by James
Henstridge.
2000-08-25 20:26:43 +00:00
Barry Warsaw
1dce09da61
Group consensus is that supporting alternative locale categories is
...
useless. So the test of the dcgettext() function is removed.
2000-08-25 19:53:51 +00:00
Barry Warsaw
84314b72d6
Group consensus is that supporting alternative locale categories is
...
useless. So the category argument on _find() is removed, as is the
dcgettext() function.
2000-08-25 19:53:17 +00:00
Barry Warsaw
ff6d813657
Set this test up so that we don't have to create xx/LC_MESSAGES in the
...
cvs tree. It creates the directory and gettext.mo file on the fly,
from the base64 encode binary data.
2000-08-25 19:50:38 +00:00
Barry Warsaw
e332c1f415
updated test output
2000-08-25 19:49:28 +00:00
Barry Warsaw
dd46cb38ce
output from test_gettext.py test suite
2000-08-25 19:15:00 +00:00
Barry Warsaw
9e03592149
Test suite for new gettext.py module.
2000-08-25 19:14:25 +00:00
Barry Warsaw
95be23dc86
Initial revision of gettext support for Python. This will undergo
...
some changes.
2000-08-25 19:13:37 +00:00
Sjoerd Mullender
d7b86f0056
Pass data on to retrieve method.
...
Don't people *test* their changes?
2000-08-25 11:23:36 +00:00
Andrew M. Kuchling
3227cc8c09
Test suite for poll() interface (SF patch #100852 )
2000-08-25 01:18:45 +00:00
Thomas Wouters
6af3b37021
Add missing opcodes. Thanx to jeremy for reminding me ;)
2000-08-24 22:44:53 +00:00
Peter Schneider-Kamp
fa12e13ae7
simple typo that makes regression test test_userstring fail
2000-08-24 21:47:34 +00:00
Thomas Wouters
e1519a1b4d
Update for augmented assignment, tested & approved by Guido.
2000-08-24 21:44:52 +00:00
Thomas Wouters
34052622c9
Update for augmented assignment.
2000-08-24 21:08:39 +00:00
Thomas Wouters
104a7bcc28
Support for augmented assignment in the UserList, UserDict, UserString and
...
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
2000-08-24 20:14:10 +00:00
Guido van Rossum
ba3113807d
Promote the server version from a local variable to a class variable,
...
so that a subclass can override it.
This partly addresses Bug #112634 -- but the documentation is still
wrong, since it suggests that you can set self.version *after* calling
the base class __init__. In fact it must be done *before*.
I'll fix that too.
2000-08-24 16:18:04 +00:00
Fred Drake
ff5364ac9d
Whitespace cleanup; now passes the regression test (the last checkin made
...
it fail on a TabError (inconsistent tab/space usage)).
Removed a comment about including a test since there is a regression test
for this module.
2000-08-24 14:40:35 +00:00
Andrew M. Kuchling
103d5268c2
Updated test suite: test repr() and str() of cookies, and test metadata
...
fields with quoted values (as in Path="/acme")
2000-08-24 11:56:19 +00:00
Andrew M. Kuchling
0b29b11187
Updated version of Cookie.py (rev. 2.29) from timo
2000-08-24 11:52:33 +00:00
Fred Drake
316a793a58
Randall Hopper <aa8vb@yahoo.com>>:
...
Make it easier to use HTTP POST with urlretrieve().
2000-08-24 01:01:26 +00:00
Fred Drake
33438d23fa
Charles G. Waldman <cgq@fnal.gov>:
...
Update the test suite for the changes introduced by the EXTENDED_ARG
opcode.
This closes the regression test changes of SourceForge patch #100893 .
2000-08-24 00:35:38 +00:00
Fred Drake
ef8ace3a6f
Charles G. Waldman <cgw@fnal.gov>:
...
Add the EXTENDED_ARG opcode to the virtual machine, allowing 32-bit
arguments to opcodes instead of being forced to stick to the 16-bit
limit. This is especially useful for machine-generated code, which
can be too long for the SET_LINENO parameter to fit into 16 bits.
This closes the implementation portion of SourceForge patch #100893 .
2000-08-24 00:32:09 +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
Skip Montanaro
9dcea3f8a8
test case output for dospath regr test
2000-08-23 20:07:21 +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
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
Skip Montanaro
623583165e
revert semantics of commonprefix to work character-by-character
2000-08-22 13:01:53 +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
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
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
203da6dfe4
Add the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
2000-08-21 17:18:40 +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
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
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
Tim Peters
84f28db66a
Changed the popen2.py _test function to use the "more" cmd when
...
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!
2000-08-20 05:57:36 +00:00
Tim Peters
571bb8fc72
David Goodger's new getopt test module (thanks, David!).
...
https://sourceforge.net/patch/?func=detailpatch&patch_id=101110&group_id=5470
Accepted as-is, except for purging an "import *".
2000-08-20 04:18:40 +00:00
Moshe Zadka
514a1028a2
Adding tests of the "attrs" optional argument, and of the js_output
...
functionality.
2000-08-19 15:57:33 +00:00
Andrew M. Kuchling
cdec8c746b
Test case for Cookie.py
2000-08-19 15:21:12 +00:00