Commit Graph

45183 Commits

Author SHA1 Message Date
Benjamin Peterson cf76d1f0c7 add space 2010-07-02 19:41:39 +00:00
Mark Dickinson 2547ce7fd8 Clarify sys.float_info documentation. 2010-07-02 18:06:52 +00:00
Nick Coghlan 601ec58f3e Issue 8202 actually caused an unintended behavioural change and was reverted in 2.7 - remove reference from What's New 2010-07-02 16:01:53 +00:00
Nick Coghlan 8c16c5ce10 Fix a couple of minor nits in What's New before the release goes out 2010-07-02 15:50:14 +00:00
Georg Brandl 0ada39cd8b Grammar and markup fixes. 2010-07-02 07:33:50 +00:00
Benjamin Peterson 8a08ce25e2 trunc does use the special method, though 2010-07-01 23:35:37 +00:00
Benjamin Peterson 52a70c4a12 fix fixer name 2010-07-01 17:45:52 +00:00
Benjamin Peterson 7b670624ac remove docs about delegating to special methods; it does no such thing 2010-07-01 15:07:15 +00:00
Benjamin Peterson c262a69f54 an AttributeError is perfectly acceptable here 2010-06-30 18:41:08 +00:00
Giampaolo Rodolà e00e2f0082 fix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception 2010-06-30 17:38:28 +00:00
Benjamin Peterson 10947a6416 mark test depending on ref counting 2010-06-30 17:11:08 +00:00
Mark Dickinson 070f0abc19 Issue #9125: Update parser module for "except ... as ..." syntax. 2010-06-30 16:27:57 +00:00
Mark Dickinson 2037913507 Update Demo/parser directory; backport unparse fixes from py3k. 2010-06-30 14:19:56 +00:00
Mark Dickinson 4aa5f6f1f2 Issue #1789: clarify that the 'size' column in struct docs refers to standard size. 2010-06-29 20:09:12 +00:00
Benjamin Peterson b32248757d group cStringIO docs under its factory function 2010-06-29 15:18:02 +00:00
Vinay Sajip 86aa90539b Added information about pickle security and SocketHandler. 2010-06-29 15:13:14 +00:00
Senthil Kumaran 1c919a64ed Documentation Fix: urllib.urlopen.info uses mimetools.Message, not httplib.HTTPMessage. 2010-06-29 13:28:20 +00:00
Mark Dickinson 858624944c Spelling. 2010-06-29 07:37:25 +00:00
Mark Dickinson 0187be0825 unparse.py: fix mispaced parentheses in chained comparisons 2010-06-28 19:54:19 +00:00
Mark Dickinson ce3742c693 Set svn:eol-style on test_unparse.py. 2010-06-28 19:38:19 +00:00
Mark Dickinson b83a1ff76b Fix typo in test_unparse.py. 2010-06-28 19:34:15 +00:00
Mark Dickinson 623b979553 Fix some shallow bugs in Demo/parser/unparse.py, and add tests:
- insert commas between entries in del statement
  - left and right shifts were represented as >> and << (respectively); reverse
  - unindent properly after for: else:  or while: else:
  - add parens around the result of an unary operation
  - add parens around negative numbers, to avoid turning (-1)**2 into -1**2.
2010-06-28 19:31:41 +00:00
Senthil Kumaran 8c996ef458 Documentation correction. urllib2.urlopen.info returns a mimetools.Message instance not HTTPMessage object. 2010-06-28 17:07:40 +00:00
Benjamin Peterson d6a8e6d234 fix skipping condition 2010-06-28 15:41:06 +00:00
Benjamin Peterson 8eeb1dcbbc testcapi tests are definitely cpython only 2010-06-28 15:36:40 +00:00
Senthil Kumaran 5871a8d744 Fix Issue8653 - Docstring for urlunsplit function. 2010-06-28 13:56:46 +00:00
Senthil Kumaran 2af7e6d2d9 Fix issue3428 - Document HTTPMessage class. 2010-06-28 10:54:17 +00:00
Benjamin Peterson 4c5bc4d7f8 remove unused last argument to property_copy 2010-06-28 02:58:25 +00:00
Benjamin Peterson a70e91c284 mark tracking tests as implementation details 2010-06-27 22:40:26 +00:00
Ronald Oussoren b96fbb8d00 Fix for Issue8883: without this patch test_urllib will fail
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.
2010-06-27 13:59:39 +00:00
Ronald Oussoren 76002c8f1d The uuid library on OSX 10.5 seems to contain the same bug as the one
on OSX 10.6, therefore don't use it there either.

This fixes issue8621.
2010-06-27 12:43:47 +00:00
Ronald Oussoren cd17213e8e Two small fixes for the support for SDKs on MacOSX:
1) The code that checks if an path should be located in the SDK
   explicitly excludes /usr/local. This fixes issue9046

2) The SDK variant for filtering "db_dirs_to_check" in setup.py
   was not doing anything because of a missing assignment.
2010-06-27 12:36:16 +00:00
Georg Brandl ad72bcc864 Untabify. 2010-06-27 11:24:15 +00:00
Georg Brandl ec83e3d43c Two typos. 2010-06-27 10:55:38 +00:00
Georg Brandl 3d0a602c35 Fix URL. 2010-06-27 10:51:44 +00:00
Georg Brandl 817d91829f Use designated syntax for optional grammar element. 2010-06-27 10:49:23 +00:00
Georg Brandl 565569b8dc Confusing punctuation. 2010-06-27 10:47:47 +00:00
Alexander Belopolsky 21887dfc1a Issue 9024: Added :cdata: tag to PyDateTimeAPI 2010-06-26 18:49:10 +00:00
Ezio Melotti 2f06b78d61 Fix extra space. 2010-06-26 18:44:42 +00:00
R. David Murray 62a14db9f4 #9085: email versions have gotten out of sync, 2.7 is actually 4.0.3.
In 2.5 the email version was bumped to 4.0.2 just before release but
after the maintenance branch was set up.  The bump was not backported
to trunk, and 2.6 went out the door with a version number of 4.0.1.
I bumped this to 4.0.2 because of a behavior change, but that makes
it look the same as 2.5.  So bump it again to 4.0.3.
2010-06-26 18:39:50 +00:00
R. David Murray 04a3439ba6 Fix indentation in recently added test. 2010-06-26 03:27:32 +00:00
Alexander Belopolsky caf5db7924 Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
it is typically used in module initialization function. Thanks Tim
Golden for the patch.
2010-06-26 02:05:19 +00:00
R. David Murray 32e0681156 #4640: add a test to optparse that proves issue is invalid. 2010-06-26 00:06:44 +00:00
Benjamin Peterson cf3e20c8e8 mark implementation detail as such 2010-06-25 22:58:47 +00:00
Benjamin Peterson 0badae4748 this must be a typo 2010-06-25 21:19:04 +00:00
Benjamin Peterson 4b26acbf03 mark implementation detail as such 2010-06-25 20:34:01 +00:00
Mark Dickinson 32a16cac70 Fix indentation of Python code example in C comment. 2010-06-25 20:19:48 +00:00
Antoine Pitrou 0dddf600d4 Issue #9075: In the ssl module, remove the setting of a `debug` flag
on an OpenSSL structure.
2010-06-25 00:03:21 +00:00
Stefan Krah 3db4161011 Issue #9020: The Py_IS* macros from pyctype.h should generally only be
used with signed/unsigned char arguments. For integer arguments, EOF
has to be handled separately.
2010-06-24 09:33:05 +00:00
Benjamin Peterson 947ce58a90 prevent assignment to set literals 2010-06-24 00:12:40 +00:00