Commit Graph

49947 Commits

Author SHA1 Message Date
Ezio Melotti 4cfdb077fd #12531: Fix spaces. 2011-07-30 21:31:22 +03:00
Benjamin Peterson 110b781129 note Ellipsis syntax 2011-07-30 09:59:12 -05:00
Benjamin Peterson 6726af73de add space 2011-07-30 09:58:59 -05:00
Benjamin Peterson f444f94ed2 document NotImplemented 2011-07-30 09:57:24 -05:00
Eli Bendersky dedb502f90 Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen 2011-07-30 11:12:45 +03:00
Éric Araujo 43162e22c5 Document that atexit execution order is undefined (#9788) 2011-07-29 18:04:24 +02:00
Éric Araujo f0d44bccb7 Add a link target for argparse.Namespace (#8982) 2011-07-29 17:59:17 +02:00
Éric Araujo 9a528306b9 Make “pydoc somebuiltin.somemethod” work (#8887) 2011-07-29 17:34:35 +02:00
Éric Araujo 271208e225 Backout duplicate changeset ed34ca4e639c 2011-07-29 16:28:22 +02:00
Éric Araujo b274586dd7 Add missing reST target to one heading in the tutorial 2011-06-11 10:34:19 +02:00
Éric Araujo fea8ac4772 Branch merge 2011-07-29 14:23:13 +02:00
Eli Bendersky 2cdf383cee Issue #12531: add index entries to documentation of * and ** in function calls 2011-07-29 14:45:08 +03:00
Raymond Hettinger 55e5e27b74 Issue 12514: Use try/finally to assure that timeit restores GC when done. 2011-07-28 23:56:38 -07:00
Éric Araujo bd21b01079 Turn raw URI into real link 2011-07-28 22:50:18 +02:00
Éric Araujo d01aebe3d6 Update documentation for shutil.move (#12043) and fix a few typos.
Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the
docs mailing list and on the bug tracker.
2011-07-29 12:10:53 +02:00
Éric Araujo 3037bb7340 Stop ignoring Mercurial merge conflits files (#12255).
R. David Murray and I think that it’s more useful to have these files
show up in the output of “hg status”, to let the user know that some
merged file have to be checked before commit.  If you want to ignore
these files in your clones, it’s possible to do so from another ignore
file; see the bug report for directions.
2011-07-29 12:07:31 +02:00
Éric Araujo 2636d77c47 Make VCSes ignore the compiled shared library file (#12255) 2011-07-29 12:07:04 +02:00
Éric Araujo 0fb681ea50 Fix missing or shebangs and executable bits for scripts (#10318) 2011-07-29 12:06:13 +02:00
Senthil Kumaran 4af1c6a4fc Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a high number so that code relying on them does not break. 2011-07-28 22:30:27 +08:00
Jason R. Coombs fee7745ebb Fixes #10639: reindent.py should not convert newlines
Backport of changeset 070dc6e359fb, reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-27 14:05:37 -04:00
Charles-François Natali 0cf7e25c28 - Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime. 2011-07-27 19:36:40 +02:00
Ross Lagerwall d8e3901478 Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr is
given as a low fd, it gets overwritten.
2011-07-27 18:54:53 +02:00
Senthil Kumaran 5e3a19d806 merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 2011-07-27 23:36:51 +08:00
Ezio Melotti 8171cf52b6 #12642: fix args names in open() doc. 2011-07-27 08:48:52 +03:00
Senthil Kumaran 7d7702b581 merge from 3.2 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header. 2011-07-27 09:37:17 +08:00
Ned Deily d8b1723965 Issue #12590: IDLE editor window now always displays the first line
when opening a long file.  With Tk 8.5, the first line was hidden.
2011-07-26 18:16:08 -07:00
Ned Deily d88131afd9 Issue #8746: Use tempfile module to get tempdir and randomize the
link file name.
2011-07-26 13:52:14 -07:00
Éric Araujo 299172bdba Make indentation comply with our style guide and the rest of the file 2011-07-26 16:54:24 +02:00
Éric Araujo 2e1c294d28 Fix “anyways” (following R. David Murray in 5c7520e02d5a) 2011-07-29 11:57:50 +02:00
Éric Araujo ad84ea11c2 Add links from builtins module docs to built-in functions and constants docs 2011-07-29 11:53:57 +02:00
Éric Araujo 8d2a6fd9a9 Fix typo in 97a75fccd7c8 2011-07-29 11:43:47 +02:00
Ross Lagerwall 528c4adc0b Issue #12102: Document that buffered files must be flushed before being used
with mmap. Patch by Steffen Daode Nurpmeso.
2011-07-25 07:23:58 +02:00
Charles-François Natali 3de8c73d90 Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling. 2011-07-24 22:33:35 +02:00
Antoine Pitrou 4cfae027b3 Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales. 2011-07-24 02:51:01 +02:00
Nadeem Vawda a620facc1f Fix typo in dbf1e1a27427 that was causing some buildbots to fail. 2011-07-23 17:04:42 +02:00
Nadeem Vawda 0d2889f56c Fix typo in NEWS entry for dbf1e1a27427. 2011-07-23 16:13:01 +02:00
Nadeem Vawda b42c53e442 Issue #10883: Fix socket leaks in urllib.request.
* ftpwrapper now uses reference counting to ensure that the underlying socket
  is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs

Initial patch by Victor Stinner.
2011-07-23 15:51:16 +02:00
Senthil Kumaran 578617ad45 merge from 3.2 - Fix closes issue12581 - Increase the urllib.parse test coverage (cases applicable to 2.7). Patch by Petter Haggholm. 2011-07-23 18:41:43 +08:00
Georg Brandl f364ce242d Fix function name: open -> urlopen. 2011-07-23 08:06:33 +02:00
Benjamin Peterson 9553ea8a52 merge heads 2011-07-22 17:21:56 -05:00
Benjamin Peterson 5eed3062f5 allow None identifiers 2011-07-22 17:20:58 -05:00
Charles-François Natali 97781b0b64 Issue #12592: Make Python build on OpenBSD 5 (and future major releases). 2011-07-22 23:43:42 +02:00
Benjamin Peterson 6c18ff0808 news note 2011-07-22 10:41:44 -05:00
Benjamin Peterson 77820242dd verify the types of AST strings and identifiers (closes #12609 and #12610) 2011-07-22 10:39:50 -05:00
Benjamin Peterson 59c69512be hardcode the old svn __version__ 2011-07-22 10:39:12 -05:00
Eli Bendersky eaf312a0a4 Issue #12434: make StringIO.write error message consistent with Python 2.7 nomenclature 2011-07-22 14:39:55 +03:00
Charles-François Natali 4929eb911b Issue #12372: POSIX semaphores are broken on AIX: don't use them. 2011-07-21 19:41:04 +02:00
Ezio Melotti b952413499 Fix markup. 2011-07-21 11:38:13 +03:00
Ezio Melotti 56b2665904 #12601: fix typo. 2011-07-21 11:18:18 +03:00
Senthil Kumaran cd57ef1a47 merge from 3.2 - Fix closes issue12524 - update http.client POST example with a working example. - Patch contributed by Bharadwaj 2011-07-20 22:02:27 +08:00