Commit Graph

9010 Commits

Author SHA1 Message Date
Raymond Hettinger e8b4b60555 Add recipe to docs. 2008-03-11 00:19:07 +00:00
Georg Brandl 5bb647dfa8 Update for newest Sphinx. 2008-03-09 18:18:30 +00:00
Georg Brandl c557db5268 #2249: document assertTrue and assertFalse. 2008-03-09 15:11:39 +00:00
Facundo Batista c54aec1fda Issue 1106316. post_mortem()'s parameter, traceback, is now
optional: it defaults to the traceback of the exception that is currently
being handled.
2008-03-08 16:50:27 +00:00
Georg Brandl 372d55e3e6 #1533486: fix types in refcount intro. 2008-03-08 10:05:24 +00:00
Georg Brandl 47a5aec836 #2253: fix continue vs. finally docs. 2008-03-08 09:54:06 +00:00
Andrew M. Kuchling 31c6de4f79 Grammar fix 2008-03-07 21:09:23 +00:00
Nick Coghlan 7af53be66f Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files) 2008-03-07 14:13:28 +00:00
Jeffrey Yasskin e75f59a578 Progress on issue #1193577 by adding a polling .shutdown() method to
SocketServers. The core of the patch was written by Pedro Werneck, but any bugs
are mine. I've also rearranged the code for timeouts in order to avoid
interfering with the shutdown poll.
2008-03-07 06:22:15 +00:00
Raymond Hettinger 38fb9bee6c Tweak recipes and tests 2008-03-07 01:33:20 +00:00
Georg Brandl a7bd27f0a8 #2225: return nonzero status code from py_compile if not all files could be compiled. 2008-03-06 07:41:16 +00:00
Georg Brandl 6c45dc12b3 Add isinstance/issubclass to tutorial. 2008-03-06 07:31:34 +00:00
Georg Brandl 26bab5f92a Little clarification of assignments. 2008-03-06 07:22:09 +00:00
Georg Brandl 70992c3c83 Expand on re.split behavior with captured expressions. 2008-03-06 07:19:15 +00:00
Georg Brandl 1df03405fc #1725737: ignore other VC directories other than CVS and SVN's too. 2008-03-06 06:47:18 +00:00
Andrew M. Kuchling 1d136bb91e Add two items 2008-03-06 01:36:27 +00:00
Raymond Hettinger 040f10e9b3 Add examples. 2008-03-06 01:15:52 +00:00
Georg Brandl 9c06574024 #2239: PYTHONPATH delimiter is os.pathsep. 2008-03-05 19:31:44 +00:00
Thomas Heller f3c0559b5e Issue 1872: Changed the struct module typecode from 't' to '?', for
compatibility with PEP3118.
2008-03-05 15:34:29 +00:00
Georg Brandl 225163d6a6 Fix some rst. 2008-03-05 07:10:35 +00:00
Andrew M. Kuchling 3710a13506 Add more items; add fragmentary notes 2008-03-05 00:44:41 +00:00
Georg Brandl fd6cabfe21 #2230: document that PyArg_* leaves addresses alone on error. 2008-03-04 07:33:30 +00:00
Georg Brandl 27504dae1b Fix some patch attributions. 2008-03-04 07:25:54 +00:00
Raymond Hettinger d553d856e7 Beef-up docs and tests for itertools. Fix-up end-case for product(). 2008-03-04 04:17:08 +00:00
Andrew M. Kuchling 378586a844 Thesis night results: add various items 2008-03-04 01:50:32 +00:00
Andrew M. Kuchling 3fe1843cee Add versionadded tags 2008-03-04 01:49:37 +00:00
Andrew M. Kuchling 684868ac90 Fix sentence fragment 2008-03-04 01:47:38 +00:00
Andrew M. Kuchling ece10b4004 Grammar fix; markup fix 2008-03-04 01:30:10 +00:00
Georg Brandl 8e67ef52db Expand a bit on genexp scopes. 2008-03-03 21:31:50 +00:00
Georg Brandl 3e9d66fee1 There are now sixteen isfoo functions. 2008-03-03 20:37:55 +00:00
Christian Heimes 608c1d8e87 Since abc._Abstract was replaces by a new type flags the regression test suite fails. I've added a new function inspect.isabstract(). Is the mmethod fine or should I check if object is a instance of type or subclass of object, too? 2008-03-03 18:28:04 +00:00
Georg Brandl e6dab2a077 Fix factual error. 2008-03-02 14:15:04 +00:00
Georg Brandl 72780a4b0c Make clear that the constants are strings. 2008-03-02 13:41:39 +00:00
Raymond Hettinger 2b7a5c468b Tighten example code. 2008-03-02 11:17:51 +00:00
Raymond Hettinger f287f17779 Finish-up docs for combinations() and permutations() in itertools. 2008-03-02 10:59:31 +00:00
Georg Brandl 47dff40a40 New default basename for HTML help files. 2008-03-02 06:45:40 +00:00
Georg Brandl f017728219 Make patchlevel print out the release if called as a script. 2008-03-02 06:44:08 +00:00
Georg Brandl 7f7e30ae2e Update year. 2008-03-02 06:32:32 +00:00
Georg Brandl db9ff5f565 It's 2.6 now. 2008-03-02 06:28:16 +00:00
Barry Warsaw 189b6d85c9 More copyright year and version number bumps 2008-03-01 03:15:20 +00:00
Georg Brandl 3fd0c442dc #2208: allow for non-standard HHC location. 2008-02-29 18:21:29 +00:00
Georg Brandl 3c94088d98 Until we got downloadable docs, stop confusing viewers by talking about a nonexisting table. 2008-02-29 18:15:36 +00:00
Raymond Hettinger 330958e647 Document impending updates to itertools. 2008-02-28 19:41:24 +00:00
Raymond Hettinger 18750ab2a0 Add repeat keyword argument to itertools.product(). 2008-02-28 09:23:48 +00:00
Raymond Hettinger c105289ec4 Simply the sample code for combinations(). 2008-02-27 01:44:34 +00:00
Raymond Hettinger 93e804da9c Add itertools.combinations(). 2008-02-26 23:40:50 +00:00
Georg Brandl 3ef2063ec8 #2194: fix some typos. 2008-02-26 19:13:45 +00:00
Neal Norwitz ca37661a69 Add a timing flag to Trace so you can see where slowness occurs
like waiting for socket timeouts in test_smtplib :-).
2008-02-26 08:21:28 +00:00
Georg Brandl 1b3e41c67e Banish tab. 2008-02-26 06:40:10 +00:00
Raymond Hettinger 3fa41d5a1c Docs for itertools.combinations(). Implementation in forthcoming checkin. 2008-02-26 02:46:54 +00:00