Victor Stinner
9d3b93ba30
Use the new Unicode API
* Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
* Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len)
* Replace Py_UNICODE by wchar_t
* posix_putenv() uses PyUnicode_FromFormat() to create the string, instead
of PyUnicode_FromUnicode() + _snwprintf()
14 years ago
Victor Stinner
be49244bdc
winreg module avoids the deprecated Unicode API
14 years ago
Victor Stinner
9e30aa52fd
Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH()
And PyUnicode_GetSize() => PyUnicode_GetLength()
14 years ago
Victor Stinner
dcbbd9ea21
Fix a typo in PC/_subprocess.c
14 years ago
Victor Stinner
3335447646
Check for PyUnicode_AS_UNICODE() failure
14 years ago
Nadeem Vawda
bcb86c5246
Issue #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
14 years ago
Martin v. Löwis
bd928fef42
Rename _Py_identifier to _Py_IDENTIFIER.
14 years ago
Martin v. Löwis
afe55bba33
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
14 years ago
Antoine Pitrou
586bfe4500
Issue #13063 : the Windows error ERROR_NO_DATA (numbered 232 and described
as "The pipe is being closed") is now mapped to POSIX errno EPIPE
(previously EINVAL).
14 years ago
Antoine Pitrou
eeb7eea1f9
Issue #12911 : Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
14 years ago
Victor Stinner
639418812f
Use the new Py_ARRAY_LENGTH macro
14 years ago
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
14 years ago
Antoine Pitrou
a762285831
Issue #12802 : the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
15 years ago
Antoine Pitrou
370092071b
Issue #11863 : Remove support for legacy systems deprecated in Python 3.2
(following PEP 11). These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads.
15 years ago
Antoine Pitrou
87cf220972
Issue #11743 : Rewrite multiprocessing connection classes in pure Python.
15 years ago
Victor Stinner
b90db4caf0
Issue #11918 : OS/2 and VMS are no more supported because of the lack of
maintainer.
15 years ago
Victor Stinner
024e37adcc
Issue #11393 : Add the new faulthandler module
15 years ago
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
15 years ago
Ezio Melotti
42da663e6f
#11515 : fix several typos. Patch by Piotr Kasprzyk.
15 years ago
Victor Stinner
4d6c1c476a
Issue #3080 : _PyWin_FindRegisteredModule() returns the path as Unicode
* Document the function
* Use RegQueryValueW() instead of RegQueryValueA()
* Use _Py_fopen() instead of fopen()
* Allocate registry key on the heap, not on the stack, and handle memory
allocation failure
* Handle Python exception in find_module()
15 years ago
Reid Kleckner
31aa7dd141
Add a 'timeout' argument to subprocess.Popen.
If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception. When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.
15 years ago
Martin v. Löwis
21967d0b4d
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
15 years ago
Georg Brandl
49857f8a93
Add updated .hgeol file and fix newlines in the 3.2 branch.
15 years ago
Georg Brandl
5537d298ea
Add updated .hgeol file and fix newlines in the 3.1 branch.
15 years ago
Antoine Pitrou
71219dad3e
More eol-style's
15 years ago
Antoine Pitrou
7f1e174c7a
Make svn:eol-style's more consistent
15 years ago
Victor Stinner
9b99b448f7
Issue #3080 : Mark PyWin_FindRegisteredModule() as private
This function was not declared in Python public API (in any .h file) and not
documented. Mark it as private to prepare a change of its API.
15 years ago
Georg Brandl
fa2c61a222
More automated version replacement.
15 years ago
Martin v. Löwis
738236dbd6
Issue #11067 : Add PyType_GetFlags, to support PyUnicode_Check
in the limited ABI
15 years ago
Martin v. Löwis
d77520a426
Issue #11118 : Fix bogus export of None in python3.dll.
15 years ago
Martin v. Löwis
c83bc3c1fb
Remove buffer API from stable ABI for now, see #10181 .
15 years ago
Georg Brandl
ed13853e5d
Happy New Year! (CET edition)
15 years ago
Hirokazu Yamamoto
ba466cd208
Merged revisions 85071-85072,85894,87132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85071 | hirokazu.yamamoto | 2010-09-29 03:29:57 +0900 (水, 29 9 2010) | 1 line
Now perl path with spaces can be used.
........
r85072 | hirokazu.yamamoto | 2010-09-29 03:36:04 +0900 (水, 29 9 2010) | 1 line
Updated PC/VC6 openssl build script. (for openssl-1.0.0a)
........
r85894 | hirokazu.yamamoto | 2010-10-29 02:57:25 +0900 (金, 29 10 2010) | 1 line
Updated readme.txt about OpenSSL.
........
r87132 | hirokazu.yamamoto | 2010-12-08 23:47:07 +0900 (水, 08 12 2010) | 3 lines
Mention NASM which is needed to build openssl-1.0.0a original source.
(PC/VC6/readme.txt)
........
15 years ago
Hirokazu Yamamoto
3405de03a6
Mention NASM which is needed to build openssl-1.0.0a original source.
(PC/VC6/readme.txt)
15 years ago
Martin v. Löwis
d53ee5dd12
Automate build for python3.dll.
Package missing files.
15 years ago
Martin v. Löwis
0d012f284b
Expose CompileString, not CompileStringFlags under the
limited API.
15 years ago
Martin v. Löwis
4d0d471a80
Merge branches/pep-0384.
15 years ago
Hirokazu Yamamoto
4ae5f138da
Issue #6317 : Now winsound.PlaySound only accepts unicode with MvL's approval.
15 years ago
Hirokazu Yamamoto
339293a372
Merged revisions 86283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86283 | hirokazu.yamamoto | 2010-11-07 18:23:15 +0900 | 1 line
Issue #6317 : Now winsound.PlaySound can accept non ascii filename.
........
15 years ago
Hirokazu Yamamoto
c661015141
Merged revisions 86281,86285 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86281 | hirokazu.yamamoto | 2010-11-07 11:45:19 +0900 | 1 line
Formatted code. (Tabify, etc)
........
r86285 | hirokazu.yamamoto | 2010-11-07 20:07:44 +0900 | 1 line
Reformatted code a bit.
........
15 years ago
Hirokazu Yamamoto
cdc8cdd215
Reformatted code a bit.
15 years ago
Hirokazu Yamamoto
c08c9bccfc
Issue #6317 : Now winsound.PlaySound can accept non ascii filename.
15 years ago
Hirokazu Yamamoto
62fbdd9b7b
Formatted code. (Tabify, etc)
15 years ago
Hirokazu Yamamoto
5ee89cf13e
Updated PC/VS8.0. (mainly to follow r86137: use temporary dir in make_buildinfo.c)
15 years ago
Hirokazu Yamamoto
de5919dca7
Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
15 years ago
Hirokazu Yamamoto
59b7c70d58
Recorded merge of revisions 86117 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86117 | hirokazu.yamamoto | 2010-11-02 23:06:03 +0900 | 2 lines
Defined Py_BUILD_CORE_MODULE also on VC7.1.
# I don't have this compiler, so I couldn't test it.
........
15 years ago
Hirokazu Yamamoto
54b6903a08
Recorded merge of revisions 86113 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86113 | hirokazu.yamamoto | 2010-11-02 22:21:31 +0900 | 1 line
Defined Py_BUILD_CORE_MODULE also on VC6.
........
15 years ago
Hirokazu Yamamoto
f74ed2ea4c
Defined Py_BUILD_CORE_MODULE also on VC7.1.
# I don't have this compiler, so I couldn't test it.
15 years ago
Hirokazu Yamamoto
4285f9446a
Py_BUILD_CORE_MODULE was not needed in python.dsp and pythonw.dsp.
15 years ago
Hirokazu Yamamoto
a2c9770bae
Defined Py_BUILD_CORE_MODULE also on VC6.
15 years ago