Victor Stinner
|
bc8b81bc4e
|
Move _PyUnicode_UTF8() and _PyUnicode_UTF8_LENGTH() outside unicodeobject.h
Move these macros to unicodeobject.c
|
2011-09-29 19:31:34 +02:00 |
|
Victor Stinner
|
a0702ab1fe
|
Add a note in PyUnicode_CopyCharacters() doc: it doesn't write null character
Cleanup also the code (avoid the goto).
|
2011-09-29 14:14:38 +02:00 |
|
Victor Stinner
|
f0ddadcf2e
|
Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPR
To make it clearer that Py_BUILD_ASSERT_EXPR(cond) cannot be used as
assert(cond).
|
2011-09-29 12:43:18 +02:00 |
|
Victor Stinner
|
573696a9ca
|
pymacro.h: Inline _Py_ARRAY_LENGTH_CHECK() and add http://ccodearchive.net/
|
2011-09-29 12:12:39 +02:00 |
|
Victor Stinner
|
dfb866d127
|
Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
Move other various macros to pymcacro.h
Thanks Rusty Russell for having written these amazing C macros!
|
2011-09-29 01:12:24 +02:00 |
|
Victor Stinner
|
2bdc7f591b
|
Move code related to compile from Python.h to compile.h
|
2011-09-29 01:04:08 +02:00 |
|
Victor Stinner
|
f5ca1a21a5
|
PyUnicode_CopyCharacters() fails if 'to' has more than 1 reference
|
2011-09-28 23:54:59 +02:00 |
|
Ezio Melotti
|
2aa2b3b4d5
|
Clean up a few tabs that went in with PEP393.
|
2011-09-29 00:58:57 +03:00 |
|
Victor Stinner
|
17222160e7
|
Mark _PyUnicode_FindMaxCharAndNumSurrogatePairs() as private
|
2011-09-28 22:15:37 +02:00 |
|
Victor Stinner
|
157f83fcfc
|
Strip trailing spaces in unicodeobject.[ch]
|
2011-09-28 21:41:31 +02:00 |
|
Victor Stinner
|
be78eaf2de
|
PyUnicode_CopyCharacters() checks for buffer and character overflow
It now returns the number of written characters on success.
|
2011-09-28 21:37:03 +02:00 |
|
Victor Stinner
|
fb5f5f2420
|
Mark PyUnicode_CONVERT_BYTES as private
|
2011-09-28 21:39:49 +02:00 |
|
Georg Brandl
|
4cb0de246c
|
Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY").
|
2011-09-28 21:49:49 +02:00 |
|
Victor Stinner
|
5ce1b0dbc0
|
Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE
|
2011-09-28 20:29:27 +02:00 |
|
Martin v. Löwis
|
d63a3b8beb
|
Implement PEP 393.
|
2011-09-28 07:41:54 +02:00 |
|
Mark Dickinson
|
0390151100
|
Fix typo in comment: _PyHash_Double -> _Py_HashDouble.
|
2011-09-24 16:24:56 +01:00 |
|
Victor Stinner
|
f955eb210f
|
Merge 3.2: Fix PyUnicode_AsWideCharString() doc
- Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null
character
- Fix spelling of the null character
|
2011-09-06 02:01:29 +02:00 |
|
Victor Stinner
|
d88d9836c5
|
Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character
Fix also spelling of the null character.
|
2011-09-06 02:00:05 +02:00 |
|
Georg Brandl
|
06ee020961
|
Post-release version bump.
|
2011-09-04 08:36:22 +02:00 |
|
Georg Brandl
|
3484a8771c
|
Merge with release clone.
|
2011-09-04 08:35:54 +02:00 |
|
Benjamin Peterson
|
e35dc5110f
|
merge 3.2
|
2011-09-01 16:33:56 -04:00 |
|
Benjamin Peterson
|
eff61f6927
|
make sure to initialize the method wrapper type
|
2011-09-01 16:32:31 -04:00 |
|
Charles-François Natali
|
ac7e9e058d
|
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
|
2011-08-28 18:10:27 +02:00 |
|
Charles-François Natali
|
aa26b27503
|
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
|
2011-08-28 17:51:43 +02:00 |
|
Georg Brandl
|
b0993bc78d
|
Bump to 3.2.2.
|
2011-09-03 11:17:55 +02:00 |
|
Ezio Melotti
|
8c9375bb59
|
#10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE, Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE, Py_UNICODE_JOIN_SURROGATES.
|
2011-08-22 20:03:25 +03:00 |
|
Georg Brandl
|
666ed0b84d
|
Post-release steps.
|
2011-08-13 20:19:09 +02:00 |
|
Georg Brandl
|
b3f0ce4d1e
|
Bump version to 3.2.2rc1.
|
2011-08-13 11:34:58 +02:00 |
|
Brian Curtin
|
7d2f9e1342
|
Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.
|
2011-08-10 20:05:21 -05:00 |
|
Benjamin Peterson
|
832bfe2ebd
|
add a AST validator (closes #12575)
|
2011-08-09 16:15:04 -05:00 |
|
Benjamin Peterson
|
450bb594c8
|
forgotten in f578ca44193d
|
2011-08-09 16:14:45 -05:00 |
|
Benjamin Peterson
|
e249841903
|
add a asdl bytes type, so Bytes.s be properly typechecked
|
2011-08-09 16:08:39 -05:00 |
|
Sandro Tosi
|
1e8d8fd01d
|
#10741: merge with 3.2
|
2011-08-08 00:17:43 +02:00 |
|
Sandro Tosi
|
61baee0ee7
|
#10741: add documentation for PyGILState_GetThisThreadState()
|
2011-08-08 00:16:54 +02:00 |
|
Benjamin Peterson
|
76f7f4d979
|
excise the remains of STOP_CODE, which hasn't done anything useful for years
|
2011-07-17 22:49:50 -05:00 |
|
Georg Brandl
|
bb9c7d0b91
|
Post-release steps for 3.2.1.
|
2011-07-09 10:56:06 +02:00 |
|
Georg Brandl
|
cd0dc16fdc
|
Bump version to 3.2.1.
|
2011-07-09 08:56:21 +02:00 |
|
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.
|
2011-07-08 23:47:50 +02:00 |
|
Benjamin Peterson
|
ae10c0653e
|
add patchlevel to version string
|
2011-07-08 13:39:35 -05:00 |
|
Victor Stinner
|
99b9538636
|
Issue #9642: Uniformize the tests on the availability of the mbcs codec
Add a new HAVE_MBCS define.
|
2011-07-04 14:23:54 +02:00 |
|
Georg Brandl
|
7d10a2d88a
|
Post-release steps.
|
2011-07-04 08:20:48 +02:00 |
|
Georg Brandl
|
d4fa7ed8db
|
Bump to 3.2.1rc2.
|
2011-07-03 09:41:27 +02:00 |
|
Benjamin Peterson
|
9003760991
|
map cells to arg slots at code creation time (closes #12399)
This removes nested loops in PyEval_EvalCodeEx.
|
2011-06-25 22:54:45 -05:00 |
|
Benjamin Peterson
|
43af12b0b4
|
unify TryExcept and TryFinally (closes #12199)
|
2011-05-29 11:43:10 -05:00 |
|
Benjamin Peterson
|
bf1bbc1452
|
reflect with statements with multiple items in the AST (closes #12106)
|
2011-05-27 13:58:08 -05:00 |
|
Benjamin Peterson
|
04778a8150
|
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
|
2011-05-25 09:29:00 -05:00 |
|
Georg Brandl
|
d079367044
|
Set up branch to be rc2 next.
|
2011-05-21 17:36:20 +02:00 |
|
Georg Brandl
|
5673e27e72
|
Bump to 3.2.1rc1.
|
2011-05-15 17:52:42 +02:00 |
|
Georg Brandl
|
cd79cdc5e6
|
Bump to 3.2.1b1.
|
2011-05-08 09:03:36 +02:00 |
|
Antoine Pitrou
|
fc20b0c65c
|
Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
|
2011-05-04 20:04:29 +02:00 |
|