3496 Commits (d17cefc7876ec646a33773dfd2aa4dde2d8187d0)

Author SHA1 Message Date
Victor Stinner 07e4f1565b sys_update_path(): update sys.path even if argc==0 15 years ago
Georg Brandl 08be72d0aa Add a new warning gategory, ResourceWarning, as discussed on python-dev. It is silent by default, 15 years ago
Benjamin Peterson d4519c14ca tighten loop 15 years ago
Benjamin Peterson 9831611865 Merged revisions 85814 via svnmerge from 15 years ago
Benjamin Peterson 503d6c5ae9 remove broken code accounting an offset the size of the line #10186 15 years ago
Benjamin Peterson 8035bc5c04 follow up to #9778: define and use an unsigned hash type 15 years ago
Victor Stinner 3aa6cea861 Issue #10077: Fix logging of site module errors at startup. 15 years ago
Antoine Pitrou 9583cac633 Issue #10089: Add support for arbitrary -X options on the command-line. 15 years ago
Benjamin Peterson 4d3d08f961 Merged revisions 85757 via svnmerge from 15 years ago
Benjamin Peterson b8ffb60ec6 fix uninitialized struct member #10152 15 years ago
Victor Stinner 15244f7b12 Recorded merge of revisions 85569-85570 via svnmerge from 16 years ago
Victor Stinner e474309bb7 initfsencoding(): get_codeset() failure is now a fatal error 16 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 16 years ago
Victor Stinner c049982ea5 compiler_error(): use PyUnicode_DecodeFSDefault() to decode the filename, 16 years ago
Victor Stinner 15a71cdad2 PyErr_SyntaxLocationEx() uses PyUnicode_DecodeFSDefault(), instead of 16 years ago
Victor Stinner ed7916dd00 find_module(): use FS encoding to display the missing __init__ warning 16 years ago
Victor Stinner 49d3f2514b _PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding 16 years ago
Victor Stinner 168e117e0a Add an optional size argument to _Py_char2wchar() 16 years ago
Victor Stinner 0a1b8cba90 _Py_wrealpath() uses _Py_char2wchar() to decode the result, to support 16 years ago
Victor Stinner 350147b5ca _Py_wreadlink(): catch _Py_char2wchar() failure 16 years ago
Victor Stinner 3f711f4a3e _Py_wreadlink() uses _Py_char2wchar() to decode the result, to support 16 years ago
Victor Stinner 2f2ed1f36c Fix ast_error_finish() and err_input(): filename can be NULL 16 years ago
Victor Stinner 4c7c8c3023 Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects 16 years ago
Benjamin Peterson e9633491ca Merged revisions 85562 via svnmerge from 16 years ago
Benjamin Peterson 230b20684f don't identify the toplevel namespace by name #9997 16 years ago
Benjamin Peterson 294a9fcba6 fix refleak 16 years ago
Barry Warsaw 8cf4eae522 First (uncontroversial) part of issue 9807. 16 years ago
Victor Stinner 88bd891e6c Fix imp_cache_from_source(): Decode make_compiled_pathname() result from the 16 years ago
Victor Stinner 1a5630326f imp_load_module() uses PyUnicode_FSConverter() to support surrogates in module 16 years ago
Victor Stinner 3ea23ddabf imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates in 16 years ago
Victor Stinner 8dbf629bbd imp.load_dynamic() uses PyUnicode_FSConverter() to support surrogates 16 years ago
Victor Stinner f3170ccef8 Use locale encoding if Py_FileSystemDefaultEncoding is not set 16 years ago
Victor Stinner 6a4aff10f0 redecode_filename(): don't need to initialize variables 16 years ago
Victor Stinner 5d1e3438cd Mark _Py_char2wchar() input argument as constant 16 years ago
Antoine Pitrou 3d400b7a58 Merged revisions 85497 via svnmerge from 16 years ago
Antoine Pitrou b86680e299 Explicitly close some files (from issue #10093) 16 years ago
Victor Stinner f4061dac60 _Py_wgetcwd() decodes the path using _Py_char2wchar() to support surrogates 16 years ago
Victor Stinner 8f6b6b0cc3 Issue #9992: Remove PYTHONFSENCODING environment variable. 16 years ago
Victor Stinner a00064576a ceval.c: catch recursion error on _PyUnicode_AsString(co->co_filename) 16 years ago
Antoine Pitrou 19f8edc39d Issue #10062: Allow building on platforms which do not have sem_timedwait. 16 years ago
Victor Stinner 6672d0c5bb fileutils.c: document which encodings are used 16 years ago
Victor Stinner 015f4d87ab _Py_wrealpath() requires the size of the output buffer 16 years ago
Victor Stinner a4a759515e _Py_stat() and _Py_fopen(): avoid PyUnicode_AsWideCharString() on Windows 16 years ago
Victor Stinner b306d7594f Fix fileutils for Windows 16 years ago
Victor Stinner e7c8083bf1 Ooops, fileutils.c contains twice the same code 16 years ago
Victor Stinner 4e31443c4d Create fileutils.c/.h 16 years ago
Victor Stinner 7ae7c87b05 _wrealpath() and _Py_wreadlink() support surrogates (PEP 383) 16 years ago
Victor Stinner beb4135b8c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject* 16 years ago
Victor Stinner c08ec9fdba Create a subfunction for PySys_SetArgvEx() 16 years ago
Amaury Forgeot d'Arc 7955fb638a Merged revisions 85236 via svnmerge from 16 years ago