Alexander Belopolsky
75f94c210a
Issue #9005 : Prevent utctimetuple() from producing year 0 or year 10,000.
2010-06-21 15:21:14 +00:00
Jean-Paul Calderone
6ed7ac48ec
Revert r82089. Commit was intended for a branch.
2010-06-19 19:58:37 +00:00
Jean-Paul Calderone
867c435460
merge forward from the python 2.x branch
2010-06-19 19:54:48 +00:00
Victor Stinner
2aa3af4a16
Issue #8939 : Improve arg.rst
...
* Add :ctype: to Py_BEGIN_ALLOW_THREADS and int
* "s" and "s#" formats of Py_BuildValue(): specify that the Python object type
is str in the description
2010-06-18 23:59:45 +00:00
Alexander Belopolsky
49d7a57f33
Added a new line at the end of the file.
2010-06-18 16:57:49 +00:00
Alexander Belopolsky
ca94f55758
Issue #6641 : The datetime.strptime method now supports the %z directive.
2010-06-17 18:30:34 +00:00
Mark Dickinson
f4112e2653
Add note about changes to the round function between 2.x and 3.x.
2010-06-17 18:24:52 +00:00
Victor Stinner
554f3f0081
Issue #850997 : mbcs encoding (Windows only) handles errors argument: strict
...
mode raises unicode errors. The encoder only supports "strict" and "replace"
error handlers, the decoder only supports "strict" and "ignore" error handlers.
2010-06-16 23:33:54 +00:00
Senthil Kumaran
294f27141f
Merged revisions 82026 via svnmerge from
...
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.
........
2010-06-16 17:44:57 +00:00
Senthil Kumaran
97db43b6cc
Merged revisions 82018 via svnmerge from
...
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
........
2010-06-16 16:41:11 +00:00
R. David Murray
17c371ca30
Remove versionadded accidentally introduced by r82008.
2010-06-16 12:56:31 +00:00
R. David Murray
9691e59d77
Merged revisions 81634 via svnmerge from
...
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.
........
2010-06-15 23:46:40 +00:00
Alexander Belopolsky
b39a0c242d
Issue 5094: minor documentation fixes
2010-06-15 19:24:52 +00:00
Antoine Pitrou
046028899d
Further refinements to the C file API.
2010-06-15 17:30:16 +00:00
Antoine Pitrou
5d8a6c85ec
Fixes to the PyFile_FromFd() doc, by Renato Cunha.
2010-06-15 17:00:21 +00:00
Mark Dickinson
cb532f13e3
Merged revisions 81992 via svnmerge from
...
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.
........
2010-06-15 08:42:37 +00:00
Alexander Belopolsky
4e749a1113
Issue #5094 : The `datetime` module now has a simple concrete class
...
implementing ``datetime.tzinfo`` interface.
2010-06-14 14:15:50 +00:00
Victor Stinner
06e49dd029
Issue #8592 : PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"
...
formats if the string contains a null byte/character. Write unit tests for
string formats.
2010-06-13 18:21:50 +00:00
Mark Dickinson
cfd56f2dc6
Issue #8469 : Reorder struct module sections for clarity; other minor tweaks.
2010-06-12 18:37:54 +00:00
Mark Dickinson
7a70b2c450
Issue #8469 : add standard sizes to struct docs table.
2010-06-12 18:20:47 +00:00
Mark Dickinson
fdb99f1563
More struct module docs and docstring tweaks.
2010-06-12 16:30:53 +00:00
Nick Coghlan
5e76e94fd4
Merged revisions 80578 via svnmerge from
...
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)
........
2010-06-12 13:42:46 +00:00
Victor Stinner
313a120ab6
Issue #8969 : On Windows, use mbcs codec in strict mode to encode and decode
...
filenames and enable os.fsencode().
2010-06-11 23:56:51 +00:00
Victor Stinner
0f35e2c0f4
Issue #8784 : Set tarfile default encoding to 'utf-8' on Windows.
...
Note: file system encoding cannot be None anymore (since r81190, issue #8610 ).
2010-06-11 23:46:47 +00:00
Victor Stinner
7909b0085a
Fix some bugs in c-api/arg.rst documentation
...
* 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
2010-06-11 23:30:12 +00:00
Mark Dickinson
08ade6faa0
Issue #8188 : Comparisons between Decimal objects and other numeric
...
objects (Fraction, float, complex, int) now all function as expected.
2010-06-11 10:44:52 +00:00
Alexander Belopolsky
da62f2fe28
Merged revisions 81864 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81864 | alexander.belopolsky | 2010-06-09 13:08:11 -0400 (Wed, 09 Jun 2010) | 1 line
Fixed markup of tm_isdst attribute.
........
2010-06-09 17:11:01 +00:00
Kristján Valur Jónsson
17173cfe7b
http://bugs.python.org/issue8832
...
Issue minidom.unlink with a context manager
2010-06-09 08:13:42 +00:00
Victor Stinner
3dcb5acdb0
Issue #8838 , #8339 : Remove codecs.charbuffer_encode() and "t#" parsing format
...
Remove last references to the "char buffer" of the buffer protocol from
Python3.
2010-06-08 22:54:19 +00:00
Brian Curtin
1fbd36b51d
Fix #8946 . Extra PyObject* parameter documented which doesn't exist.
2010-06-08 22:27:07 +00:00
Alexander Belopolsky
649124856a
Merged revisions 81489 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81489 | georg.brandl | 2010-05-23 17:29:29 -0400 (Sun, 23 May 2010) | 1 line
#1436346 : make it more obvious that timetuple[7] is yday.
........
2010-06-08 18:59:20 +00:00
Victor Stinner
69e25fa5b8
Issue #8925 : fix types of Py_Parse*() and Py_BuildValue() functions
...
* Add links to Python types
* Replace "string" by bytes or str
* Replace "long" by "int"
* Specify the default encoding
* Fix reST syntax ("..note ::")
* etc.
2010-06-07 21:20:41 +00:00
Victor Stinner
7eeb5b5e50
Issue #8848 : U / U# formats of Py_BuildValue() are just alias to s / s#
2010-06-07 19:57:46 +00:00
Tarek Ziadé
7047eb7334
Merged revisions 81788 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line
Fixed #8909 : now the doc details the size of the bitmap used in distutils' bdist_wininst
........
2010-06-06 20:18:42 +00:00
Benjamin Peterson
0d31d58c15
bltn-file-objects don't exist in python3
2010-06-06 02:44:41 +00:00
Benjamin Peterson
cc1f597b90
reST indentation nit
2010-06-06 02:41:24 +00:00
Benjamin Peterson
5c5eb3624d
fix typo
2010-06-06 02:40:38 +00:00
Benjamin Peterson
3789b97906
Merged revisions 81774-81775 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81774 | benjamin.peterson | 2010-06-05 19:50:58 -0500 (Sat, 05 Jun 2010) | 1 line
remove extra space
........
r81775 | benjamin.peterson | 2010-06-05 19:54:29 -0500 (Sat, 05 Jun 2010) | 1 line
fix sphinx warning with an extra space
........
2010-06-06 02:32:09 +00:00
Michael Foord
98b3e7652b
Merged revisions 81767 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81767 | michael.foord | 2010-06-05 22:57:03 +0100 (Sat, 05 Jun 2010) | 1 line
Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors).
........
2010-06-05 21:59:55 +00:00
Alexander Belopolsky
69f3fd000d
Merged revisions 81756 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81756 | alexander.belopolsky | 2010-06-05 10:54:26 -0400 (Sat, 05 Jun 2010) | 1 line
Issue #8899 : time.struct_time now has class and atribute docstrings.
........
2010-06-05 15:04:51 +00:00
Benjamin Peterson
775ae4a6f0
remove description of LOAD_LOCALS #8874
2010-06-02 18:10:09 +00:00
Antoine Pitrou
4b87620d5d
Merged revisions 81652 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81652 | antoine.pitrou | 2010-06-02 19:08:47 +0200 (mer., 02 juin 2010) | 4 lines
Issue #8873 : add a documentation note about possible performance issues with the
default of unbuffered IO in subprocess.Popen.
........
2010-06-02 17:10:49 +00:00
Senthil Kumaran
c92c97cc04
Merged revisions 81645 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81645 | senthil.kumaran | 2010-06-02 07:49:15 +0530 (Wed, 02 Jun 2010) | 3 lines
Fix issue8788 - description of doseq parameter in urllib.urlencode
........
2010-06-02 02:29:00 +00:00
R. David Murray
d35251dc19
#8845 : expose sqlite3 inTransaction as RO in_transaction Connection attribute.
...
Patch by R. David Murray, unit tests by Shashwat Anand.
2010-06-01 01:32:12 +00:00
R. David Murray
bcb8d3a0a5
Merged revisions 81586 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81586 | r.david.murray | 2010-05-28 14:08:11 -0400 (Fri, 28 May 2010) | 2 lines
Make reference to Generic Attribute Management a hyperlink.
........
2010-06-01 01:11:18 +00:00
Alexander Belopolsky
1790bc43bf
Issue #1289118 : datetime.timedelta objects can now be multiplied by float
...
and divided by float and int objects.
2010-05-31 17:33:47 +00:00
Antoine Pitrou
9103597ee7
Merged revisions 81621 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81621 | antoine.pitrou | 2010-05-31 19:01:01 +0200 (lun., 31 mai 2010) | 4 lines
Improve documentation for getaddrinfo() (part of #8857 )
........
2010-05-31 17:04:40 +00:00
Stefan Krah
a119393dc4
Merged revisions 81598 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line
Fix typo
........
2010-05-29 12:59:18 +00:00
Antoine Pitrou
2016dc9ab2
Merged revisions 81594 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81594 | antoine.pitrou | 2010-05-29 14:06:13 +0200 (sam., 29 mai 2010) | 3 lines
Issue #8840 : Make documentation for truncate() clearer
........
2010-05-29 12:08:25 +00:00
Ezio Melotti
f82340da9c
Merged revisions 81318 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81318 | ezio.melotti | 2010-05-19 03:32:52 +0300 (Wed, 19 May 2010) | 1 line
Fix typo in argparse doc.
........
2010-05-27 22:38:16 +00:00