Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6f52027168196a68fc7c37ba1e7d65a16d1e2859
/
Python
202b606
Add sanity assertions in some import lock code (issue #15599).
by Antoine Pitrou
· 12 years ago
2660e42
(Merge 3.2) Issue #16416: On Mac OS X, operating system data are now always
by Victor Stinner
· 12 years ago
27b1ca2
Issue #16416: On Mac OS X, operating system data are now always
by Victor Stinner
· 12 years ago
17485bf
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
by Christian Heimes
· 12 years ago
56379c0
Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h
by Christian Heimes
· 12 years ago
ded35ae
Issue #16546: make ast.YieldFrom argument mandatory.
by Mark Dickinson
· 12 years ago
8a6d1fe
#16306: merge with 3.2.
by Ezio Melotti
· 12 years ago
a0dd22e
#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
by Ezio Melotti
· 12 years ago
3c76aa6
Remove unused variabile "plain" in builtin_exec.
by Ezio Melotti
· 12 years ago
82c1c78
- Issue #16514: Fix regression causing a traceback when sys.path[0] is None
by Barry Warsaw
· 12 years ago
f7c709d
#16306: merge with 3.2.
by Ezio Melotti
· 12 years ago
7c66319
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
by Ezio Melotti
· 12 years ago
2a0e226
recompile importlib.h
by Benjamin Peterson
· 12 years ago
6df5cae
Issue #15835: Define PATH_MAX on HP-UX.
by Stefan Krah
· 12 years ago
33363f4
Issue #15001: fix segfault on "del sys.module['__main__']"
by Hynek Schlawack
· 12 years ago
5c6b3e2
Issue #15001: fix segfault on "del sys.module['__main__']"
by Hynek Schlawack
· 12 years ago
6c5f521
#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
by Ezio Melotti
· 12 years ago
aab9c2b
Issue #5765: Apply a hard recursion limit in the compiler
by Nick Coghlan
· 12 years ago
a0b5c46
#16336: merge with 3.2.
by Ezio Melotti
· 12 years ago
540da76
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka.
by Ezio Melotti
· 12 years ago
90c0eb2
Issue #16218: Support non ascii characters in python launcher.
by Andrew Svetlov
· 12 years ago
e132f52
check return value of _PyUnicode_AsString
by Benjamin Peterson
· 12 years ago
5f9459f
merge with 3.2
by Philip Jenvey
· 12 years ago
45c4149
bounds check for bad data (thanks amaury)
by Philip Jenvey
· 12 years ago
557c76c
Fix compilation on Windows
by Nick Coghlan
· 12 years ago
eb8d627
Issue #6074: Apply an appropriate fix for importlib based imports
by Nick Coghlan
· 12 years ago
34937ce
Issue #6074: Forward port Windows read-only source file fix from 2.7
by Nick Coghlan
· 12 years ago
d783c8e
Issue #15833: don't raise an exception if importlib can't write byte-compiled
by Trent Nelson
· 12 years ago
a6ce4fd
Closes issue #15111: Calling __import__ with a module specified in
by Brett Cannon
· 12 years ago
8ed677d
Add some comments.
by Brett Cannon
· 12 years ago
feaa54f
don't depend on __debug__ because it's baked in at freeze time (issue #16046)
by Benjamin Peterson
· 12 years ago
ca8aa4a
Issue #15144: Fix possible integer overflow when handling pointers as integer values, by using Py_uintptr_t instead of size_t.
by Antoine Pitrou
· 12 years ago
10ca1fe
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
by Christian Heimes
· 12 years ago
55ad651
Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases.
by Christian Heimes
· 12 years ago
9c5b521
Partly revert ad3824a90261 and add comment about reference ownership
by Christian Heimes
· 12 years ago
1526582
Partly revert ad3824a90261 and add comment about reference ownership
by Christian Heimes
· 12 years ago
e9a6d62
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
by Christian Heimes
· 12 years ago
5557a9c
Fix null pointer dereferencing in structmember.c PyMember_SetOne() for T_CHAR. _PyUnicode_AsStringAndSize() can return NULL without touching the len argument. Also remove unnecessary PyUnicode_Check(), _PyUnicode_AsStringAndSize() performance the test again. CID 486815
by Christian Heimes
· 12 years ago
6d29352
Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening.
by Christian Heimes
· 12 years ago
6a77af6
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
by Christian Heimes
· 12 years ago
10e85de
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.
by Christian Heimes
· 12 years ago
3d46339
Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s going out of scope leaks the storage it points to.
by Christian Heimes
· 12 years ago
879329d
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
by Christian Heimes
· 12 years ago
48d8d21
Added missing va_end in error branch of PyArg_UnpackTuple(). CID 486641
by Christian Heimes
· 12 years ago
310f814
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
by Christian Heimes
· 12 years ago
837e53a
Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
by Christian Heimes
· 12 years ago
8c195af
Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
by Antoine Pitrou
· 12 years ago
7ff1822
Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
by Antoine Pitrou
· 12 years ago
d9c1bf7
After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.
by Stefan Krah
· 12 years ago
5b4faae
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
by Antoine Pitrou
· 12 years ago
56cd62c
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
by Antoine Pitrou
· 12 years ago
d40528f
merge 3.2
by Benjamin Peterson
· 12 years ago
c7dedb0
put * in the normal place
by Benjamin Peterson
· 12 years ago
bd0df50
get rid of ast_error_finish by passing the compiling struct to ast_error
by Benjamin Peterson
· 12 years ago
e9f72db
merge 3.2
by Benjamin Peterson
· 12 years ago
c5d7518
move variable decl to the top of the function
by Benjamin Peterson
· 12 years ago
c7f447c
merge 3.2 (#15846)
by Benjamin Peterson
· 12 years ago
2e2c903
prevert ast errors from being normalized before ast_error_finish is called (closes #15846)
by Benjamin Peterson
· 12 years ago
4f0338c
Issue #15781: Fix two small race conditions in import's module locking.
by Antoine Pitrou
· 12 years ago
12c6bda
Issue #15316: Let exceptions raised during imports triggered by the
by Brett Cannon
· 12 years ago
ba0a3ed
Issue #2051: Tweak last commit for this issue to pass in mode instead
by Brett Cannon
· 12 years ago
a508770
Close #2501: Permission bits are once again correctly copied from the source file to the cached bytecode file. Test by Eric Snow.
by Nick Coghlan
· 12 years ago
ad54c6d
Issue #15766: Fix a crash in imp.load_dynamic() on PyUnicode_FromString() failure
by Victor Stinner
· 12 years ago
35503c9
Issue #15726: Fix incorrect bounds checking in PyState_FindModule.
by Antoine Pitrou
· 12 years ago
75506e8
Issue #15726: Fix incorrect bounds checking in PyState_FindModule.
by Antoine Pitrou
· 12 years ago
66d1eb2
Merge 3.2.
by Stefan Krah
· 12 years ago
07795df
Issue #15741: Fix potential NULL dereference. Found by Coverity.
by Stefan Krah
· 12 years ago
28a2ad5
Check return value of asdl_seq_new(). Found by Coverity.
by Stefan Krah
· 12 years ago
48fec05
Close #14846: Handle a sys.path entry going away
by Nick Coghlan
· 12 years ago
7385adc
Issue #15715: Ignore failed imports triggered by the use of fromlist.
by Brett Cannon
· 12 years ago
721738f
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
by Antoine Pitrou
· 12 years ago
6f430e4
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
by Antoine Pitrou
· 12 years ago
b428f47
Don't overwrite a __path__ value from extension modules if already set.
by Brett Cannon
· 12 years ago
688a551
fix docstring wording
by Philip Jenvey
· 12 years ago
f410ce8
Issue #15502: Refactor some code.
by Brett Cannon
· 12 years ago
e9175bd
Fix issue #15607: Update the print builtin function docstring with the new flush keyword.
by Senthil Kumaran
· 12 years ago
731d48a
update docstring per the extension package fix, refactor
by Philip Jenvey
· 12 years ago
ac9f2f3
Issue #15576: Allow extension modules to be a package's __init__
by Brett Cannon
· 12 years ago
f4dc920
Issue #15502: Finish bringing importlib.abc in line with the current
by Brett Cannon
· 12 years ago
2d6266d
Remove now unused IntOrLongToString type
by Victor Stinner
· 12 years ago
0ed0505
merge heads
by Benjamin Peterson
· 12 years ago
b37df51
fix yield from return value on custom iterators (closes #15568)
by Benjamin Peterson
· 12 years ago
cb4996a
Issue #15471: Don't use mutable object as default values for the
by Brett Cannon
· 12 years ago
ecfefb7
Fix a spelling mistake in a comment.
by Brett Cannon
· 12 years ago
c4d974d
Remove unused variable `trim_get_code`.
by Antoine Pitrou
· 12 years ago
90ef747
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
by Victor Stinner
· 12 years ago
7b3f0fa
Close #13119: use "\r\n" newline for sys.stdout/err on Windows
by Victor Stinner
· 12 years ago
4941774
Issue #15502: Bring the importlib.PathFinder docs and docstring more in line with the new import system documentation, and fix various parts of the new docs that weren't quite right given PEP 420 or were otherwise a bit misleading. Also note the key terminology problem still being discussed in the issue
by Nick Coghlan
· 12 years ago
ff79486
Close #15519: Properly expose WindowsRegistryFinder in importlib and bring the name into line with normal import terminology. Original patch by Eric Snow
by Nick Coghlan
· 12 years ago
42c0766
Close #15486: Simplify the mechanism used to remove importlib frames from tracebacks when they just introduce irrelevant noise
by Nick Coghlan
· 12 years ago
d5698cb
Fix initialization of the faulthandler module
by Victor Stinner
· 12 years ago
722d3ae
Issue #15508: Fix the docstring for __import__ to not mention negative
by Brett Cannon
· 12 years ago
54f939b
Issue #15463: the faulthandler module truncates strings to 500 characters,
by Victor Stinner
· 12 years ago
5ee9892
Close #15425: Eliminate more importlib related traceback noise
by Nick Coghlan
· 12 years ago
e3010a8
Issue #14578: Support modules registered in the Windows registry again.
by Martin v. Löwis
· 12 years ago
7e39572
Issue #15466: Stop using TYPE_INT64 in marshal,
by Martin v. Löwis
· 12 years ago
c5963d3
Issue #15365: Make traceback reporting ignore any errors when printing out
by Kristján Valur Jónsson
· 12 years ago
996ae04
remove unused variable
by Meador Inge
· 12 years ago
51ab283
remove unused variable
by Benjamin Peterson
· 12 years ago
9544aa3
Issue #15368: fixing variable typo.
by Meador Inge
· 12 years ago
Next »