]> granicus.if.org Git - python/log
python
23 years agoGot rid of (hopefully) the last 68k Mac-related ifdefs and various other cruft.
Jack Jansen [Tue, 7 Aug 2001 15:14:53 +0000 (15:14 +0000)]
Got rid of (hopefully) the last 68k Mac-related ifdefs and various other cruft.

23 years agoRemoved outdated stuff.
Jack Jansen [Tue, 7 Aug 2001 15:12:04 +0000 (15:12 +0000)]
Removed outdated stuff.

23 years agoDocument two new items
Andrew M. Kuchling [Tue, 7 Aug 2001 14:28:58 +0000 (14:28 +0000)]
Document two new items
Correct error noticed by Keith Briggs
Re-indent a paragraph

23 years agoProject files for the new plugin modules, plus a few that hadn't been added yet but...
Jack Jansen [Tue, 7 Aug 2001 14:21:56 +0000 (14:21 +0000)]
Project files for the new plugin modules, plus a few that hadn't been added yet but should have been.

23 years agoBit another bullet: all toolbox modules are now in dynamically loaded modules. Everyt...
Jack Jansen [Tue, 7 Aug 2001 13:53:25 +0000 (13:53 +0000)]
Bit another bullet: all toolbox modules are now in dynamically loaded modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work.

23 years agoBit the bullet and enabled garbage collection (finally).
Jack Jansen [Tue, 7 Aug 2001 12:33:32 +0000 (12:33 +0000)]
Bit the bullet and enabled garbage collection (finally).
Also updated pyconfig.h to the current state of pyconfig.h.in.

23 years agomore fleshing out, this time primarily the 'general' page
Steven M. Gava [Tue, 7 Aug 2001 03:28:25 +0000 (03:28 +0000)]
more fleshing out, this time primarily the 'general' page

23 years agoAnother bug fix for recent import * warning (caught by Thomas Wouters)
Jeremy Hylton [Mon, 6 Aug 2001 20:34:25 +0000 (20:34 +0000)]
Another bug fix for recent import * warning (caught by Thomas Wouters)

Only return if symtable_warn() returns -1, indicating that the warning
was turned into an error.

23 years ago+ Turn off patch creation (this isn't a patch release! got turned on by
Tim Peters [Mon, 6 Aug 2001 20:01:19 +0000 (20:01 +0000)]
+ Turn off patch creation (this isn't a patch release!  got turned on by
  mistake).
+ Arrange for Win2K Add/Remove to show a Python icon.

I think this "does it" -- a full install/uninstall can now be done on a
Win2K box from an ordinary (not Admin, not Power User) user acct, incl.
file extension registration, Start Menu entries, and full Add/Remove.

23 years agoFix error message for import * in function/class scope
Jeremy Hylton [Mon, 6 Aug 2001 19:55:17 +0000 (19:55 +0000)]
Fix error message for import * in function/class scope

23 years agoFix SF bug [ #445474 ] warn about import * inside functions
Jeremy Hylton [Mon, 6 Aug 2001 19:45:40 +0000 (19:45 +0000)]
Fix SF bug [ #445474 ] warn about import * inside functions

Reported by the Man himself.

23 years agoTabify the file (pointed out by Thomas Wouters)
Andrew M. Kuchling [Mon, 6 Aug 2001 19:33:52 +0000 (19:33 +0000)]
Tabify the file (pointed out by Thomas Wouters)

23 years agoUpdate listing of subdirectories
Andrew M. Kuchling [Mon, 6 Aug 2001 18:55:22 +0000 (18:55 +0000)]
Update listing of subdirectories
Update link to a running instance of the FAQwizard

23 years agoRemove spurious "closed" attribute definition from the memberlist
Guido van Rossum [Mon, 6 Aug 2001 18:51:38 +0000 (18:51 +0000)]
Remove spurious "closed" attribute definition from the memberlist
table.  (reported as an aside in SF #446049).

23 years agoRemove various outdated files. (Leaving find_recursionlimit.py alone,
Andrew M. Kuchling [Mon, 6 Aug 2001 18:44:56 +0000 (18:44 +0000)]
Remove various outdated files.  (Leaving find_recursionlimit.py alone,
   as Neil pointed out it isn't the same as sys.getrecursionlimit)

23 years agoUpdate cheatsheet to 2.0 from Brunning/Gruet's quick reference
Andrew M. Kuchling [Mon, 6 Aug 2001 17:43:49 +0000 (17:43 +0000)]
Update cheatsheet to 2.0 from Brunning/Gruet's quick reference

23 years agoAdd 'yield' as a keyword
Andrew M. Kuchling [Mon, 6 Aug 2001 17:42:53 +0000 (17:42 +0000)]
Add 'yield' as a keyword
Fix typo in comment

23 years agoA totally new way to do the __new__ wrapper. This should address the
Guido van Rossum [Mon, 6 Aug 2001 16:50:37 +0000 (16:50 +0000)]
A totally new way to do the __new__ wrapper.  This should address the
problem brought up in SF bug #444229.

23 years agoOops, arg type for the glue routine was wrong.
Jack Jansen [Mon, 6 Aug 2001 15:32:30 +0000 (15:32 +0000)]
Oops, arg type for the glue routine was wrong.

23 years agoShow the MacPython IDE version in the interactive banner.
Just van Rossum [Mon, 6 Aug 2001 11:12:18 +0000 (11:12 +0000)]
Show the MacPython IDE version in the interactive banner.

23 years agoOops, this file was apparently never added to the repository. Now it is.
Jack Jansen [Mon, 6 Aug 2001 10:08:56 +0000 (10:08 +0000)]
Oops, this file was apparently never added to the repository. Now it is.

23 years agoReplace moddir and incdir by
Jack Jansen [Sun, 5 Aug 2001 22:31:19 +0000 (22:31 +0000)]
Replace moddir and incdir by
moddirlist and incdirlist, lists of source and include
directories that are searched for modules.
This is needed because the Mac modules and include files
live in the Mac subtree.

In addition (and that's actually what the mod is all about) on OSX we build all the Mac extension modules.

23 years agoPatch #448194: Debuging negative reference counts.
Martin v. Löwis [Sun, 5 Aug 2001 21:23:03 +0000 (21:23 +0000)]
Patch #448194: Debuging negative reference counts.

23 years agoAdd a comment on time.time() returning non-decreasing values except when
Fred Drake [Sun, 5 Aug 2001 15:43:04 +0000 (15:43 +0000)]
Add a comment on time.time() returning non-decreasing values except when
the clock is set back.

This closes SF bug #447945.

23 years ago+ Made installer more reluctant to overwrite MS C runtime DLLs -- it's
Tim Peters [Sun, 5 Aug 2001 13:58:48 +0000 (13:58 +0000)]
+ Made installer more reluctant to overwrite MS C runtime DLLs -- it's
  been overwriting them even if they have the same version, not just if
  they're an older version (and our installers have always done this).
+ Added an "Advanced Options" subdialog to "Select Components".  Allows
  to do a non-admin install even if you have Administrator rights, and
  to skip registering file extensions and/or creating Start Menu
  shortcuts.  Since so far these installers have been tested only by me,
  and Win2K has been full of surprises, I want those options available
  out in the field.
Lots of web searching turned up what should have been obvious:  Because
Windows Installer is a native Win2K service, it can run at a higher
privilege level than the user invoking it.  So MSI installs don't bash
into these permission gotchas on Win2K, but Wise 8.1 does (it's just
another app to Win2K, and we're not alone in wrestling with this; but,
like changing int division in Python, Win2K is doing a right thing <wink>).

23 years agofix for Bug ID 448100 - "test code using NL instead of CRNL"
Piers Lauder [Sun, 5 Aug 2001 10:43:03 +0000 (10:43 +0000)]
fix for Bug ID 448100 - "test code using NL instead of CRNL"

23 years agobegan font / indentation page
Steven M. Gava [Sun, 5 Aug 2001 08:00:28 +0000 (08:00 +0000)]
began font / indentation page

23 years agoRename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
Tim Peters [Sun, 5 Aug 2001 05:43:20 +0000 (05:43 +0000)]
Rename pydoc.pyw to pydocgui.pyw:  Since we changed Python to allow .pyw
files to satisfy imports, pydoc.pyw was just importing itself!

23 years ago+ Redid file associations on Win2K in what I believe is "the right way".
Tim Peters [Sun, 5 Aug 2001 05:19:15 +0000 (05:19 +0000)]
+ Redid file associations on Win2K in what I believe is "the right way".
  Can't test it until getting to a Win2K box, because the non-Admin way
  of setting file associations on Win2K doesn't work on any other flavor
  of Windows (and other flavors of Windows never need Admin privs to
  do it the old way).
+ Consequently got rid of the "Register file associations" Component and
  associated GUI.
+ Added a line to the summary saying whether or not this is an Admin-level
  install (I fear that will be an important clue someday).
+ Minor fiddling to the summary to reduce the # of lines.  Added a
  horizontal scrollbar in case the install path is very long.
+ Reworked the way the Main and Tools components share pydoc.pyw; cleaner
  and simpler.

23 years agoNew runtime vrbl DOADMIN. When false, we never try to write under HKLM,
Tim Peters [Sun, 5 Aug 2001 04:12:30 +0000 (04:12 +0000)]
New runtime vrbl DOADMIN.  When false, we never try to write under HKLM,
and install the Python and MS runtime DLLs into the Python dir instead of
a system dir.
Initial value is taken from new compiler vrbl _DOADMIN_ (default true),
and forced to false if the user doesn't have admin privs.
This makes it possible to *test* non-admin installs on machines where the
distinction doesn't exist (like my home box), via just changing _DOADMIN_.
It may also be useful for users who don't *want* an installer to
scribble into their system dir (for example, me(! most days)), but that
would require adding more GUI to let them get at it.

23 years ago+ Add version info to Win2K add/remove.
Tim Peters [Sat, 4 Aug 2001 23:23:27 +0000 (23:23 +0000)]
+ Add version info to Win2K add/remove.
+ Fiddle vrbls so Win2K add/remove can display version w/o future manual
  script fiddling.
+ Break apart the mysterious wizard-generated Win2K "Edit 3 Registry Keys"
  script items by hand into 3 separate items, so you can see what the heck
  they're doing in the script view.
+ pydoc.pyw was a problem:  it's installed by both the Main and Tools
  components.  So when both were selected, the second time it got
  installed Wise figured it was overwriting a pre-existing version, and
  made a backup copy in BACKUP.  A rollback-uninstall then restored that,
  leaving the Tools/Scripts/ directory non-empty, and so Wise couldn't
  remove that directory (or any above it).  Fixed by installing pydoc.pyw
  at most once.
+ Rearranged and commented the "register file extensions" section, because
  it was confusing and needs more work:  turns out it's not true that
  Win2K requires Admin privs to register file extensions, BUT, if you
  don't have Admin privs, Win2K requires a new way to register file
  extensions, and a way that doesn't blow up but doesn't do any good either
  on earlier Windows flavors.  I think I know how to get this done, but am
  too depressed to do it right now <0.7 wink>.

23 years agoAdd more constants. Contributed by itojun.
Martin v. Löwis [Sat, 4 Aug 2001 22:37:23 +0000 (22:37 +0000)]
Add more constants. Contributed by itojun.

23 years agoAuto-detect hstrerror. Raise socket.herror in PyH_Error. Register the three
Martin v. Löwis [Sat, 4 Aug 2001 22:32:03 +0000 (22:32 +0000)]
Auto-detect hstrerror. Raise socket.herror in PyH_Error. Register the three
exception classes in the module dictionary.

23 years agoDocument IPv6 changes. Contributed by itojun.
Martin v. Löwis [Sat, 4 Aug 2001 22:22:45 +0000 (22:22 +0000)]
Document IPv6 changes. Contributed by itojun.

23 years agoHack to workaround bug #445984: attempt to import _socket before
Greg Ward [Sat, 4 Aug 2001 22:22:19 +0000 (22:22 +0000)]
Hack to workaround bug #445984: attempt to import _socket before
starting the test suite proper.  If _socket fails to build, that will
make this test fail with an ImportError -- handled by the test harness
as "no such module _socket" -- instead of an AttributeError deep in
CGIHTTPServer.

23 years agofurther work on keybinding page
Steven M. Gava [Sat, 4 Aug 2001 13:58:22 +0000 (13:58 +0000)]
further work on keybinding page

23 years agoDerived from SF patch #446899 Permit import of .pyw under Windows, from
Tim Peters [Sat, 4 Aug 2001 08:12:36 +0000 (08:12 +0000)]
Derived from SF patch #446899 Permit import of .pyw under Windows, from
David Bolen.

23 years agoPlug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed,
Fred Drake [Sat, 4 Aug 2001 03:11:25 +0000 (03:11 +0000)]
Plug a memory leak in Py_InitModule4():  when PyDict_SetItemString() failed,
the object being inserted was not being DECREFed.

This closes SF bug #444486.

23 years agoLots of new text and example code on embedding Python in C, contributed
Fred Drake [Sat, 4 Aug 2001 01:58:36 +0000 (01:58 +0000)]
Lots of new text and example code on embedding Python in C, contributed
by Albert Hofkamp.  Some editing has been done for style and markup
consistency.

This also supplies an example of importing modules and calling a function
defined in the module, so this closes SF bug #440037 as well.

(The long example code was moved to a separate file so that it would
format properly.)

23 years agoNote that the mimetypes.MimeTypes class was added in Python 2.2.
Fred Drake [Sat, 4 Aug 2001 00:48:49 +0000 (00:48 +0000)]
Note that the mimetypes.MimeTypes class was added in Python 2.2.

23 years agoAdd documentation for the new aspects of the mimetypes module.
Fred Drake [Fri, 3 Aug 2001 21:03:14 +0000 (21:03 +0000)]
Add documentation for the new aspects of the mimetypes module.

This closes the SF bug (feature request) #439710.

23 years agoRefactor so that it is easier to work with alternate MIME types databases,
Fred Drake [Fri, 3 Aug 2001 21:01:44 +0000 (21:01 +0000)]
Refactor so that it is easier to work with alternate MIME types databases,
and programmatically extend the database in different ways.

This closes the SF bug (feature request) #439710.

23 years agoDon't use any characters C doesn't guarantee are safe for text-mode files.
Tim Peters [Fri, 3 Aug 2001 20:40:18 +0000 (20:40 +0000)]
Don't use any characters C doesn't guarantee are safe for text-mode files.
This should stop the bizarre translations Jack was getting from Mac CVS.

23 years agoFix stupid bug: when migrating these tests from the Zope repository, the
Fred Drake [Fri, 3 Aug 2001 19:53:01 +0000 (19:53 +0000)]
Fix stupid bug: when migrating these tests from the Zope repository, the
names of the test methods were not changed from the Zope-standard "check"
names to the Python-standard "test_" names, so the tests were not actually
being run.

Added test of hexadecimal character references as a regression check for
SF bug #445196.

23 years agoChange some comments into docstrings.
Fred Drake [Fri, 3 Aug 2001 19:50:59 +0000 (19:50 +0000)]
Change some comments into docstrings.

Fix handling of hexadecimal character references (legal in XHTML) so that
they are properly interpreted as character references.
This fixes SF bug #445196.

23 years ago+ Moved IDLE from the "tools" component to the main component.
Tim Peters [Fri, 3 Aug 2001 19:04:13 +0000 (19:04 +0000)]
+ Moved IDLE from the "tools" component to the main component.
+ Ditto pydoc.
  (IMO, both should have been done long ago -- simply didn't occur to
   me before)
+ Build the summary text into a vrbl instead of a temp file.  Doh!  Less
  fiddling, and should avoid another class of Win2K permission problems.
Bug:  the "auto vertical scrollbar" control on the summary page doesn't
work (never creates a scrollbar, no matter how much text).  So forced a
vertical scrollbar there.

23 years agoApply the new \mailheader macro where appropriate, and fix a few small
Fred Drake [Fri, 3 Aug 2001 18:39:36 +0000 (18:39 +0000)]
Apply the new \mailheader macro where appropriate, and fix a few small
markup inconsistencies.

23 years agoDefine the \mailheader macro and document conventions for using it.
Fred Drake [Fri, 3 Aug 2001 18:36:17 +0000 (18:36 +0000)]
Define the \mailheader macro and document conventions for using it.

23 years agoMinor markup nits and slight style-guide conformance changes.
Fred Drake [Fri, 3 Aug 2001 17:11:33 +0000 (17:11 +0000)]
Minor markup nits and slight style-guide conformance changes.

23 years agoPyMac_GetFSSpec must be called via the dylib glue code on OSX.
Jack Jansen [Fri, 3 Aug 2001 15:39:27 +0000 (15:39 +0000)]
PyMac_GetFSSpec must be called via the dylib glue code on OSX.

23 years agoIf we use frameworks we should include CoreServices/CoreServices.h, not the
Jack Jansen [Fri, 3 Aug 2001 15:36:23 +0000 (15:36 +0000)]
If we use frameworks we should include CoreServices/CoreServices.h, not the
old-style CoreFoundation.h.

23 years agoTXNTSMCheck isn't available under Mach-O Carbon.
Jack Jansen [Fri, 3 Aug 2001 15:34:29 +0000 (15:34 +0000)]
TXNTSMCheck isn't available under Mach-O Carbon.

23 years ago- On OSX add -no-cpp-precomp to OPT. The user still has to manually specify
Jack Jansen [Fri, 3 Aug 2001 15:32:23 +0000 (15:32 +0000)]
- On OSX add -no-cpp-precomp to OPT. The user still has to manually specify
  the --with-suffix=.exe, but it seems that that is also true for cygwin
  (or not? should I automatically set it?)
- Got --with-next-framework to build on OSX. This is only the build bit,
  the install still has to be done manually. Moreover, the Python build order
  isn't really suited to frameworks (where you want to do 'build lib',
  'install lib and framework', 'link executable against installed framework'
  in that order).

23 years agoICFindConfigFile isn't needed, and it's gone under carbon.
Jack Jansen [Fri, 3 Aug 2001 14:12:36 +0000 (14:12 +0000)]
ICFindConfigFile isn't needed, and it's gone under carbon.

23 years agoEasyDialogs has a working version of this.
Jack Jansen [Fri, 3 Aug 2001 14:10:54 +0000 (14:10 +0000)]
EasyDialogs has a working version of this.

23 years agoThese stopped working a long time ago, and they're not worth fixing.
Jack Jansen [Fri, 3 Aug 2001 14:10:27 +0000 (14:10 +0000)]
These stopped working a long time ago, and they're not worth fixing.

23 years agoObsolete, EasyDialogs has the same code (but working:-).
Jack Jansen [Fri, 3 Aug 2001 14:09:33 +0000 (14:09 +0000)]
Obsolete, EasyDialogs has the same code (but working:-).

23 years agoObsolete: uses old applescript support.
Jack Jansen [Fri, 3 Aug 2001 14:07:52 +0000 (14:07 +0000)]
Obsolete: uses old applescript support.

23 years agoObsolete, uses the old non-package-based applescript suite support.
Jack Jansen [Fri, 3 Aug 2001 14:06:17 +0000 (14:06 +0000)]
Obsolete, uses the old non-package-based applescript suite support.

23 years agoThis "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
Jack Jansen [Fri, 3 Aug 2001 14:05:29 +0000 (14:05 +0000)]
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.

23 years agoThis "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
Jack Jansen [Fri, 3 Aug 2001 14:02:07 +0000 (14:02 +0000)]
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.

23 years agoRemoved: it doesn't work anymore, and it wasn't all that useful anyway. The FrameWork...
Jack Jansen [Fri, 3 Aug 2001 13:58:16 +0000 (13:58 +0000)]
Removed: it doesn't work anymore, and it wasn't all that useful anyway. The FrameWork testcode shows similar functionality.

23 years agoObsolete, superseded by :Mac:Demo:imgbrowse and friends.
Jack Jansen [Fri, 3 Aug 2001 13:56:12 +0000 (13:56 +0000)]
Obsolete, superseded by :Mac:Demo:imgbrowse and friends.

23 years agoObsolete, superseded by :Mac:Demo:TE
Jack Jansen [Fri, 3 Aug 2001 13:53:50 +0000 (13:53 +0000)]
Obsolete, superseded by :Mac:Demo:TE

23 years agoObsolete, superseded by :Mac:Demo:waste
Jack Jansen [Fri, 3 Aug 2001 13:53:17 +0000 (13:53 +0000)]
Obsolete, superseded by :Mac:Demo:waste

23 years agoObsolete, removed.
Jack Jansen [Fri, 3 Aug 2001 13:49:52 +0000 (13:49 +0000)]
Obsolete, removed.

23 years agoMerging appropriate 2.1.1 fixes back into the main trunk.
Jack Jansen [Fri, 3 Aug 2001 13:31:36 +0000 (13:31 +0000)]
Merging appropriate 2.1.1 fixes back into the main trunk.

23 years agoDocumented the runtimemodel attribute.
Jack Jansen [Fri, 3 Aug 2001 13:19:56 +0000 (13:19 +0000)]
Documented the runtimemodel attribute.

23 years ago(Finally) converted to new-style args.
Jack Jansen [Fri, 3 Aug 2001 13:07:19 +0000 (13:07 +0000)]
(Finally) converted to new-style args.
Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule.
Added the various O_ constants (by stealing the code from posixmodule).

test_fileinput now passes.

23 years agoAdded descrobject.c and mysnprintf.c
Jack Jansen [Fri, 3 Aug 2001 13:05:57 +0000 (13:05 +0000)]
Added descrobject.c and mysnprintf.c

23 years agoRegenerated for new description stuff.
Jack Jansen [Fri, 3 Aug 2001 13:05:18 +0000 (13:05 +0000)]
Regenerated for new description stuff.

23 years agoThe test opened the binary test data files in text mode! Fixed.
Jack Jansen [Fri, 3 Aug 2001 13:04:03 +0000 (13:04 +0000)]
The test opened the binary test data files in text mode! Fixed.

23 years agoRemoved duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred only...
Jack Jansen [Fri, 3 Aug 2001 13:03:24 +0000 (13:03 +0000)]
Removed duplicate definnitions of PyObject_AS_GC and PyObject_FROM_GC (occurred only if GC was off).

23 years agoNo more Inno Envy: the "Start Installation" dialog now displays a nice
Tim Peters [Fri, 3 Aug 2001 11:11:35 +0000 (11:11 +0000)]
No more Inno Envy:  the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.

23 years agoDo not use the system getaddrinfo on Mac OS X. Fixes bug #445928.
Martin v. Löwis [Fri, 3 Aug 2001 10:02:29 +0000 (10:02 +0000)]
Do not use the system getaddrinfo on Mac OS X. Fixes bug #445928.
Since getnameinfo is not implemented, remove __APPLE__ check here.

23 years agofurther work on config dialog, particularly highligthing config
Steven M. Gava [Fri, 3 Aug 2001 04:43:44 +0000 (04:43 +0000)]
further work on config dialog, particularly highligthing config

23 years agoMake sure that WeakValueDictionary[] raises KeyError instead of TypeError
Fred Drake [Fri, 3 Aug 2001 04:11:27 +0000 (04:11 +0000)]
Make sure that WeakValueDictionary[] raises KeyError instead of TypeError
for keys that are not in the dictionary.

23 years agoFix some of the example code; the reference objects do not support a
Fred Drake [Fri, 3 Aug 2001 03:50:28 +0000 (03:50 +0000)]
Fix some of the example code; the reference objects do not support a
get() method; just calling them is sufficient.  (There was a get() method
for this in an early version of the implementation.)

Reported by Mats Wichmann.

23 years agoFinish my log of the final merge process. Mark the merge task complete.
Tim Peters [Thu, 2 Aug 2001 22:06:35 +0000 (22:06 +0000)]
Finish my log of the final merge process.  Mark the merge task complete.

23 years agoUser-defined methods *can* contain things other than user-defined functions
Fred Drake [Thu, 2 Aug 2001 21:34:53 +0000 (21:34 +0000)]
User-defined methods *can* contain things other than user-defined functions
as the callable, so use more flexible language.

23 years agoAdd a caveat about boundary conditions and RE concatenation, so that the
Fred Drake [Thu, 2 Aug 2001 20:52:00 +0000 (20:52 +0000)]
Add a caveat about boundary conditions and RE concatenation, so that the
documents do not make an overly-strong assertion about the properties of
RE concatenation.

Add an example of RE{m,} syntax and what it will and will not match.

23 years agoMiscellaneous minor cleanups.
Fred Drake [Thu, 2 Aug 2001 20:03:12 +0000 (20:03 +0000)]
Miscellaneous minor cleanups.

23 years agoMove away from apply() to using extended call syntax for some example
Fred Drake [Thu, 2 Aug 2001 18:00:28 +0000 (18:00 +0000)]
Move away from apply() to using extended call syntax for some example
fragments when discussing equivalence of thhe C API to what a Python
programmer sees.

Added descriptions of PyEval_SetProfile() and PyEval_SetTrace().

23 years agoThis test failed under python -O.
Tim Peters [Thu, 2 Aug 2001 17:23:11 +0000 (17:23 +0000)]
This test failed under python -O.
rewrite_file():  Delete both .pyc and .pyo leftovers, and explicitly close
the new source file after writing to it.

23 years agoExplain that __init__() methods do not get to return values.
Fred Drake [Thu, 2 Aug 2001 15:53:05 +0000 (15:53 +0000)]
Explain that __init__() methods do not get to return values.

23 years agoFix SF #442791 (revisited): No __delitem__ wrapper was defined.
Guido van Rossum [Thu, 2 Aug 2001 15:31:58 +0000 (15:31 +0000)]
Fix SF #442791 (revisited): No __delitem__ wrapper was defined.

23 years agoAdd anentry for the distutils.sysconfig module docs.
Fred Drake [Thu, 2 Aug 2001 15:13:58 +0000 (15:13 +0000)]
Add anentry for the distutils.sysconfig module docs.

23 years agoUpdate some incorrect comments about the bdist commands that exist.
Fred Drake [Thu, 2 Aug 2001 15:13:15 +0000 (15:13 +0000)]
Update some incorrect comments about the bdist commands that exist.

Add an entry for the distutils.sysconfig module docs.

23 years agoDocumentation for the distutils.sysconfig module.
Fred Drake [Thu, 2 Aug 2001 15:12:07 +0000 (15:12 +0000)]
Documentation for the distutils.sysconfig module.

23 years agoUnit test for improved package import semantics.
Guido van Rossum [Thu, 2 Aug 2001 14:14:20 +0000 (14:14 +0000)]
Unit test for improved package import semantics.
Original by Alex Coventry (in SF patch #441791), adapted to the
standard regression test framework.

23 years agoPatch #444359: Remove unused imports.
Martin v. Löwis [Thu, 2 Aug 2001 07:15:29 +0000 (07:15 +0000)]
Patch #444359: Remove unused imports.

23 years agoTake MANDIR and INCLUDEDIR from configure. Fixes bug #446671.
Martin v. Löwis [Thu, 2 Aug 2001 06:20:20 +0000 (06:20 +0000)]
Take MANDIR and INCLUDEDIR from configure. Fixes bug #446671.

23 years agoFix the test_weakref.py failure. Introduced by resolving "a conflict"
Tim Peters [Thu, 2 Aug 2001 04:45:20 +0000 (04:45 +0000)]
Fix the test_weakref.py failure.  Introduced by resolving "a conflict"
(which didn't actually exist!) incorrectly.

23 years agoMerge of descr-branch back into trunk.
Tim Peters [Thu, 2 Aug 2001 04:15:00 +0000 (04:15 +0000)]
Merge of descr-branch back into trunk.

23 years agoCleaned up the docstring for readline.set_completer().
Fred Drake [Wed, 1 Aug 2001 21:44:14 +0000 (21:44 +0000)]
Cleaned up the docstring for readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.

23 years agoCleaned up the description of readline.set_completer().
Fred Drake [Wed, 1 Aug 2001 21:42:45 +0000 (21:42 +0000)]
Cleaned up the description of readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.

23 years agos/endswith/startswith/
Tim Peters [Wed, 1 Aug 2001 20:23:18 +0000 (20:23 +0000)]
s/endswith/startswith/

23 years agoRewritten version of Finn Bock's SF patch #446907 (Allow jython to
Tim Peters [Wed, 1 Aug 2001 19:38:56 +0000 (19:38 +0000)]
Rewritten version of Finn Bock's SF patch #446907 (Allow jython to
complete test_import).

23 years agoJust changes to comments.
Tim Peters [Wed, 1 Aug 2001 18:42:54 +0000 (18:42 +0000)]
Just changes to comments.

23 years agoRepair more ways in which the "backup files" dialog differed from all the
Tim Peters [Wed, 1 Aug 2001 18:33:33 +0000 (18:33 +0000)]
Repair more ways in which the "backup files" dialog differed from all the
others (wrong title, inconsistent layout).  Also tried to make the dialog
text clearer, and spelled out what the "yes" and "no" buttons *mean*.