Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Serhiy Storchaka
57a01d3a0e
Issue #26200 : Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
...
in places where Py_DECREF was used.
2016-04-10 18:05:40 +03:00
Serhiy Storchaka
48842714b9
Issue #22570 : Renamed Py_SETREF to Py_XSETREF.
2016-04-06 09:45:48 +03:00
Martin Panter
c04fb56e36
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Serhiy Storchaka
191321d11b
Issue #20440 : More use of Py_SETREF.
...
This patch is manually crafted and contains changes that couldn't be handled
automatically.
2015-12-27 15:41:34 +02:00
Serhiy Storchaka
5a57ade58e
Issue #20440 : Massive replacing unsafe attribute setting code with special
...
macro Py_SETREF.
2015-12-24 10:35:59 +02:00
Martin Panter
f0c0318cdc
Issue #25845 : Drop redundant checks leftover from int to long conversion
2015-12-12 06:57:13 +00:00
Martin Panter
0da4ac1f21
Issue #25498 : Merge ctypes crash fix from 3.4 into 3.5
2015-11-13 22:12:12 +00:00
Martin Panter
1bb651540e
Issue #25498 : Fix GC crash due to ctypes objects wrapping a memoryview
...
This was a regression caused by revision 1da9630e9b7f. Based on patch by
Eryksun.
2015-11-13 21:43:39 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Victor Stinner
9c631a0f71
Issue #23319 : Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
...
written by Matthieu Gautier.
2015-07-29 14:33:52 +02:00
Victor Stinner
5ef6fde92c
Merge 3.4 (ctypes)
2015-07-29 14:35:12 +02:00
Benjamin Peterson
43e3d22fee
merge 3.4 ( #23042 )
2015-05-08 21:32:36 -04:00
Benjamin Peterson
0171d7faa0
fix libffi compilation on FreeBSD ( #23042 )
...
Patch from Marc-Andre Lemburg.
2015-05-08 21:31:36 -04:00
Berker Peksag
dfa4e045a3
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:35:51 +03:00
Berker Peksag
4882cacab6
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:30:01 +03:00
Serhiy Storchaka
f8aa133cce
Issue #23338 : Fixed formatting ctypes error messages on Cygwin.
...
Patch by Makoto Kato.
2015-04-04 10:06:58 +03:00
Serhiy Storchaka
2e229e025c
Issue #23338 : Fixed formatting ctypes error messages on Cygwin.
...
Patch by Makoto Kato.
2015-04-04 10:05:48 +03:00
Steve Dower
ef42dae7fa
Issue #23765 : Remove IsBadStringPtr calls in ctypes
...
Also renames a local to avoid warnings about shadowing
2015-03-24 23:28:54 -07:00
Serhiy Storchaka
b48af340b9
Silenced minor GCC warnings.
2015-02-26 15:27:57 +02:00
Serhiy Storchaka
26861b0b29
Issue #23450 : Fixed possible integer overflows.
2015-02-16 20:52:17 +02:00
Serhiy Storchaka
4d0d982985
Issue #23446 : Use PyMem_New instead of PyMem_Malloc to avoid possible integer
...
overflows. Added few missed PyErr_NoMemory().
2015-02-16 13:33:32 +02:00
Serhiy Storchaka
1a1ff29659
Issue #23446 : Use PyMem_New instead of PyMem_Malloc to avoid possible integer
...
overflows. Added few missed PyErr_NoMemory().
2015-02-16 13:28:22 +02:00
Serhiy Storchaka
3dd3e26680
Issue #22896 : Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
...
and PyObject_AsWriteBuffer().
2015-02-03 01:25:42 +02:00
Serhiy Storchaka
4fdb68491e
Issue #22896 : Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
...
and PyObject_AsWriteBuffer().
2015-02-03 01:21:08 +02:00
Benjamin Peterson
610bc6a211
merge 3.4 ( #23221 )
2015-01-13 09:20:31 -05:00
Benjamin Peterson
82f34ada45
fix instances of consecutive articles ( closes #23221 )
...
Patch by Karan Goel.
2015-01-13 09:17:24 -05:00
Steve Dower
2a8ef68028
Issue #22733 : MSVC ffi_prep_args doesn't handle 64-bit arguments properly
2014-12-17 06:31:44 -08:00
Benjamin Peterson
8726f2b89c
merge 3.4
2014-11-06 00:53:18 -05:00
Benjamin Peterson
abd1c97bd2
fix test where sizeof(long) != sizeof(int)
2014-11-06 00:52:58 -05:00
Steve Dower
5c2939cc41
Issue #20160 : broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip
2014-11-05 19:30:30 -08:00
Steve Dower
b7fa201113
Issue #20160 : broken ctypes calling convention on MSVC / 64-bit Windows (large structs) Patch by mattip
2014-11-04 21:21:22 -08:00
R David Murray
9755174464
Merge: #13096 : Fix segfault in CTypes POINTER handling of large values.
2014-10-12 13:56:37 -04:00
R David Murray
817905b239
#13096 : Fix segfault in CTypes POINTER handling of large values.
...
Patch by Meador Inge.
2014-10-12 13:54:48 -04:00
Antoine Pitrou
94262ebc9c
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:02:40 +02:00
Antoine Pitrou
0ddbf4795f
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:00:09 +02:00
Victor Stinner
706768c687
Issue #22156 : Fix some "comparison between signed and unsigned integers"
...
compiler warnings in the Modules/ subdirectory.
2014-08-16 01:03:39 +02:00
doko@ubuntu.com
3b48af018f
- Issue #22176 : Fix build failure on ARM with -Werror=declaration-after-statement
2014-08-10 00:01:04 +02:00
doko@ubuntu.com
6a66f155df
- Issue #22176 : Add src/x86/win32.S for x86 libffi builds.
2014-08-09 23:52:34 +02:00
doko@ubuntu.com
736a913321
- Issue #22176 : Update the ctypes module's libffi to v3.1. This release
...
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
2014-08-09 22:36:35 +02:00
Serhiy Storchaka
4f06d604c4
Issue #22161 : Conformed arguments type checks in ctype to actually supported
...
types. Corrected error messages about bytes arguments.
2014-08-09 09:33:05 +03:00
Benjamin Peterson
5eb6b39210
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch by Matti Picus.
2014-05-17 14:59:12 -07:00
Benjamin Peterson
fca286601b
merge 3.3 ( #20946 )
2014-03-16 11:30:54 -05:00
Benjamin Peterson
fda33559dc
fix ctypes test alignment assumptions ( closes #20946 )
...
Patch by Andreas Schwab.
2014-03-16 10:07:26 +01:00
Serhiy Storchaka
dfe98a102e
Issue #20437 : Fixed 22 potential bugs when deleting objects references.
2014-02-09 13:46:20 +02:00
Serhiy Storchaka
505ff755d7
Issue #20437 : Fixed 21 potential bugs when deleting objects references.
2014-02-09 13:33:53 +02:00
Serhiy Storchaka
fe5fff6305
Issue #19936 : Restored executable bits for several libffi files.
...
These files have shebangs and executable bits in the libffi distribution.
2014-01-23 16:23:50 +02:00
Serhiy Storchaka
744135d7bb
Issue #19936 : Restored executable bits for several libffi files.
...
These files have shebangs and executable bits in the libffi distribution.
2014-01-23 16:22:55 +02:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00