summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #9012: Add _time.c and _time.h to the Visual Studio project fileVictor Stinner2010-06-161-0/+8
| | | | Add these new files, added by r82034, to the pythoncore project.
* Issue #9012: "Separate compilation of time and datetime modules."Alexander Belopolsky2010-06-164-28/+33
| | | | | | | Segregated code shared between time and datetime modules into Modules/_time.c. Added a new header file, Modules/_time.h, which will be used instead of Include/timefuncs.h for declarations shared between time and datetime modules.
* Merged revisions 82026 via svnmerge fromSenthil Kumaran2010-06-161-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines Addressing RDM's review comments on the doc change. ........
* Merged revisions 82018 via svnmerge fromSenthil Kumaran2010-06-161-1/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82018 | senthil.kumaran | 2010-06-16 20:25:31 +0530 (Wed, 16 Jun 2010) | 3 lines Fix Issue8937 - SimpleHTTPServer should contain usage example ........
* Remove versionadded accidentally introduced by r82008.R. David Murray2010-06-161-4/+0
|
* Blocked revisions 81571,81678 via svnmergeR. David Murray2010-06-160-0/+0
| | | | | | | | | | | | | | | | | | | | I'm going to merge 81678 by hand. ........ r81571 | victor.stinner | 2010-05-27 18:29:48 -0400 (Thu, 27 May 2010) | 3 lines Issue #8835: test_support.transient_internet() catchs gaierror(EAI_NONAME) and gaierror(EAI_NODATA) ........ r81678 | r.david.murray | 2010-06-03 16:19:25 -0400 (Thu, 03 Jun 2010) | 7 lines #8889: rewrite transient_internet so we don't use EAI_NODATA on FreeBSD. FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because there's no easy way to conditionally include a context manager in a with statement. As a side benefit, instead of a stack of context managers there's now only one. ........
* Merged revisions 81675 via svnmerge fromR. David Murray2010-06-163-1/+22
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. ........
* Merged revisions 81634 via svnmerge fromR. David Murray2010-06-151-6/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines #7583: clarify discussion of hard tab expansion in doctests. ........
* Fix for buildbot failure in r81999.Ronald Oussoren2010-06-151-0/+2
|
* Issue 5094: minor documentation fixesAlexander Belopolsky2010-06-152-25/+25
|
* Minor changes to the choice of assert methodsAlexander Belopolsky2010-06-151-26/+26
|
* Further refinements to the C file API.Antoine Pitrou2010-06-151-10/+14
|
* Fixes to the PyFile_FromFd() doc, by Renato Cunha.Antoine Pitrou2010-06-151-4/+5
|
* Fix for issue #8577: without this patch test_distutilsRonald Oussoren2010-06-152-4/+5
| | | | | | will fail when builddir != srcdir (that is, when you run configure in a directory that is not the top of the source tree).
* Merged revisions 81992 via svnmerge fromMark Dickinson2010-06-151-30/+33
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines Issue #8469: Further clarifications and improvements to struct module documentation. Thanks Mads Kiilerich. ........
* Switch the __import__ state check from using __builtins__ to builtins to beBrett Cannon2010-06-141-8/+3
| | | | | | nicer to other VMs. Thanks to Philip Jenvey for the pointer.
* Undo r81988 code change leaving added test.Alexander Belopolsky2010-06-141-3/+8
|
* Issue 6280: Tests and simpler implementation for calendar.timegmAlexander Belopolsky2010-06-142-10/+13
|
* Issue #5094: The ``datetime`` module now has a simple concrete classAlexander Belopolsky2010-06-145-26/+483
| | | | implementing ``datetime.tzinfo`` interface.
* getargs.c: remove last reference to "t#" formatVictor Stinner2010-06-131-1/+0
| | | | "t#" format was removed from convertitem() (convertsimple) but not skipitem().
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-135-5/+317
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81971 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81971 | mark.dickinson | 2010-06-13 13:01:34 +0100 (Sun, 13 Jun 2010) | 1 line Ezio Melotti was missing from Misc/ACKS. ........
* Merged revisions 81969 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81969 | mark.dickinson | 2010-06-13 12:07:00 +0100 (Sun, 13 Jun 2010) | 1 line Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews. ........
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-135-6/+67
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines Issue #8986: erfc was raising OverflowError on Linux for arguments in the (approximate) range (-27.3, 30.0), as a result of an escaped errno value. ........
* Remove unnecessary brackets from docstring optional arguments.Mark Dickinson2010-06-131-2/+2
|
* Issue #8973: Expanded Struct.__doc__.Alexander Belopolsky2010-06-121-1/+5
|
* Blocked revisions 81957 via svnmergeMark Dickinson2010-06-120-0/+0
| | | | | | | | | | | ........ r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines Issue #8469: Add standard sizes to table in struct documentation; additional clarifications and documentation tweaks. Backport of revisions 81955-81956 from py3k. ........
* Issue #8469: Reorder struct module sections for clarity; other minor tweaks.Mark Dickinson2010-06-121-75/+79
|
* Issue #8469: add standard sizes to struct docs table.Mark Dickinson2010-06-121-40/+40
|
* Merged revisions 81953 via svnmerge fromBenjamin Peterson2010-06-120-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81953 | benjamin.peterson | 2010-06-12 12:47:06 -0500 (Sat, 12 Jun 2010) | 1 line fix warning with ucs4 ........
* Added acknowlegement for Issue #3129Alexander Belopolsky2010-06-122-2/+3
|
* Fix mild type confusion in decimal module docstring.Mark Dickinson2010-06-121-1/+2
|
* More struct module docs and docstring tweaks.Mark Dickinson2010-06-122-25/+25
|
* Issue #8973: Improve struct module docstrings.Mark Dickinson2010-06-121-22/+37
|
* Remove accidental (yet-to-be-reviewed) docstring changes included in r81947.Mark Dickinson2010-06-121-28/+21
|
* Issue #8973: Add __all__ to struct module, so that help(struct) correctlyMark Dickinson2010-06-123-21/+42
| | | | displays information for the struct.Struct class.
* Blocked revisions 81945 via svnmergeNick Coghlan2010-06-120-0/+0
| | | | | | | | ........ r81945 | nick.coghlan | 2010-06-12 23:45:37 +1000 (Sat, 12 Jun 2010) | 1 line Backport a fix from Py3k for a potentially misleading example ........
* Merged revisions 80578 via svnmerge fromNick Coghlan2010-06-125-14/+108
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80578 | nick.coghlan | 2010-04-29 00:29:06 +1000 (Thu, 29 Apr 2010) | 1 line Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) ........
* Remove unused variable.Mark Dickinson2010-06-121-1/+1
|
* Issue #8981: Remove _struct.__version__.Mark Dickinson2010-06-121-6/+0
|
* Silence 'unused variable' gcc warning. Patch by Éric Araujo.Mark Dickinson2010-06-121-1/+2
|
* Calling __import__ as a method technically works, but really should be wrappedBrett Cannon2010-06-121-1/+1
| | | | | in a staticmethod. This is important for when __import__ is set to a function defined in Python instead of C.
* When dealing with __import__ for detecting a global state change made by aBrett Cannon2010-06-121-2/+8
| | | | | | test, make sure to check if __builtins__ is a dict or not. Discovered when running importlib.test.regrtest.
* Issue #8969: On Windows, use mbcs codec in strict mode to encode and decodeVictor Stinner2010-06-115-22/+33
| | | | filenames and enable os.fsencode().
* Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.Victor Stinner2010-06-113-5/+8
| | | | Note: file system encoding cannot be None anymore (since r81190, issue #8610).
* Fix some bugs in c-api/arg.rst documentationVictor Stinner2010-06-111-16/+15
| | | | | | | | | | | | | | | | * replace "the default encoding" by "'utf-8' encoding" * fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#" and not "s" / "s*" / "s#" * "u#": remove "Non-Unicode objects are handled by interpreting their read-buffer pointer ...", it's no more true * "es", "es#": remove "... and objects convertible to Unicode into a character buffer", it's no more true * Py_BuildValue(), "K" and "L" formats: specify the name of the C type on Windows (_int64 / unsigned _int64) as done for PyArg_Parse*() long long types --CETTE ligne, et les suivantes ci-dessous, seront ignorées-- M Doc/c-api/arg.rst
* Issue #8965: Write more tests for sys.getfilesystemencoding()Victor Stinner2010-06-111-11/+24
|
* readline: use PyUnicode_FSConverter() to parse filenamesVictor Stinner2010-06-111-10/+32
|
* Issue #8965: Add a regression test to test_sys with LANG=CVictor Stinner2010-06-111-2/+13
|
* locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filenameVictor Stinner2010-06-111-5/+17
|