Martin Panter
3d36f0f712
Spelling and grammar fixes in code comments and documentation
2016-07-28 02:37:04 +00:00
Benjamin Peterson
6c4fa70da6
make too many nested blocks be a SyntaxError instead of a SystemError ( closes #27514 )
...
Patch by Ammar Askar.
2016-07-14 22:00:03 -07:00
Martin Panter
b362f75f6e
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
to fix the grammar.
2015-11-02 03:37:02 +00:00
Benjamin Peterson
64c82753de
reduce marshal stack size in debug mode on windows ( closes #27019 )
2016-07-06 23:37:02 -07:00
Serhiy Storchaka
3c9ce74c21
Issue #23908 : os functions, open() and the io.FileIO constructor now reject
...
unicode paths with embedded null character on Windows instead of silently
truncate them.
2016-07-01 23:34:44 +03:00
Serhiy Storchaka
34cb3f026b
Issue #27301 : Fixed incorrect return code for error in compile.c.
2016-06-15 20:06:29 +03:00
Martin Panter
7740c406bc
Fix typo in comment
2016-06-10 08:07:11 +00:00
Martin Panter
b5f487a090
Fix typo in code comment
2016-06-04 04:57:19 +00:00
Martin Panter
b1d867f149
Issue #27076 : Doc, comment and test function name spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Serhiy Storchaka
12cf60c7fa
Issue #26168 : Fixed possible refleaks in failing Py_BuildValue() with the "N"
...
format unit.
2016-05-20 22:31:24 +03:00
Zachary Ware
fd58349556
Issue #26874 : Simplify the divmod docstring.
...
Now it actually matches the prose docs.
2016-04-28 14:38:48 -05:00
Zachary Ware
64f8c7ec4f
Issue #26874 : Make divmod docstring and full doc match
2016-04-28 14:23:48 -05:00
Serhiy Storchaka
9a118f1dc3
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 09:37:36 +03:00
Martin Panter
0bb165ecc1
Issue #4806 : Avoid masking TypeError when *-unpacking a generator
...
Based on patch by Hagen Fürstenau.
2016-01-31 06:30:56 +00:00
Martin Panter
6a8163a928
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
...
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
763a61ca95
Issue #26200 : Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
...
in places where Py_DECREF was used.
2016-04-10 18:05:12 +03:00
Serhiy Storchaka
bc62af1bbe
Issue #22570 : Renamed Py_SETREF to Py_XSETREF.
2016-04-06 09:51:18 +03:00
Serhiy Storchaka
79f657c6e7
Issue #26476 : Fixed compilation error when use PyErr_BadInternalCall() in C++.
...
Patch by Jeroen Demeyer.
2016-03-03 18:16:27 +02:00
Martin Panter
ef85a1ac15
Issue #22836 : Keep exception reports sensible despite errors
2016-02-28 00:18:43 +00:00
Serhiy Storchaka
1c496178d2
Issue #25698 : Importing module if the stack is too deep no longer replaces
...
imported module with the empty one.
2016-02-10 10:28:06 +02:00
Serhiy Storchaka
36ae29c759
Issue #26198 : Fixed error messages for some argument parsing errors.
...
Fixed the documented about buffer overflow error for "es#" and "et#" format
units.
2016-02-08 01:05:48 +02:00
Victor Stinner
7791165fb3
code_richcompare() now uses the constants types
...
Issue #25843 : When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.
Add a new _PyCode_ConstantKey() private function.
2016-01-22 12:33:12 +01:00
Senthil Kumaran
0f3a71dab1
Issue24733 - Remove unreachable code in traceback.c
2016-01-04 22:40:39 -08:00
Benjamin Peterson
1f40ece2d7
2016 will be another year of writing copyrighted code
2016-01-01 10:23:45 -06:00
Serhiy Storchaka
2e6c829681
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:58 +02:00