Commit Graph

16331 Commits

Author SHA1 Message Date
Marc-André Lemburg bf222c9f12 Fixed posixpath.normpath() to respect two leading slashes, but
turn three or more into a single slash. (This is in sync with POSIX
susv2 according to Fredrik.)
2001-01-29 11:29:44 +00:00
Marc-André Lemburg fde66e1bcc Fixed .capitalize() method of Unicode objects to work like the
corresponding string method. Added tests for this too.

Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-29 11:14:16 +00:00
Sjoerd Mullender 30be8708c5 Don't use $< in normal make rules: it's not portable. Using $< in
inference rules (e.g. .c.o) is fine.
2001-01-29 09:39:14 +00:00
Moshe Zadka 6af0ce0501 Added news of function comparison and hashing by identity 2001-01-29 06:41:00 +00:00
Eric S. Raymond 3229b859fb More on noutrefresh() and scroll(). 2001-01-29 06:39:33 +00:00
Moshe Zadka 497671e094 The one thing I love more then writing code is deleting code.
* Removed func_hash and func_compare, so they can be treated as immutable
  content-less objects (address hash and comparison)
* Added tests to that affect to test_funcattrs (also testing func_code
  is writable)
* Reverse meaning of tests in test_opcodes which checked identical code
  gets identical functions
2001-01-29 06:21:17 +00:00
Jack Jansen 2beeb22533 Added cellobject.c 2001-01-28 22:45:46 +00:00
Skip Montanaro 4fda21ba6b updated to document use of sequences of two-element tuples as inputs 2001-01-28 21:18:16 +00:00
Skip Montanaro 080c99745f added several more urlencode test cases - part of patch 103391 2001-01-28 21:12:22 +00:00
Skip Montanaro 14f1ad4a94 allow first param urlencode to be a sequence of two-element tuples - in this
case, the order of parameters in the output matches the order of the inputs.
2001-01-28 21:11:12 +00:00
Andrew M. Kuchling 399b8af563 Bug #130117: add a prototype required to compile cleanly on IRIX
(contributed by Paul Jackson)
2001-01-28 18:10:23 +00:00
Fred Drake c37f5b3296 Adjust documentation for new.instance() to reflect that the second
parameter may be omitted or None.
2001-01-28 17:23:05 +00:00
Jack Jansen b4cd5c1a3a Remove single "." components from pathnames, and return os.curdir if
the resulting path is empty.
2001-01-28 12:23:32 +00:00
Jack Jansen a221b2a7a9 Data pathnames were not converted from URL-style to local style. Fixed. 2001-01-28 12:22:14 +00:00
Martin v. Löwis 646ddec41f Allow installation of IDLE via distutils (patch #103138). 2001-01-28 11:01:50 +00:00
Fred Drake 5838d0fc84 Document the PyInstance_*() functions and data. 2001-01-28 06:39:35 +00:00
Tim Peters 0149e84af2 SF bug #130306: statcache.py full of thread problems.
Fixed the thread races.  Function forget_dir was also utterly Unix-specific.
2001-01-28 05:07:00 +00:00
Fred Drake 64d42c5bb1 Added tests for new signature of new.instance().
Use test_support.verify() where applicable.
2001-01-28 03:57:39 +00:00
Fred Drake ceb2bff09e new_instance(): Use PyInstance_NewRaw() instead of knowing too much
about the internal initialization of instance objects.  Make the
    dict parameter optional, and allow None as equivalent to omission.
2001-01-28 03:55:09 +00:00
Fred Drake 5cc2c8c3c8 Re-factored PyInstance_New() into PyInstance_New() and PyInstance_NewRaw(). 2001-01-28 03:53:08 +00:00
Fred Drake 05473edbe5 Added prototype for PyInstance_NewRaw(). 2001-01-28 03:52:08 +00:00
Eric S. Raymond 9ca35ec97a Instructive example for strftime(); how to generate RFC822 dates. 2001-01-28 00:56:54 +00:00
Tim Peters d9b9ac855c It's unclear whether PyMarshal_XXX() are part of the public or private API.
They're named as if public, so I did a Bad Thing by changing
PyMarshal_ReadObjectFromFile() to suck up the remainder of the file in one
gulp:  anyone who counted on that leaving the file pointer merely at the
end of the next object would be screwed.  So restored
PyMarshal_ReadObjectFromFile() to its earlier state, renamed the new greedy
code to PyMarshal_ReadLastObjectFromFile(), and changed Python internals to
call the latter instead.
2001-01-28 00:27:39 +00:00
Neil Schemenauer 09ac1fde1c Fix a typo. 2001-01-27 21:43:40 +00:00
Neil Schemenauer 188218232d - Fix buildno dependencies (I hope).
- Change one last EXE to EXEEXT.
2001-01-27 21:42:38 +00:00
Neil Schemenauer 0c6141f75c the usual 2001-01-27 21:40:54 +00:00
Neil Schemenauer d9cf41c438 - Remove Guido's LINKCC=CXX experiment.
- Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL.
2001-01-27 21:39:17 +00:00
Fred Drake 2174f80c66 init_curses_panel(): Be more consistent with indentation and blank lines. 2001-01-27 18:58:04 +00:00
Eric S. Raymond e7213c7a80 Emphasis that instantiating this class doesn't consume the message body.
Fix some unclear language in the description of the addrlist member.
2001-01-27 10:56:14 +00:00
Martin v. Löwis 2bcb32372c Except HierarchyRequestErr instead of TypeError. 2001-01-27 09:17:55 +00:00
Martin v. Löwis 70d39a60a8 Re-indent. 2001-01-27 09:01:20 +00:00
Martin v. Löwis 711a5bdc44 Synchronize with PyXML 1.5. 2001-01-27 08:56:24 +00:00
Martin v. Löwis 0591725bc5 Synchronize with PyXML 1.10
Break cycle involving expat parser in close().
Add lex handler support to SAX2 pyexpat
2001-01-27 08:56:24 +00:00
Martin v. Löwis 52ce0d0837 Re-indent. 2001-01-27 08:47:37 +00:00
Martin v. Löwis d5fb58f1e3 Merge changes of PyXML 1.13:
Use nodeName, not tagName in attributes.
Provide get method for dictionary-like objects.
Use DOM exceptions instead of standard exceptions.
2001-01-27 08:38:34 +00:00
Martin v. Löwis e3fc722628 Synchronize with 1.10 of PyXML: Close parser when done. 2001-01-27 08:34:21 +00:00
Neil Schemenauer dfb38e47f5 Grow that RCS file! 2001-01-27 06:57:08 +00:00
Neil Schemenauer 3ae1d0aa84 Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants
and an option is more friendly then manually setting a variable.
2001-01-27 06:54:42 +00:00
Tim Peters 547397c45b SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470
SF patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470
PyMember_Set of T_CHAR always raises exception.
Unfortunately, this is a use of a C API function that Python itself never makes, so
there's no .py test I can check in to verify this stays fixed.  But the fault in the
code is obvious, and Dave Cole's patch just as obviously fixes it.
2001-01-27 06:20:08 +00:00
Tim Peters 40ead76ed6 Added news about repr(string). 2001-01-27 05:35:26 +00:00
Andrew M. Kuchling 93b747efce Bug #129904: Put back the path component for the Tkinter modules 2001-01-27 01:31:35 +00:00
Tim Peters 715c4c412b New comment block to Clarify a subtlety. 2001-01-26 22:56:56 +00:00
Andrew M. Kuchling c975f03170 Farewell setup.cfg.in, we hardly knew ye. We need to use command-line
arguments instead to handle overrides provided on the make command line.
2001-01-26 22:56:55 +00:00
Andrew M. Kuchling 8abedde53a Removed setup.cfg from the list of generated files
Fixed typo in message
2001-01-26 22:55:24 +00:00
Andrew M. Kuchling 03184e2815 Remaining single-line change from patch #102409: to install shared modules,
run setup.py with the --install-platlib flag so you can override
   'prefix' when running make (e.g. make prefix=/tmp/python/usr/local install)

Instead of using mkdir to create directories, use install -d (mkdir -p
   apparently isn't portable)

Emacs make-mode reported line 371 as suspicious; removed the whitespace from
   that line.
2001-01-26 22:52:45 +00:00
Neil Schemenauer 73f8ab2e61 - Edit the QNX instructions to refer to Makefile, not Modules/Makefile.
- Setup is now copied from Setup.dist by configure.
2001-01-26 22:18:55 +00:00
Andrew M. Kuchling 66012fe889 Remove unused import of 'string'
Add header comment and __version__
2001-01-26 21:56:58 +00:00
Fred Drake 66f98b45cd Fix a number of typos found by Guido. 2001-01-26 20:51:32 +00:00
Fred Drake 8c071d4388 Massively improved documentation for string formatting operations,
primarily from Evelyn Mitchell (thanks!).

This closes SF patch #103412.
2001-01-26 20:48:35 +00:00
Martin v. Löwis 04a1a542cb Patch #103052: Restore non-cyclic operation of pulldom.PullDOM 2001-01-26 18:53:42 +00:00