Serhiy Storchaka
|
e5362eaa75
|
bpo-33308: Fix a crash in the parser module when convert an ST object. (#6519)
Converting with line_info=False and col_info=True crashed before.
|
2018-04-19 01:55:37 +03:00 |
|
stratakis
|
e8b1965639
|
bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793)
|
2017-11-02 20:32:54 +10:00 |
|
Serhiy Storchaka
|
a79f4c2195
|
bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (#1131)
|
2017-04-19 21:09:21 +03:00 |
|
Serhiy Storchaka
|
228b12edcc
|
Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever
possible. Patch is writen with Coccinelle.
|
2017-01-23 09:47:21 +02:00 |
|
Serhiy Storchaka
|
06515833fe
|
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
|
2016-11-20 09:13:07 +02:00 |
|
Benjamin Peterson
|
53595c4879
|
replace custom validation logic in the parse module with a simple DFA validator (closes #26526)
Patch from A. Skrobov.
|
2016-06-02 11:30:18 -07:00 |
|
Serhiy Storchaka
|
ef1585eb9a
|
Issue #25923: Added more const qualifiers to signatures of static and private functions.
|
2015-12-25 20:01:53 +02:00 |
|
Serhiy Storchaka
|
2d06e84455
|
Issue #25923: Added the const qualifier to static constant arrays.
|
2015-12-25 19:53:18 +02:00 |
|
Serhiy Storchaka
|
5c4064e8bd
|
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
|
2015-12-19 20:05:25 +02:00 |
|
Yury Selivanov
|
14acf5f41d
|
Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'.
|
2015-08-05 17:54:10 -04:00 |
|
Benjamin Peterson
|
de12b79cd6
|
allow test node after ** in calls (closes #24176)
|
2015-05-16 09:44:45 -04:00 |
|
Yury Selivanov
|
7544508f02
|
PEP 0492 -- Coroutines with async and await syntax. Issue #24017.
|
2015-05-11 22:57:16 -04:00 |
|
Benjamin Peterson
|
025e9ebd0a
|
PEP 448: additional unpacking generalizations (closes #2292)
Patch by Neil Girdhar.
|
2015-05-05 20:16:41 -04:00 |
|
Serhiy Storchaka
|
009b811d67
|
Removed unintentional trailing spaces in non-external and non-generated C files.
|
2015-03-18 21:53:15 +02:00 |
|
Victor Stinner
|
f4c68db162
|
(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
|
2014-01-02 11:50:10 +01:00 |
|
Victor Stinner
|
5f8d485982
|
parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
|
2014-01-02 11:49:27 +01:00 |
|
Victor Stinner
|
14e461d5b9
|
Close #11619: The parser and the import machinery do not encode Unicode
filenames anymore on Windows.
|
2013-08-26 22:28:21 +02:00 |
|
Victor Stinner
|
6684bdf73d
|
Issue #18408: Fix typo in build_node_tree() of the parser module
Type "o" format of Py_BuildValue() is invalid: it must be "O".
|
2013-07-17 00:13:52 +02:00 |
|
Victor Stinner
|
df4572cc71
|
Issue #18408: parser module: fix error handling in node2tuple()
Handle PyLong_FromLong() and PyUnicode_FromString() failures
|
2013-07-12 01:35:10 +02:00 |
|
Victor Stinner
|
3bd6abd129
|
Issue #18408: Fix parser.sequence2st() and parser.tuple2st(): raise MemoryError
on memory allocation failure
Instead of ignoring the memory allocation failure and create invalid objects.
|
2013-07-12 01:33:59 +02:00 |
|
Serhiy Storchaka
|
9101e23ff6
|
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
|
2013-01-19 12:41:45 +02:00 |
|
Serhiy Storchaka
|
7898043868
|
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
|
2013-01-15 01:12:17 +02:00 |
|
Andrew Svetlov
|
5b89840d9c
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:26:36 +02:00 |
|
Andrew Svetlov
|
737fb89dd1
|
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
|
2012-12-18 21:14:22 +02:00 |
|
Antoine Pitrou
|
721738fbee
|
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.
|
2012-08-15 23:20:39 +02:00 |
|