Commit Graph

36395 Commits

Author SHA1 Message Date
Raymond Hettinger 8b188e6a49 SF 1676321: empty() returned wrong result 2007-03-08 19:24:27 +00:00
Georg Brandl 9caadf80a1 Add a NEWS entry for rev. 54207,8. 2007-03-08 18:37:31 +00:00
Georg Brandl 6c932ad43d Fix #1676656: \em is different from \emph... 2007-03-08 17:49:06 +00:00
Martin v. Löwis 1843b68917 Add missing ) in parenthical remark. 2007-03-08 13:42:43 +00:00
Guido van Rossum f1200f8255 Windows doesn't support negative timestamps. Skip the tests involving them
if os.name == "nt".
2007-03-07 15:16:29 +00:00
Georg Brandl d9e50261e8 Add some sanity checks to unittest.TestSuite's addTest(s) methods.
Fixes #878275.
2007-03-07 11:54:49 +00:00
Georg Brandl 9decc0dc8b Patch #1675471: convert test_pty to unittest. 2007-03-07 11:37:42 +00:00
Martin v. Löwis 05c075d629 Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', ''). 2007-03-07 11:04:33 +00:00
Georg Brandl f08c073ded Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position. 2007-03-07 09:34:45 +00:00
Georg Brandl d0a962506b Patch #787789: allow to pass custom TestRunner instances to unittest's
main() function.
2007-03-07 09:21:06 +00:00
Georg Brandl 15c5ce936f Patches #1550273, #1550272: fix a few bugs in unittest and add a
comprehensive test suite for the module.
2007-03-07 09:09:40 +00:00
Georg Brandl 71ff646743 Patch #1001604: glob.glob() now returns unicode filenames if it was
given a unicode argument and os.listdir() returns unicode filenames.
2007-03-07 08:31:51 +00:00
Georg Brandl 172e7257f6 Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler. 2007-03-07 07:39:06 +00:00
George Yoshida cadbbfc85b add versionadded info 2007-03-07 04:21:18 +00:00
Georg Brandl aa2321b0f8 Patch #703779: unset __file__ in __main__ after running a file. This
makes the filenames the warning module prints much more sensible when
a PYTHONSTARTUP file is used.
2007-03-07 00:40:28 +00:00
Georg Brandl 49aafc9f2c Variant of patch #697613: don't exit the interpreter on a SystemExit
exception if the -i command line option or PYTHONINSPECT environment
variable is given, but break into the interactive interpreter just like
on other exceptions or normal program exit.
 (backport)
2007-03-07 00:34:46 +00:00
Walter Dörwald 8537c303c7 Document change to curses. 2007-03-06 21:15:24 +00:00
Walter Dörwald d391f0855c Patch for bug #1633621: if curses.resizeterm() or
curses.resize_term() is called, update _curses.LINES,
_curses.COLS, curses.LINES and curses.COLS.
2007-03-06 20:38:57 +00:00
Georg Brandl 40c626159d Patch #1654417: make operator.{get,set,del}slice use the full range
of Py_ssize_t.
2007-03-06 18:59:11 +00:00
Georg Brandl 667eb7c853 Patch #1673121: update README wrt. OSX default shell. 2007-03-06 18:47:31 +00:00
Georg Brandl 00cd818dea Patch #1638879: don't accept strings with embedded NUL bytes in long(). 2007-03-06 18:41:12 +00:00
Georg Brandl 1579265aac Patch #1602128: clarify that richcmp methods can return NotImplemented
and should return True or False otherwise.
2007-03-06 18:29:58 +00:00
Georg Brandl cff1ae3a2f Small nit, found by Neal. 2007-03-06 18:21:32 +00:00
Georg Brandl e95cf1c8a2 Fix cmp vs. key argument for list.sort. 2007-03-06 17:49:14 +00:00
Guido van Rossum 2054ee9b6f Patch #1646728: datetime.fromtimestamp fails with negative
fractional times.  With unittest.

Somebody please backport to 2.5.
2007-03-06 15:50:01 +00:00
Skip Montanaro d1287323ca patch 1673619 - identify extension modules which cannot be built 2007-03-06 15:41:38 +00:00
Martin v. Löwis ab8a6bba25 Patch #912410: Replace HTML entity references for attribute values
in HTMLParser.
2007-03-06 14:43:00 +00:00
Georg Brandl ff432e6f4a Patch #1663234: you can now run doctest on test files and modules
using "python -m doctest [-v] filename ...".
2007-03-06 13:37:45 +00:00
Georg Brandl 72363031b9 A test case for the defaultdict KeyError bug. 2007-03-06 13:35:00 +00:00
Georg Brandl b51a57eb32 Fix another reincarnation of bug #1576657 in defaultdict. 2007-03-06 13:32:52 +00:00
Georg Brandl 098cd69ff9 Bug #1674503: close the file opened by execfile() in an error condition. 2007-03-06 12:17:50 +00:00
Georg Brandl d53d951c24 Patch #1672481: fix bug in idlelib.MultiCall. 2007-03-06 11:52:24 +00:00
Georg Brandl 3071a1aec9 A test case for the fix in #1674228. 2007-03-06 11:51:14 +00:00
Martin v. Löwis 3eb7648986 Patch #1121142: Implement ZipFile.open. 2007-03-06 10:41:24 +00:00
Georg Brandl d28b9fc686 Patch #1671450: add a section about subclassing builtin types to the
"extending and embedding" tutorial.
2007-03-06 10:02:47 +00:00
Georg Brandl 39fc1da6dc Nit: a struct field is set to GenericAlloc, not GenericAlloc(). 2007-03-06 09:33:01 +00:00
Georg Brandl 0fca97a5fb Patch #1674228: when assigning a slice (old-style), check for the
sq_ass_slice instead of the sq_slice slot.
2007-03-05 22:28:08 +00:00
Facundo Batista ca90ca81a4 Minor corrections to docs, and an explanation comentary 2007-03-05 16:31:54 +00:00
Neal Norwitz 391e27d146 Added Pete for 3101 too 2007-03-05 07:52:01 +00:00
Skip Montanaro f694b1b741 note MacPorts/BerkDB change in setup.py 2007-03-04 20:54:12 +00:00
Skip Montanaro 00c5a0138b Teach setup.py how to find Berkeley DB on Macs using MacPorts. 2007-03-04 20:52:28 +00:00
Georg Brandl 8905bb10e0 Fix a bug in test_dict and test_userdict, found at the PyPy sprint. 2007-03-04 17:18:54 +00:00
Georg Brandl b5e3f0dfc6 Bugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and _Resize. 2007-03-02 20:30:14 +00:00
Raymond Hettinger 20e1199fbe Fix embarrassing typo and fix constantification of None 2007-03-02 19:20:46 +00:00
Georg Brandl 117a05ed50 Bug #1628895: some better tries to find HTML documentation in pydoc. 2007-03-02 14:37:12 +00:00
Andrew M. Kuchling 7659a87e49 Add NamedTuple 2007-03-01 14:36:12 +00:00
Neal Norwitz 052c371417 Add Pat and Eric for work on PEP 3101 in the sandbox 2007-03-01 07:04:41 +00:00
Raymond Hettinger c37e5e04eb Add collections.NamedTuple 2007-03-01 06:16:43 +00:00
Raymond Hettinger eb9798892d Prepare collections module for pure python code entries. 2007-02-28 18:37:52 +00:00
Raymond Hettinger 3035d2397f Docstring nit. 2007-02-28 18:27:41 +00:00