]> granicus.if.org Git - python/log
python
24 years agoRemoved debug output.
Jack Jansen [Fri, 25 Aug 2000 21:58:00 +0000 (21:58 +0000)]
Removed debug output.

24 years agoCheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a senti...
Jack Jansen [Fri, 25 Aug 2000 21:57:23 +0000 (21:57 +0000)]
Cheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a sentinel in a static variable.

24 years agoClosing patch #101120 -- After everyone agreed.
Moshe Zadka [Fri, 25 Aug 2000 21:47:56 +0000 (21:47 +0000)]
Closing patch #101120 -- After everyone agreed.

24 years agoFix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE
Marc-André Lemburg [Fri, 25 Aug 2000 21:00:46 +0000 (21:00 +0000)]
Fix to [ Bug #111165 ] doc-string removal masked by PYTHONOPTIMIZE

24 years ago_expand_lang(), _find(): Added support for unaliasing and expanded the
Barry Warsaw [Fri, 25 Aug 2000 20:26:43 +0000 (20:26 +0000)]
_expand_lang(), _find(): Added support for unaliasing and expanded the
language found in the environment variable, contributed by James
Henstridge.

24 years agoGroup consensus is that supporting alternative locale categories is
Barry Warsaw [Fri, 25 Aug 2000 19:53:51 +0000 (19:53 +0000)]
Group consensus is that supporting alternative locale categories is
useless.  So the test of the dcgettext() function is removed.

24 years agoGroup consensus is that supporting alternative locale categories is
Barry Warsaw [Fri, 25 Aug 2000 19:53:17 +0000 (19:53 +0000)]
Group consensus is that supporting alternative locale categories is
useless.  So the category argument on _find() is removed, as is the
dcgettext() function.

24 years agoSet this test up so that we don't have to create xx/LC_MESSAGES in the
Barry Warsaw [Fri, 25 Aug 2000 19:50:38 +0000 (19:50 +0000)]
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.

24 years agoupdated test output
Barry Warsaw [Fri, 25 Aug 2000 19:49:28 +0000 (19:49 +0000)]
updated test output

24 years agooutput from test_gettext.py test suite
Barry Warsaw [Fri, 25 Aug 2000 19:15:00 +0000 (19:15 +0000)]
output from test_gettext.py test suite

24 years agoTest suite for new gettext.py module.
Barry Warsaw [Fri, 25 Aug 2000 19:14:25 +0000 (19:14 +0000)]
Test suite for new gettext.py module.

24 years agoInitial revision of gettext support for Python. This will undergo
Barry Warsaw [Fri, 25 Aug 2000 19:13:37 +0000 (19:13 +0000)]
Initial revision of gettext support for Python.  This will undergo
some changes.

24 years agoinitpyexpat(): Code cleanup; makes it more robust and reduces warnings.
Fred Drake [Fri, 25 Aug 2000 18:03:30 +0000 (18:03 +0000)]
initpyexpat():  Code cleanup; makes it more robust and reduces warnings.
                Added prototype to remove yet another warning.

Make a number of the handlers and helpers "static" since they are not
used in other C source files.  This also reduces the number of warnings.

Make a lot of the code "more Python".  (Need to get the style guide done!)

24 years agoAdd reference to RFC 2396 in "See also" section.
Fred Drake [Fri, 25 Aug 2000 17:29:35 +0000 (17:29 +0000)]
Add reference to RFC 2396 in "See also" section.
Minor cleanups.

24 years agoJeremy missed a bind() call when updating these demos. ;)
Fred Drake [Fri, 25 Aug 2000 16:03:27 +0000 (16:03 +0000)]
Jeremy missed a bind() call when updating these demos.  ;)

24 years agoupdate demo scripts to use addr tuples for bind and connect
Jeremy Hylton [Fri, 25 Aug 2000 15:38:41 +0000 (15:38 +0000)]
update demo scripts to use addr tuples for bind and connect
closes bug #111928

24 years agoNot every OS that support poll seems to support POLLMSG.
Sjoerd Mullender [Fri, 25 Aug 2000 13:59:18 +0000 (13:59 +0000)]
Not every OS that support poll seems to support POLLMSG.

24 years agoPass data on to retrieve method.
Sjoerd Mullender [Fri, 25 Aug 2000 11:23:36 +0000 (11:23 +0000)]
Pass data on to retrieve method.
Don't people *test* their changes?

24 years agoCall PyErr_Clear() to clear the AttributeError raised by GetAttr.
Thomas Wouters [Fri, 25 Aug 2000 10:47:46 +0000 (10:47 +0000)]
Call PyErr_Clear() to clear the AttributeError raised by GetAttr.

24 years agoIn readme.txt, make what's needed to build the "optional" subprojects
Tim Peters [Fri, 25 Aug 2000 06:52:44 +0000 (06:52 +0000)]
In readme.txt, make what's needed to build the "optional" subprojects
much more explicit.  Also document that we're moving to Tcl/Tk 8.3.2.
Simplify .dsp files by getting rid of useless include paths.
.wse file changed to reflect that my setup is different than Guido's:
if you *build* a Python distro using python20.wse, beware!

24 years agoFix allowable node-types for assignment, need to add 'listmaker'.
Thomas Wouters [Fri, 25 Aug 2000 05:41:11 +0000 (05:41 +0000)]
Fix allowable node-types for assignment, need to add 'listmaker'.
(This fix is a bit broken, just as the test already was: the test for
testlist and listmaker are done always, whereas the test for exprlist and
the actual abort() are only done if Py_DEBUG is defined. Suggestions
welcome, I guess ;)

24 years agoRevised documentation relevant to SourceForge patch #100837
Fred Drake [Fri, 25 Aug 2000 05:13:42 +0000 (05:13 +0000)]
Revised documentation relevant to SourceForge patch #100837
(simplify making HTTP POST requests).

Added documentation of URLopener.version and how it can be overridden.

24 years agoDocumentation for poll() interface (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:21:28 +0000 (01:21 +0000)]
Documentation for poll() interface (SF patch #100852)

24 years agoTest suite for poll() interface (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:18:45 +0000 (01:18 +0000)]
Test suite for poll() interface (SF patch #100852)

24 years agoAdd interface to poll() system call (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:15:33 +0000 (01:15 +0000)]
Add interface to poll() system call (SF patch #100852)

24 years agoAdd configure tests for poll() (SF patch #100852)
Andrew M. Kuchling [Fri, 25 Aug 2000 01:14:08 +0000 (01:14 +0000)]
Add configure tests for poll() (SF patch #100852)

24 years agoAdjust the name for the socket module in the SSL line.
Thomas Wouters [Thu, 24 Aug 2000 22:54:53 +0000 (22:54 +0000)]
Adjust the name for the socket module in the SSL line.

24 years agoAdd missing opcodes. Thanx to jeremy for reminding me ;)
Thomas Wouters [Thu, 24 Aug 2000 22:44:53 +0000 (22:44 +0000)]
Add missing opcodes. Thanx to jeremy for reminding me ;)

24 years agoImprove the exceptions raised by PyErr_BadInternalCall(); adding the
Fred Drake [Thu, 24 Aug 2000 22:38:39 +0000 (22:38 +0000)]
Improve the exceptions raised by PyErr_BadInternalCall(); adding the
filename and line number of the call site to allow esier debugging.

This closes SourceForge patch #101214.

24 years agoFix the evil booboos. ;( Causes discussed with Jeremy offline.
Fred Drake [Thu, 24 Aug 2000 22:27:02 +0000 (22:27 +0000)]
Fix the evil booboos.  ;(  Causes discussed with Jeremy offline.

24 years agoRemove the Py_FatalError() from initpyexpat(); the Guido has decreed
Fred Drake [Thu, 24 Aug 2000 21:57:43 +0000 (21:57 +0000)]
Remove the Py_FatalError() from initpyexpat(); the Guido has decreed
that this is not appropriate.

Made somewhat more robust in the face of reload() (exception is not
rebuilt, etc.).

Made the exception a class exception.

24 years agosimple typo that makes regression test test_userstring fail
Peter Schneider-Kamp [Thu, 24 Aug 2000 21:47:34 +0000 (21:47 +0000)]
simple typo that makes regression test test_userstring fail

24 years agoUpdate for augmented assignment, tested & approved by Guido.
Thomas Wouters [Thu, 24 Aug 2000 21:44:52 +0000 (21:44 +0000)]
Update for augmented assignment, tested & approved by Guido.

24 years agoUpdate for augmented assignment.
Thomas Wouters [Thu, 24 Aug 2000 21:08:39 +0000 (21:08 +0000)]
Update for augmented assignment.

24 years agoSupport for augmented assignment in the UserList, UserDict, UserString and
Thomas Wouters [Thu, 24 Aug 2000 20:14:10 +0000 (20:14 +0000)]
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.

24 years agoSupport for three-token characters (**=, >>=, <<=) which was written by
Thomas Wouters [Thu, 24 Aug 2000 20:11:32 +0000 (20:11 +0000)]
Support for three-token characters (**=, >>=, <<=) which was written by
Michael Hudson, and support in general for the augmented assignment syntax.
The graminit.c patch is large!

24 years agoThe real suport for augmented assignment: new opcodes, new PyNumber and
Thomas Wouters [Thu, 24 Aug 2000 20:09:45 +0000 (20:09 +0000)]
The real suport for augmented assignment: new opcodes, new PyNumber and
PySequence methods and functions, new tokens.

24 years agoSupport for the in-place operations introduced by augmented assignment. Only
Thomas Wouters [Thu, 24 Aug 2000 20:08:19 +0000 (20:08 +0000)]
Support for the in-place operations introduced by augmented assignment. Only
the list object supports this currently, but other candidates are
gladly accepted (like arraymodule and such.)

24 years agoRough and incomplete documentation on augmented assignment, which follows
Thomas Wouters [Thu, 24 Aug 2000 20:06:04 +0000 (20:06 +0000)]
Rough and incomplete documentation on augmented assignment, which follows
shortly. Markup also needs checking.

24 years agoRene Liebscher <rliebscher@users.sourceforge.net>:
Fred Drake [Thu, 24 Aug 2000 18:11:21 +0000 (18:11 +0000)]
Rene Liebscher <rliebscher@users.sourceforge.net>:
Install the scripts in the BeOS directory, allowing use from the distutils
on BeOS systems.

The target location has been adjusted to match that used for the AIX
helper scripts.

This closes SourceForge patch #101207.

24 years agoAddresses the other half of Bug #112634 -- the documentation suggested
Guido van Rossum [Thu, 24 Aug 2000 16:20:32 +0000 (16:20 +0000)]
Addresses the other half of Bug #112634 -- the documentation suggested
that you can set self.version *after* calling the base class __init__.
In fact it must be done *before*.

(Fred, maybe the version class variable should be documented now?)

24 years agoPromote the server version from a local variable to a class variable,
Guido van Rossum [Thu, 24 Aug 2000 16:18:04 +0000 (16:18 +0000)]
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.

24 years agoWhitespace cleanup; now passes the regression test (the last checkin made
Fred Drake [Thu, 24 Aug 2000 14:40:35 +0000 (14:40 +0000)]
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.

24 years agoUpdated test suite: test repr() and str() of cookies, and test metadata
Andrew M. Kuchling [Thu, 24 Aug 2000 11:56:19 +0000 (11:56 +0000)]
Updated test suite: test repr() and str() of cookies, and test metadata
    fields with quoted values (as in Path="/acme")

24 years agoUpdated version of Cookie.py (rev. 2.29) from timo
Andrew M. Kuchling [Thu, 24 Aug 2000 11:52:33 +0000 (11:52 +0000)]
Updated version of Cookie.py (rev. 2.29) from timo

24 years agoMove references to RFCs to a "See also" section for consistency with
Fred Drake [Thu, 24 Aug 2000 04:58:25 +0000 (04:58 +0000)]
Move references to RFCs to a "See also" section for consistency with
other sections of the library reference.

24 years agoMoshe Zadka <moshez@math.huji.ac.il>:
Fred Drake [Thu, 24 Aug 2000 01:06:40 +0000 (01:06 +0000)]
Moshe Zadka <moshez@math.huji.ac.il>:
Documentation updates for urlretrieve() and URLopener.retrieve(), to
reflect Randall Hopper's patch for those functions.

This closes SourceForge patch #100837.

24 years agoRandall Hopper <aa8vb@yahoo.com>>:
Fred Drake [Thu, 24 Aug 2000 01:01:26 +0000 (01:01 +0000)]
Randall Hopper <aa8vb@yahoo.com>>:
Make it easier to use HTTP POST with urlretrieve().

24 years agoMake sure Thomas Wouters has enough to do. ;-)
Fred Drake [Thu, 24 Aug 2000 00:50:27 +0000 (00:50 +0000)]
Make sure Thomas Wouters has enough to do.  ;-)
(Some of this is in-progress; this also serves as a reminded to me to
check this out once it is written.)

24 years agoCharles G. Waldman <cgw@fnal.gov>:
Fred Drake [Thu, 24 Aug 2000 00:37:50 +0000 (00:37 +0000)]
Charles G. Waldman <cgw@fnal.gov>:
Update the dis module documentation to reflect the EXTENDED_ARG opcode.

24 years agoCharles G. Waldman <cgq@fnal.gov>:
Fred Drake [Thu, 24 Aug 2000 00:35:38 +0000 (00:35 +0000)]
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.

24 years agoCharles G. Waldman <cgw@fnal.gov>:
Fred Drake [Thu, 24 Aug 2000 00:32:09 +0000 (00:32 +0000)]
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.

24 years agoAddendum to previous change: now that 'f' is not unconditionally
Thomas Wouters [Wed, 23 Aug 2000 23:31:34 +0000 (23:31 +0000)]
Addendum to previous change: now that 'f' is not unconditionally
initialized in the 'if (..)', do so manually.

24 years agoAdd extra check on whether 'tp_as_number' is still non-NULL after coercion,
Thomas Wouters [Wed, 23 Aug 2000 23:16:10 +0000 (23:16 +0000)]
Add extra check on whether 'tp_as_number' is still non-NULL after coercion,
in the PyNumber_* functions. Also, remove unnecessary tests from
PyNumber_Multiply: after BINOP(), neither argument can be an instance.

24 years agoThis patch partly (some stuff went in already) ports Python to Monterey.
Trent Mick [Wed, 23 Aug 2000 21:33:05 +0000 (21:33 +0000)]
This patch partly (some stuff went in already) ports Python to Monterey.

- Fix bug in thread_pthread.h::PyThread_get_thread_ident() where
  sizeof(pthread) < sizeof(long).
- Add 'configure' for:
- SIZEOF_PTHREAD is pthread_t can be included via <pthread.h>
- setting Monterey system name
- appropriate CC,LINKCC,LDSHARED,OPT, and CCSHARED for Monterey
- Add section in README for Monterey build

24 years agoRemove the dependency information for version.o; this is not part of
Fred Drake [Wed, 23 Aug 2000 21:16:10 +0000 (21:16 +0000)]
Remove the dependency information for version.o; this is not part of
the sources/build process any more.

24 years agostyle nits
Jeremy Hylton [Wed, 23 Aug 2000 21:11:05 +0000 (21:11 +0000)]
style nits

24 years agoWhen skipping a test, do not include a spurious space between the exception
Fred Drake [Wed, 23 Aug 2000 20:34:40 +0000 (20:34 +0000)]
When skipping a test, do not include a spurious space between the exception
name and the ":" that separates it from the value.  (Minor cleanup.)

24 years agoadd docstring explaining makefile limitation
Jeremy Hylton [Wed, 23 Aug 2000 20:34:17 +0000 (20:34 +0000)]
add docstring explaining makefile limitation
fix support for passing http version to connect in HTTP

24 years agoSort the list of files processed before running the test on each.
Fred Drake [Wed, 23 Aug 2000 20:21:31 +0000 (20:21 +0000)]
Sort the list of files processed before running the test on each.

24 years agotest case output for dospath regr test
Skip Montanaro [Wed, 23 Aug 2000 20:07:21 +0000 (20:07 +0000)]
test case output for dospath regr test

24 years agoUpdated some URLs; removed mention of copyright (we'll have to add
Guido van Rossum [Wed, 23 Aug 2000 19:01:43 +0000 (19:01 +0000)]
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.

24 years agoSimplified inclusions and avoid prototypes copied in from elsewhere.
Fred Drake [Wed, 23 Aug 2000 18:17:42 +0000 (18:17 +0000)]
Simplified inclusions and avoid prototypes copied in from elsewhere.
This also avoids a warning in anal mode.

24 years agofix list comprehension discussion to use \keyword macro instead of simply
Skip Montanaro [Wed, 23 Aug 2000 17:03:34 +0000 (17:03 +0000)]
fix list comprehension discussion to use \keyword macro instead of simply
quoting keywords.

24 years agoupdate commonprefix doc to make sure user is aware it works
Skip Montanaro [Wed, 23 Aug 2000 16:58:32 +0000 (16:58 +0000)]
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

24 years agonew test - like test_ntpath but without splitunc test cases
Skip Montanaro [Wed, 23 Aug 2000 16:55:00 +0000 (16:55 +0000)]
new test - like test_ntpath but without splitunc test cases

24 years agoadded commonprefix test cases
Skip Montanaro [Wed, 23 Aug 2000 16:54:27 +0000 (16:54 +0000)]
added commonprefix test cases

24 years agoupdated to correct failing test cases
Skip Montanaro [Wed, 23 Aug 2000 16:51:56 +0000 (16:51 +0000)]
updated to correct failing test cases

24 years agoAdded note stating that the parser module will need updating for most
Fred Drake [Wed, 23 Aug 2000 15:45:28 +0000 (15:45 +0000)]
Added note stating that the parser module will need updating for most
changes to this file.

24 years agovalidate_listmaker(): Revise to match Skip's latest changes to the
Fred Drake [Wed, 23 Aug 2000 15:35:26 +0000 (15:35 +0000)]
validate_listmaker():  Revise to match Skip's latest changes to the
      Grammar file.  This makes the test suite pass once again.

24 years agoRestored commonprefix() semantics.
Jack Jansen [Wed, 23 Aug 2000 09:13:40 +0000 (09:13 +0000)]
Restored commonprefix() semantics.

24 years agoRehabilitate autotest.py.
Tim Peters [Wed, 23 Aug 2000 05:28:45 +0000 (05:28 +0000)]
Rehabilitate autotest.py.
In README:  Write up (Guido's) rules for intra-test imports; warn against
asserts; document test_support.use_large_resources.

24 years agoAdded PyOS_CheckStack call to PyObject_Compare
Jack Jansen [Tue, 22 Aug 2000 21:52:51 +0000 (21:52 +0000)]
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!)

24 years agoAdded include for limits.h
Jack Jansen [Tue, 22 Aug 2000 21:51:22 +0000 (21:51 +0000)]
Added include for limits.h

24 years agoRegenerated to take advantage of support for multiple names for a single property.
Jack Jansen [Tue, 22 Aug 2000 20:35:17 +0000 (20:35 +0000)]
Regenerated to take advantage of support for multiple names for a single property.

24 years agoOnly output the code to alias properties if the names aren't the same.
Jack Jansen [Tue, 22 Aug 2000 20:34:35 +0000 (20:34 +0000)]
Only output the code to alias properties if the names aren't the same.

24 years agoAt Mark Hammond's request, removing registry key
Guido van Rossum [Tue, 22 Aug 2000 14:04:24 +0000 (14:04 +0000)]
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!

24 years agorevert semantics of commonprefix to work character-by-character
Skip Montanaro [Tue, 22 Aug 2000 13:01:53 +0000 (13:01 +0000)]
revert semantics of commonprefix to work character-by-character

24 years agoThomas Heller noticed that the wrong registry entry was written for
Guido van Rossum [Tue, 22 Aug 2000 12:10:02 +0000 (12:10 +0000)]
Thomas Heller noticed that the wrong registry entry was written for
the DLL.  Replace
 %_SYSDEST_%\Python20.dll
with
 %_DLLDEST_%\Python20.dll.

24 years agoRegistered modules could only exist in HKEY_LOCAL_MACHINE - now HKEY_CURRENT_USER...
Mark Hammond [Tue, 22 Aug 2000 11:20:21 +0000 (11:20 +0000)]
Registered modules could only exist in HKEY_LOCAL_MACHINE - now HKEY_CURRENT_USER can override.

24 years ago* added doc strings to urlopen and unquote_plus
Skip Montanaro [Tue, 22 Aug 2000 03:00:52 +0000 (03:00 +0000)]
* added doc strings to urlopen and unquote_plus
* fixed type in doc string for quote

24 years agorequire list comprehensions to start with a for clause
Skip Montanaro [Tue, 22 Aug 2000 02:43:07 +0000 (02:43 +0000)]
require list comprehensions to start with a for clause

24 years agoPatch by Toby Dickenson: don't die when an error occurs during string
Guido van Rossum [Tue, 22 Aug 2000 02:04:46 +0000 (02:04 +0000)]
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.

24 years agoDon't bother to 'mkpath()' the 'dist_dir' -- that's now taken care of
Greg Ward [Tue, 22 Aug 2000 01:49:41 +0000 (01:49 +0000)]
Don't bother to 'mkpath()' the 'dist_dir' -- that's now taken care of
in archive_util.py.

24 years agoEnsure destination directory exists before trying to create a tarball
Greg Ward [Tue, 22 Aug 2000 01:48:54 +0000 (01:48 +0000)]
Ensure destination directory exists before trying to create a tarball
or ZIP file.

24 years agoNuked unused variable.
Tim Peters [Tue, 22 Aug 2000 01:44:16 +0000 (01:44 +0000)]
Nuked unused variable.

24 years agoDon't reference a module named test.test_support. Always use plain
Guido van Rossum [Mon, 21 Aug 2000 22:59:29 +0000 (22:59 +0000)]
Don't reference a module named test.test_support.  Always use plain
test_support.  Also fixed the expected output.

24 years agoAdd a minimal test suite for the parser module.
Fred Drake [Mon, 21 Aug 2000 22:30:53 +0000 (22:30 +0000)]
Add a minimal test suite for the parser module.

24 years agoUpdate to reflect recent grammar changes (list comprehensions, extended
Fred Drake [Mon, 21 Aug 2000 22:24:43 +0000 (22:24 +0000)]
Update to reflect recent grammar changes (list comprehensions, extended
print statement), and fix up the extended call syntax support.

Minor stylistic cleanups.

24 years agoDenis S. Otkidach <den@analyt.chem.msu.ru>:
Fred Drake [Mon, 21 Aug 2000 21:47:20 +0000 (21:47 +0000)]
Denis S. Otkidach <den@analyt.chem.msu.ru>:
Let UserString.translate() method work with unicode data.

This closes SourceForge patch #101246.

24 years agoPatch from Paul Schreiber <paul@commerceflow.com>:
Fred Drake [Mon, 21 Aug 2000 21:42:42 +0000 (21:42 +0000)]
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 !=).

24 years agoDescribe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
Barry Warsaw [Mon, 21 Aug 2000 17:19:00 +0000 (17:19 +0000)]
Describe the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.

24 years agoAdd the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.
Barry Warsaw [Mon, 21 Aug 2000 17:18:40 +0000 (17:18 +0000)]
Add the new PRINT_ITEM_TO and PRINT_NEWLINE_TO opcodes.

24 years agocom_print_stmt(): Guido rightly points out that the stream expression
Barry Warsaw [Mon, 21 Aug 2000 17:07:20 +0000 (17:07 +0000)]
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.

24 years agoAdd TestSkipped as another interesting item defined by test_support.
Fred Drake [Mon, 21 Aug 2000 16:55:57 +0000 (16:55 +0000)]
Add TestSkipped as another interesting item defined by test_support.

24 years agoThomas reminds me to bump the MAGIC number for the extended print
Barry Warsaw [Mon, 21 Aug 2000 16:35:06 +0000 (16:35 +0000)]
Thomas reminds me to bump the MAGIC number for the extended print
opcode additions.

24 years agoPEP 214, Extended print Statement, has been accepted by the BDFL.
Barry Warsaw [Mon, 21 Aug 2000 15:46:50 +0000 (15:46 +0000)]
PEP 214, Extended print Statement, has been accepted by the BDFL.

Additional test cases for the extended print form.

24 years agoPEP 214, Extended print Statement, has been accepted by the BDFL.
Barry Warsaw [Mon, 21 Aug 2000 15:45:16 +0000 (15:45 +0000)]
PEP 214, Extended print Statement, has been accepted by the BDFL.

Document the extended print form.  Fred, please double check the
markup!

24 years agoPEP 214, Extended print Statement, has been accepted by the BDFL.
Barry Warsaw [Mon, 21 Aug 2000 15:44:01 +0000 (15:44 +0000)]
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.

24 years agoPEP 214, Extended print Statement, has been accepted by the BDFL.
Barry Warsaw [Mon, 21 Aug 2000 15:38:56 +0000 (15:38 +0000)]
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.