]> granicus.if.org Git - python/log
python
22 years agoBump required PyXML version to 0.6.5.
Martin v. Löwis [Sun, 30 Jun 2002 15:08:22 +0000 (15:08 +0000)]
Bump required PyXML version to 0.6.5.

22 years agoImplement the encoding argument for toxml and toprettyxml.
Martin v. Löwis [Sun, 30 Jun 2002 15:05:00 +0000 (15:05 +0000)]
Implement the encoding argument for toxml and toprettyxml.
Document toprettyxml.

22 years agoMerge from PyXML:
Martin v. Löwis [Sun, 30 Jun 2002 07:38:50 +0000 (07:38 +0000)]
Merge from PyXML:
[1.3] Added documentation of the namespace URI for elements with no namespace.
[1.4] New property http://www.python.org/sax/properties/encoding.
[1.5] Support optional string interning in pyexpat.

22 years agoAdd xml namespace initially (PyXML 1.19).
Martin v. Löwis [Sun, 30 Jun 2002 07:32:56 +0000 (07:32 +0000)]
Add xml namespace initially (PyXML 1.19).

22 years agoFix spacing.
Martin v. Löwis [Sun, 30 Jun 2002 07:27:30 +0000 (07:27 +0000)]
Fix spacing.

22 years agoMerge changes from PyXML:
Martin v. Löwis [Sun, 30 Jun 2002 07:21:24 +0000 (07:21 +0000)]
Merge changes from PyXML:
[1.15]
Added understanding of the feature_validation, feature_external_pes,
and feature_string_interning features.
Added support for the feature_external_ges feature.
Added support for the property_xml_string property.
[1.16]
Made it recognize the namespace prefixes feature.
[1.17]
removed erroneous first line
[1.19]
Support optional string interning in pyexpat.
[1.21]
Restore compatibility with versions of Python that did not support weak
references.  These do not get the cyclic reference fix, but they will
continue to work as they did before.
[1.22]
Activate entity processing unless standalone.

22 years agoDefine PyDoc_STRVAR if it is not available (PyXML 1.54).
Martin v. Löwis [Sun, 30 Jun 2002 06:40:55 +0000 (06:40 +0000)]
Define PyDoc_STRVAR if it is not available (PyXML 1.54).
Remove support for Python 1.5 (PyXML 1.55).

22 years agoUndo usage of PyOS_snprintf (rev. 1.51 of PyXML).
Martin v. Löwis [Sun, 30 Jun 2002 06:03:35 +0000 (06:03 +0000)]
Undo usage of PyOS_snprintf (rev. 1.51 of PyXML).

22 years agoFixed bug 574978 shutil example out of sync with source code
Raymond Hettinger [Sun, 30 Jun 2002 04:43:20 +0000 (04:43 +0000)]
Fixed bug 574978 shutil example out of sync with source code

22 years agoFix bug 575221 referred to dictionary type instead of dict.
Raymond Hettinger [Sun, 30 Jun 2002 04:32:38 +0000 (04:32 +0000)]
Fix bug 575221 referred to dictionary type instead of dict.

22 years agoCode modernization. Replace v=s[i]; del s[i] with single lookup v=s.pop(i)
Raymond Hettinger [Sun, 30 Jun 2002 03:39:14 +0000 (03:39 +0000)]
Code modernization.  Replace v=s[i]; del s[i] with single lookup v=s.pop(i)

22 years agoClarify the version information for the unicode() built-in.
Fred Drake [Sat, 29 Jun 2002 16:06:47 +0000 (16:06 +0000)]
Clarify the version information for the unicode() built-in.
Closes SF bug #575272.

22 years agoAnother test of long headers.
Barry Warsaw [Sat, 29 Jun 2002 15:23:39 +0000 (15:23 +0000)]
Another test of long headers.

22 years agoOleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133
Barry Warsaw [Sat, 29 Jun 2002 05:58:45 +0000 (05:58 +0000)]
Oleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133

New test cases.

22 years agoOleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133
Barry Warsaw [Sat, 29 Jun 2002 05:58:04 +0000 (05:58 +0000)]
Oleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133

Specifically,

decode_rfc2231(), encode_rfc2231(): Functions to encode and decode RFC
2231 style parameters.

decode_params(): Function to decode a list of parameters.

22 years agoOleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133
Barry Warsaw [Sat, 29 Jun 2002 05:56:15 +0000 (05:56 +0000)]
Oleg Broytmann's support for RFC 2231 encoded parameters, SF patch #549133

Specifically,

_formatparam(): Teach this about encoded `param' arguments, which are
a 3-tuple of items (charset, language, value).  language is ignored.

_unquotevalue(): Handle both 3-tuple RFC 2231 values and unencoded
values.

_get_params_preserve(): Decode the parameters before returning them.

get_params(), get_param(): Use _unquotevalue().

get_filename(), get_boundary(): Teach these about encoded (3-tuple)
parameters.

22 years agotest_multilingual(): Test for Header.__unicode__().
Barry Warsaw [Sat, 29 Jun 2002 03:27:27 +0000 (03:27 +0000)]
test_multilingual(): Test for Header.__unicode__().

22 years ago__unicode__(): Patch # 541263 by Mikhail Zabaluev, implementation
Barry Warsaw [Sat, 29 Jun 2002 03:26:58 +0000 (03:26 +0000)]
__unicode__(): Patch # 541263 by Mikhail Zabaluev, implementation
modified by Barry.

22 years agoAdd documentation for new textwrap module.
Greg Ward [Sat, 29 Jun 2002 02:38:50 +0000 (02:38 +0000)]
Add documentation for new textwrap module.

22 years agoTypo fix.
Greg Ward [Sat, 29 Jun 2002 01:23:45 +0000 (01:23 +0000)]
Typo fix.

22 years agoTrack change of begin() to _begin().
Jeremy Hylton [Fri, 28 Jun 2002 23:54:30 +0000 (23:54 +0000)]
Track change of begin() to _begin().

22 years agoLots of new and updated tests to check for proper ascii header
Barry Warsaw [Fri, 28 Jun 2002 23:49:33 +0000 (23:49 +0000)]
Lots of new and updated tests to check for proper ascii header
folding.  Note that some of the Japanese tests have changed, but I
don't really know if they are correct or not. :(

Someone with Japanese and RFC 2047 expertise, please take a look!

22 years ago_max_append(): When adding the string `s' to its own line, it should
Barry Warsaw [Fri, 28 Jun 2002 23:48:23 +0000 (23:48 +0000)]
_max_append(): When adding the string `s' to its own line, it should
be lstrip'd so that old continuation whitespace is replaced by that
specified in Header's continuation_ws parameter.

22 years agoTeach this class about "highest-level syntactic breaks" but only for
Barry Warsaw [Fri, 28 Jun 2002 23:46:53 +0000 (23:46 +0000)]
Teach this class about "highest-level syntactic breaks" but only for
headers with no charset or 'us-ascii' charsets.  Actually this is only
partially true: we know about semicolons (but not true parameters) and
we know about whitespace (but not technically folding whitespace).
Still it should be good enough for all practical purposes.

Other changes include:

__init__(): Add a continuation_ws argument, which defaults to a single
space.  Set this to change the whitespace used for continuation lines
when a header must be split.  Also, changed the way header line
lengths are calculated, so that they take into account continuation_ws
(when tabs-expanded) and any provided header_name parameter.  This
should do much better on returning split headers for which the first
and subsequent lines must fit into a specified width.

guess_maxlinelen(): Removed.  I don't think we need this method as
part of the public API.

encode_chunks() -> _encode_chunks(): I don't think we need this one as
part of the public API either.

22 years ago_split_header(): The code here was terminally broken because it didn't
Barry Warsaw [Fri, 28 Jun 2002 23:41:42 +0000 (23:41 +0000)]
_split_header(): The code here was terminally broken because it didn't
know anything about RFC 2047 encoded headers.  Fortunately we have a
perfectly good header splitter in Header.encode().  So we just call
that to give us a properly formatted and split header.
Header.encode() didn't know about "highest-level syntactic breaks" but
that's been fixed now too.

22 years agoSimplify HTTPSConnection constructor.
Jeremy Hylton [Fri, 28 Jun 2002 23:38:14 +0000 (23:38 +0000)]
Simplify HTTPSConnection constructor.

See discussion in SF bug 458463.

22 years agoClose SF patch 523944: importing modules with foreign newlines.
Jeremy Hylton [Fri, 28 Jun 2002 23:32:51 +0000 (23:32 +0000)]
Close SF patch 523944: importing modules with foreign newlines.

Didn't use the patch, because universal newlines support made it easy.
It might be worth fixing the actual problem in the 2.2 maintenance
branch, in which case the patch is still needed.

22 years agoAdded character data buffering to pyexpat parser objects.
Fred Drake [Fri, 28 Jun 2002 22:56:48 +0000 (22:56 +0000)]
Added character data buffering to pyexpat parser objects.

Setting the buffer_text attribute to true causes the parser to collect
character data, waiting as long as possible to report it to the Python
callback.  This can save an enormous number of callbacks from C to
Python, which can be a substantial performance improvement.

buffer_text defaults to false.

22 years agoAdd Bob Kline of HTTP 100 fame.
Jeremy Hylton [Fri, 28 Jun 2002 22:39:56 +0000 (22:39 +0000)]
Add Bob Kline of HTTP 100 fame.

22 years agoFixes for two separate HTTP/1.1 bugs: 100 responses and HTTPS connections.
Jeremy Hylton [Fri, 28 Jun 2002 22:38:01 +0000 (22:38 +0000)]
Fixes for two separate HTTP/1.1 bugs: 100 responses and HTTPS connections.

The HTTPResponse class now handles 100 continue responses, instead of
choking on them.  It detects them internally in the _begin() method
and ignores them.  Based on a patch by Bob Kline.

This closes SF bugs 498149 and 551273.

The FakeSocket class (for SSL) is now usable with HTTP/1.1
connections.  The old version of the code could not work with
persistent connections, because the makefile() implementation read
until EOF before returning.  If the connection is persistent, the
server sends a response and leaves the connection open.  A client that
reads until EOF will block until the server gives up on the connection
-- more than a minute in my test case.

The problem was fixed by implementing a reasonable makefile().  It
reads data only when it is needed by the layers above it.  It's
implementation uses an internal buffer with a default size of 8192.

Also, rename begin() method of HTTPResponse to _begin() because it
should only be called by the HTTPConnection.

22 years agopyexpat code cleanup and minor refactorings:
Fred Drake [Fri, 28 Jun 2002 22:29:01 +0000 (22:29 +0000)]
pyexpat code cleanup and minor refactorings:

The handlers array on each parser now has the invariant that None will
never be set as a handler; it will always be NULL or a Python-level
value passed in for the specific handler.

have_handler():  Return true if there is a Python handler for a
    particular event.

get_handler_name():  Return a string object giving the name of a
    particular handler.  This caches the string object so it doesn't
    need to be created more than once.

get_parse_result():  Helper to allow the Parse() and ParseFile()
    methods to share the same logic for determining the return value
    or exception state.

PyUnknownEncodingHandler(), PyModule_AddIntConstant():
    Made these helpers static.  (The later is only defined for older
    versions of Python.)

pyxml_UpdatePairedHandlers(), pyxml_SetStartElementHandler(),
pyxml_SetEndElementHandler(), pyxml_SetStartNamespaceDeclHandler(),
pyxml_SetEndNamespaceDeclHandler(), pyxml_SetStartCdataSection(),
pyxml_SetEndCdataSection(), pyxml_SetStartDoctypeDeclHandler(),
pyxml_SetEndDoctypeDeclHandler():
    Removed.  These are no longer needed with Expat 1.95.x.

handler_info:
    Use the setter functions provided by Expat 1.95.x instead of the
    pyxml_Set*Handler() functions which have been removed.

Minor code formatting changes for consistency.
Trailing whitespace removed.

22 years agoFix small bug. The count of objects in all generations younger then the
Neil Schemenauer [Fri, 28 Jun 2002 19:16:04 +0000 (19:16 +0000)]
Fix small bug.  The count of objects in all generations younger then the
collected one should be zeroed.

22 years agoPatch 574531/Bug 574570 - allow freeze on windows to use the _winreg
Mark Hammond [Fri, 28 Jun 2002 01:13:02 +0000 (01:13 +0000)]
Patch 574531/Bug 574570 - allow freeze on windows to use the _winreg
extension.

22 years agoThe standard definition file is now called mwerks_shcarbon_plugin.h.
Jack Jansen [Thu, 27 Jun 2002 22:10:19 +0000 (22:10 +0000)]
The standard definition file is now called mwerks_shcarbon_plugin.h.

22 years agoStarted on support for using standard setup.py to build at least
Jack Jansen [Thu, 27 Jun 2002 22:09:19 +0000 (22:09 +0000)]
Started on support for using standard setup.py to build at least
the "standard" modules. Unfinished, but shouldn't harm anything.

22 years agoMore fixes for building MacPython extension modules. It now actually succeeds
Jack Jansen [Thu, 27 Jun 2002 22:06:49 +0000 (22:06 +0000)]
More fixes for building MacPython extension modules. It now actually succeeds
in building various modules.

22 years agomerged with SLAB codebase (version 1.0.1)
Fredrik Lundh [Thu, 27 Jun 2002 21:36:21 +0000 (21:36 +0000)]
merged with SLAB codebase (version 1.0.1)

22 years agomade the code match the comments (1.5.2 compatibility)
Fredrik Lundh [Thu, 27 Jun 2002 20:08:25 +0000 (20:08 +0000)]
made the code match the comments (1.5.2 compatibility)

22 years agoFix bug #570057: Broken pre.subn() (and pre.sub())
Fredrik Lundh [Thu, 27 Jun 2002 19:59:27 +0000 (19:59 +0000)]
Fix bug #570057: Broken pre.subn() (and pre.sub())

This should be backported to the 2.2.X series (how
do I do that?)

22 years agoIntegrate the tests for name interning from PyXML (test_pyexpat.py
Fred Drake [Thu, 27 Jun 2002 19:41:51 +0000 (19:41 +0000)]
Integrate the tests for name interning from PyXML (test_pyexpat.py
revision 1.12 in PyXML).

22 years agoIntegrate the changes from PyXML's version of pyexpat.c revisions
Fred Drake [Thu, 27 Jun 2002 19:40:48 +0000 (19:40 +0000)]
Integrate the changes from PyXML's version of pyexpat.c revisions
1.47, 1.48, 1.49 (name interning support).

22 years agoAdded support for some of the more recently defined macros and
Fred Drake [Thu, 27 Jun 2002 18:38:06 +0000 (18:38 +0000)]
Added support for some of the more recently defined macros and
environments.

22 years agoClean up some markup.
Fred Drake [Thu, 27 Jun 2002 18:30:34 +0000 (18:30 +0000)]
Clean up some markup.

22 years agodis.dis() also supports modules
Neal Norwitz [Wed, 26 Jun 2002 22:32:47 +0000 (22:32 +0000)]
dis.dis() also supports modules

22 years agoDisabled non-carbon builds (for the moment still optional) and made
Jack Jansen [Wed, 26 Jun 2002 22:06:08 +0000 (22:06 +0000)]
Disabled non-carbon builds (for the moment still optional) and made
these scripts work with the new precompiled headers.

22 years agoWhitespace normalization (remove tabs)
Neal Norwitz [Wed, 26 Jun 2002 22:05:33 +0000 (22:05 +0000)]
Whitespace normalization (remove tabs)

22 years agoFix various typos reported to python-docs.
Fred Drake [Wed, 26 Jun 2002 21:52:26 +0000 (21:52 +0000)]
Fix various typos reported to python-docs.

22 years agoFix typo reported to python-docs.
Fred Drake [Wed, 26 Jun 2002 21:25:15 +0000 (21:25 +0000)]
Fix typo reported to python-docs.

22 years agoMake the prototype match the declaration in the GUSI header files.
Jack Jansen [Wed, 26 Jun 2002 20:43:24 +0000 (20:43 +0000)]
Make the prototype match the declaration in the GUSI header files.

22 years agoUndefine DPRINTF before defining it, there was a conflict with some other
Jack Jansen [Wed, 26 Jun 2002 20:41:30 +0000 (20:41 +0000)]
Undefine DPRINTF before defining it, there was a conflict with some other
definition.

22 years agoUndefine TRUE and FALSE before redefining them.
Jack Jansen [Wed, 26 Jun 2002 20:40:42 +0000 (20:40 +0000)]
Undefine TRUE and FALSE before redefining them.

22 years agoGot rid of an extraneous semicolon.
Jack Jansen [Wed, 26 Jun 2002 20:39:20 +0000 (20:39 +0000)]
Got rid of an extraneous semicolon.

22 years agoChanged some prototypes to match the exact definition in some faraway Apple
Jack Jansen [Wed, 26 Jun 2002 20:37:40 +0000 (20:37 +0000)]
Changed some prototypes to match the exact definition in some faraway Apple
header files. If we're building with precompiled headers these are in scope.

22 years agoIn plugin projects use (by default) the new mwerks_shcarbon_pch
Jack Jansen [Wed, 26 Jun 2002 20:36:12 +0000 (20:36 +0000)]
In plugin projects use (by default) the new mwerks_shcarbon_pch
header file in stead of mwerks_carbonplugin_config.h.

22 years agoClose the project after generating it, so we don't keep a gazillion project
Jack Jansen [Wed, 26 Jun 2002 20:35:18 +0000 (20:35 +0000)]
Close the project after generating it, so we don't keep a gazillion project
files open when we're rebuilding them all.

22 years ago- Got rid of non-carbon builds
Jack Jansen [Wed, 26 Jun 2002 20:17:02 +0000 (20:17 +0000)]
- Got rid of non-carbon builds
- Use precompiled headers
- Rationalize config file names.

22 years agoFixed a few showstoppers in the process of making MacPython use setup.py to build...
Jack Jansen [Wed, 26 Jun 2002 15:44:30 +0000 (15:44 +0000)]
Fixed a few showstoppers in the process of making MacPython use setup.py to build it's exension modules (in stead of relying on a private mechanism). It definitely doesn't work yet, but it looks promising.

22 years agoFixed various MacPython-specific issues found by attempting to use the standard core...
Jack Jansen [Wed, 26 Jun 2002 15:42:49 +0000 (15:42 +0000)]
Fixed various MacPython-specific issues found by attempting to use the standard core setup.py for MacPython.

22 years agoApply SF 562987 modernizing Cookie to subclass from dict instead of UserDict
Raymond Hettinger [Wed, 26 Jun 2002 15:19:01 +0000 (15:19 +0000)]
Apply SF 562987 modernizing Cookie to subclass from dict instead of UserDict

22 years agoSuppress the variable verbose output from test.xmltests; the inclusion of
Fred Drake [Wed, 26 Jun 2002 15:16:16 +0000 (15:16 +0000)]
Suppress the variable verbose output from test.xmltests; the inclusion of
timing information in the output makes the determination of success bogus.

22 years agoTurns out GetArgv() options can be 4-tuples too, with the last value being the defaul...
Jack Jansen [Wed, 26 Jun 2002 15:14:48 +0000 (15:14 +0000)]
Turns out GetArgv() options can be 4-tuples too, with the last value being the default (or something like that). Cater for this.

Also put in a safeguard against very long help strings.

22 years agoThis module broke on the Mac (where it can't work, but distutils seems to import...
Jack Jansen [Wed, 26 Jun 2002 15:00:29 +0000 (15:00 +0000)]
This module broke on the Mac (where it can't work, but distutils seems to import it anyway) because it imported pwd and grp. Moved the import to inside the routine where they're used.

22 years agoAdd some acks
Andrew M. Kuchling [Wed, 26 Jun 2002 13:28:19 +0000 (13:28 +0000)]
Add some acks

22 years agoDescribe textwrap module
Andrew M. Kuchling [Wed, 26 Jun 2002 13:23:55 +0000 (13:23 +0000)]
Describe textwrap module

22 years agoFix bug #573916. Sender and recipients reversed in email example.
Raymond Hettinger [Wed, 26 Jun 2002 07:51:32 +0000 (07:51 +0000)]
Fix bug #573916.  Sender and recipients reversed in email example.

22 years agoAlso look up variable names in __builtins__ if not found in globals.
Ka-Ping Yee [Wed, 26 Jun 2002 07:10:56 +0000 (07:10 +0000)]
Also look up variable names in __builtins__ if not found in globals.
Don't show hidden fields of exception values (names starting with '_').

22 years agoadd seealso link to the bisect module
Skip Montanaro [Wed, 26 Jun 2002 05:22:08 +0000 (05:22 +0000)]
add seealso link to the bisect module

22 years agoadd /F's PriorityQueue example
Skip Montanaro [Wed, 26 Jun 2002 05:07:28 +0000 (05:07 +0000)]
add /F's PriorityQueue example

22 years agoShutdown subprocess debugger and associated Proxies/Adapters when closing
Kurt B. Kaiser [Wed, 26 Jun 2002 02:32:09 +0000 (02:32 +0000)]
Shutdown subprocess debugger and associated Proxies/Adapters when closing
the Idle debugger.

M PyShell.py       : Call RemoteDebugger.close_remote_debugger()
M RemoteDebugger.py: Add close_remote_debugger(); further polish code used
                     to start the debugger sections.
M rpc.py           : Add comments on Idlefork methods register(), unregister()
                     comment out unused methods
M run.py           : Add stop_the_debugger(); polish code

22 years agoAdd a reminder
Andrew M. Kuchling [Wed, 26 Jun 2002 00:03:05 +0000 (00:03 +0000)]
Add a reminder

22 years agoAdd a reminder
Andrew M. Kuchling [Tue, 25 Jun 2002 23:57:17 +0000 (23:57 +0000)]
Add a reminder

22 years agoSilence compiler warning
Jeremy Hylton [Tue, 25 Jun 2002 19:26:34 +0000 (19:26 +0000)]
Silence compiler warning

22 years agoAdd convenience module to run all the XML tests.
Fred Drake [Tue, 25 Jun 2002 19:20:10 +0000 (19:20 +0000)]
Add convenience module to run all the XML tests.

22 years agoTalk about interfaces rather than implementation classes where appropriate.
Fred Drake [Tue, 25 Jun 2002 17:10:50 +0000 (17:10 +0000)]
Talk about interfaces rather than implementation classes where appropriate.
Add hyperlinks to make the documentation on the Attributes and AttributesNS
interfaces more discoverable.
Closes SF bug #484603.

22 years agoAdded some more links to the "See also" section.
Fred Drake [Tue, 25 Jun 2002 16:58:58 +0000 (16:58 +0000)]
Added some more links to the "See also" section.

22 years agoWhen talking about interfaces, use the interface names, not the names
Fred Drake [Tue, 25 Jun 2002 16:25:01 +0000 (16:25 +0000)]
When talking about interfaces, use the interface names, not the names
of the implementation classes.  (Remove the "Impl" from two names.)

22 years agoFix typo
Raymond Hettinger [Tue, 25 Jun 2002 15:26:59 +0000 (15:26 +0000)]
Fix typo

22 years agoClose bug 480337: Dict used before dicts explained. Added explanation
Raymond Hettinger [Tue, 25 Jun 2002 15:13:18 +0000 (15:13 +0000)]
Close bug 480337:  Dict used before dicts explained.  Added explanation
and examples of the dict() constructor.

22 years agoClose bug 417930 by clarifying augmented assignment docs
Raymond Hettinger [Tue, 25 Jun 2002 13:36:41 +0000 (13:36 +0000)]
Close bug 417930 by clarifying augmented assignment docs

22 years agoNot sure how I forgot to check these in - thought I did all the files in one
Skip Montanaro [Tue, 25 Jun 2002 05:53:48 +0000 (05:53 +0000)]
Not sure how I forgot to check these in - thought I did all the files in one
fell swoop.  Anyway, this just deletes a couple checks for dbm-type header
files that are now performed in setup.py.  See patch 553108 for details.

22 years agoFix SF bug 568269 by enclosing 'computername' in a raw string
Raymond Hettinger [Tue, 25 Jun 2002 04:53:05 +0000 (04:53 +0000)]
Fix SF bug 568269 by enclosing 'computername' in a raw string

22 years agoMinor English grammar correction
Raymond Hettinger [Tue, 25 Jun 2002 04:04:14 +0000 (04:04 +0000)]
Minor English grammar correction

22 years agoRemove all EditorWindow BREAK tags when closing Debugger
Kurt B. Kaiser [Tue, 25 Jun 2002 03:28:38 +0000 (03:28 +0000)]
Remove all EditorWindow BREAK tags when closing Debugger

22 years agoFix spacing in loop example
Raymond Hettinger [Tue, 25 Jun 2002 03:17:03 +0000 (03:17 +0000)]
Fix spacing in loop example

22 years agoFix SF bug 546434 -- buffer slice type inconsistent.
Raymond Hettinger [Tue, 25 Jun 2002 00:25:30 +0000 (00:25 +0000)]
Fix SF bug 546434 -- buffer slice type inconsistent.

22 years agofix incorrect size calc. in IMAP4_SSL.read
Piers Lauder [Mon, 24 Jun 2002 23:35:37 +0000 (23:35 +0000)]
fix incorrect size calc. in IMAP4_SSL.read

22 years agoIn the Extension() call, add runtime_library_dirs so that a useful
Barry Warsaw [Mon, 24 Jun 2002 20:27:33 +0000 (20:27 +0000)]
In the Extension() call, add runtime_library_dirs so that a useful
-R/--rpath flag gets passed to the linker.  Source builds of
BerkeleyDB do their default installs in locations not normally on
ld.so's search path.

22 years agoClear associated breakpoints when closing an edit window.
Kurt B. Kaiser [Mon, 24 Jun 2002 17:03:37 +0000 (17:03 +0000)]
Clear associated breakpoints when closing an edit window.

M Debugger.py      : Added clear_file_breaks()
M EditorWindow.py  : Clear breaks when closed, commments->docstrings,
                     comment out some debugging print statements
M PyShell.py       : comments->docstrings ; clarify extending EditorWindow
                     methods.
M RemoteDebugger.py: Add clear_all_file_breaks() functionality,
                     clarify some comments.

22 years agoFix SF bug 572567: Memory leak in object comparison.
Raymond Hettinger [Mon, 24 Jun 2002 13:08:16 +0000 (13:08 +0000)]
Fix SF bug 572567: Memory leak in object comparison.

22 years agoSF # 572928 One word change for lib/libgettext.tex
Neal Norwitz [Mon, 24 Jun 2002 02:22:39 +0000 (02:22 +0000)]
SF # 572928 One word change for lib/libgettext.tex

Fix typo.

22 years ago- Got rid of non-carbon stuff
Jack Jansen [Sun, 23 Jun 2002 22:09:45 +0000 (22:09 +0000)]
- Got rid of non-carbon stuff
- Use precompiled headers
- Rationalized naming scheme

22 years agoRandom tweaks & updates.
Michael W. Hudson [Sun, 23 Jun 2002 16:29:36 +0000 (16:29 +0000)]
Random tweaks & updates.

22 years agoFix IMAP4_SSL read and send methods to take account of short data
Piers Lauder [Sun, 23 Jun 2002 10:47:13 +0000 (10:47 +0000)]
Fix IMAP4_SSL read and send methods to take account of short data

22 years agoConvert the example C code to ANSI rather than K&R.
Fred Drake [Sat, 22 Jun 2002 01:42:00 +0000 (01:42 +0000)]
Convert the example C code to ANSI rather than K&R.
This matches the Python C style guide (PEP 7).
Closes SF patch #571489.

22 years agoCorrect the RE equivalent of scanf()'s %x and %X patterns.
Fred Drake [Sat, 22 Jun 2002 01:07:37 +0000 (01:07 +0000)]
Correct the RE equivalent of scanf()'s %x and %X patterns.
Closes SF bug #572169.

22 years agoPatch #557719 by Tony Lownds, slightly massaged by me: streamline the
Jack Jansen [Fri, 21 Jun 2002 14:48:38 +0000 (14:48 +0000)]
Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
  the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically

22 years agoTypo fix.
Greg Ward [Fri, 21 Jun 2002 12:33:08 +0000 (12:33 +0000)]
Typo fix.

22 years agoAdd a check that the bug Jeremy just fixed in _PyTuple_Resize() is
Guido van Rossum [Fri, 21 Jun 2002 02:14:10 +0000 (02:14 +0000)]
Add a check that the bug Jeremy just fixed in _PyTuple_Resize() is
fixed.

(Jeremy, how did you discover that?)

22 years agoMention private vars in __slots__.
Guido van Rossum [Fri, 21 Jun 2002 01:29:25 +0000 (01:29 +0000)]
Mention private vars in __slots__.

22 years agoFix for SF bug 571885
Jeremy Hylton [Thu, 20 Jun 2002 23:13:17 +0000 (23:13 +0000)]
Fix for SF bug 571885

When resizing a tuple, zero out the memory starting at the end of the
old tuple not at the beginning of the old tuple.