Subject | Hash | Author | Date (UTC) |
---|---|---|---|
bpo-29932: Fix small error message typos in arraymodule.c (GH-888) | a90e64b78d74b80a7cbcca2237280c724b99431b | Sylvain | 2017-03-29 18:09:22 |
bpo-29927: Remove duplicate BufferError init and unnecessary semicolons (GH-866) | c431854a0963d4ec2875efab2d2425a738895280 | Louie Lu | 2017-03-29 05:28:15 |
bpo-29936: fix typo __GNU*C*_MINOR__ (#878) | 83371f4f7f70406ea5d08c5fa8dbdbbcc0355ee1 | Niklas Fiekas | 2017-03-29 04:58:01 |
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-693) | 794623bdb232eafd8925f76470209afcdcbcdcd2 | Xiang Zhang | 2017-03-29 03:58:54 |
bpo-19791: Use functions from test support to check the symlink support. (GH-822) | ec1f5df46ed37aa3e839d20298c4b361a9a74bc4 | Vajrasky Kok | 2017-03-28 19:32:35 |
bpo-10379: add 'monetary' to format_string, deprecate format | 1cf93a76c2cf307f2e1e514a8944864f746337ea | Garvit Khatri | 2017-03-28 15:43:38 |
NEWS: remove duplicated "Build" section (GH-872) | c8fa45bac2942accdb24dde318f87c9eb21dbfde | INADA Naoki | 2017-03-28 15:24:30 |
bpo-16011 clarify that 'in' always returns a boolean value | 0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5 | Amit Kumar | 2017-03-28 14:13:01 |
Improve the documentation for template strings (#856) | 9f74deba784fc8781d13ed564f69c02ed7c331bb | Barry Warsaw | 2017-03-28 14:02:07 |
bpo-29643: Fix check for --enable-optimizations (GH-129) | 8cea5929f52801b0ce5928b46ef836e99a24321a | Alex Wang | 2017-03-28 12:50:51 |
Drop the standard gcc test build on Travis (GH-853) | ad2f9e2c8a0b44b3e6aec9d28ba59e13239236f7 | Brett Cannon | 2017-03-27 23:39:54 |
Fix ref cycles in TestCase.assertRaises() (#193) | bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5 | Victor Stinner | 2017-03-27 22:56:28 |
bpo-29677: DOC: clarify documentation for `round` (#357) | 6003db7db5fec545c01923c198a5fdfca5a91538 | Gerrit Holl | 2017-03-27 22:15:20 |
bpo-29924: Remove useless argument (#854) | d67a103702cf57de90a62c90f7ae969c23d96218 | Sylvain | 2017-03-27 21:36:08 |
bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847) | d702c50049207d825c1d5925fbc7306514fa9a0a | Jim Fasarakis-Hilliard | 2017-03-27 19:35:52 |
bpo-29919: Remove unused imports found by pyflakes (#137) | d6debb24e06152a827769b0cac24c47deccdeac1 | Victor Stinner | 2017-03-27 14:05:26 |
bpo-20552: Use specific asserts in bytes tests (#790) | 604e74c6beb2585c81083fa85f0e5a4d46965cbc | Serhiy Storchaka | 2017-03-27 10:59:07 |
Minor test cleanup (GH-837) | b8a7daf077dab18e9e3701c5380b542ae0aa9a94 | Zachary Ware | 2017-03-27 05:08:31 |
Treat Sphinx warnings as errors (GH-832) | 334e9ec938ea9876baadef15edb135d6d2aff30c | Zachary Ware | 2017-03-27 02:31:31 |
import sys before we use it on line 9 (#828) | 0579e81f30d00da562f021760d5b6a9c35186520 | Jelle Zijlstra | 2017-03-27 02:17:39 |
File | Lines added | Lines deleted |
---|---|---|
Modules/arraymodule.c | 3 | 3 |
File Modules/arraymodule.c changed (mode: 100644) (index b30f7594c2..e067b30b99) | |||
... | ... | array__array_reconstructor_impl(PyObject *module, PyTypeObject *arraytype, | |
1920 | 1920 | ||
1921 | 1921 | if (!PyType_Check(arraytype)) { | if (!PyType_Check(arraytype)) { |
1922 | 1922 | PyErr_Format(PyExc_TypeError, | PyErr_Format(PyExc_TypeError, |
1923 | "first argument must a type object, not %.200s", | ||
1923 | "first argument must be a type object, not %.200s", | ||
1924 | 1924 | Py_TYPE(arraytype)->tp_name); | Py_TYPE(arraytype)->tp_name); |
1925 | 1925 | return NULL; | return NULL; |
1926 | 1926 | } | } |
... | ... | array_array___reduce_ex__(arrayobject *self, PyObject *value) | |
2143 | 2143 | ||
2144 | 2144 | if (!PyLong_Check(value)) { | if (!PyLong_Check(value)) { |
2145 | 2145 | PyErr_SetString(PyExc_TypeError, | PyErr_SetString(PyExc_TypeError, |
2146 | "__reduce_ex__ argument should an integer"); | ||
2146 | "__reduce_ex__ argument should be an integer"); | ||
2147 | 2147 | return NULL; | return NULL; |
2148 | 2148 | } | } |
2149 | 2149 | protocol = PyLong_AsLong(value); | protocol = PyLong_AsLong(value); |
... | ... | array_ass_subscr(arrayobject* self, PyObject* item, PyObject* value) | |
2368 | 2368 | } | } |
2369 | 2369 | else { | else { |
2370 | 2370 | PyErr_SetString(PyExc_TypeError, | PyErr_SetString(PyExc_TypeError, |
2371 | "array indices must be integer"); | ||
2371 | "array indices must be integers"); | ||
2372 | 2372 | return -1; | return -1; |
2373 | 2373 | } | } |
2374 | 2374 | if (value == NULL) { | if (value == NULL) { |