326 Commits (cca96f09d3d561fc16a5634d4c91dfc846213ecb)

Author SHA1 Message Date
Brett Cannon 7d006260a5 Merged revisions 81380 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Victor Stinner ea1642910e Partial backport of r78826: leave import site error handler unchanged (print 16 years ago
Gregory P. Smith c21d0cb6cf Merged revisions 78527,78531 via svnmerge from 16 years ago
Thomas Wouters 448db2155f Merged revisions 74841 via svnmerge from 17 years ago
R. David Murray e38b0a8ec0 Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from 17 years ago
Georg Brandl c04c2890c7 Merged revisions 68292,68344,68361,68378,68424,68426,68429-68430,68450,68457,68480-68481,68493,68495,68499,68501,68512,68514-68515 via svnmerge from 17 years ago
Antoine Pitrou 5b0767c31d Merged revisions 68360 via svnmerge from 17 years ago
Benjamin Peterson 17f03ca962 Fix compilation when --without-threads is given #3683 18 years ago
Brett Cannon 3aa2a49ec9 Add imp.reload(). This to help with transitioning to 3.0 the reload() built-in 18 years ago
Nick Coghlan b028f50911 Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute) 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes 61e4590ec9 Build bots are working again - removing the hack 18 years ago
Christian Heimes 81caa790b6 Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots 18 years ago
Christian Heimes 7f23d86107 Initialize PyCompilerFlags cf_flags with 0 18 years ago
Christian Heimes 3c60833e1e Patch #2477: Added from __future__ import unicode_literals 18 years ago
Nick Coghlan 7af53be66f Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files) 18 years ago
Christian Heimes 5e8e6d2454 MS Windows doesn't have mode_t but stat.st_mode is defined as unsigned short. 18 years ago
Christian Heimes 4034685a58 Issue #2051 and patch from Alexander Belopolsky: 18 years ago
Christian Heimes 0d9244332b Fixed some references leaks in sys. 18 years ago
Christian Heimes 3403f1589d Fixed #1776. __import__() no longer imports modules by file name 18 years ago
Georg Brandl aed6c66aa8 patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG. 18 years ago
Georg Brandl 2da0fceba7 Patch #602345 by Neal Norwitz and me: add -B option and PYTHONDONTWRITEBYTECODE envvar to skip writing bytecode. 18 years ago
Christian Heimes 000a074c95 Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0 18 years ago
Raymond Hettinger effde12f5f Speed-up dictionary constructor by about 10%. 18 years ago
Nick Coghlan ef01d822aa Implement PEP 366 18 years ago
Nick Coghlan 327a39b047 Patch #1739468: Directories and zipfiles containing __main__.py are now executable 18 years ago
Christian Heimes 004c1c1562 Backport of Guido's review of my patch. 19 years ago
Christian Heimes cea681be19 Backported fix for bug #1392 from py3k branch r58903. 19 years ago
Georg Brandl eec47f3556 Backport fix of #1752175. 19 years ago
Georg Brandl add36e5fdf Second half of #1752175: #ifdef out references to PyImport_DynLoadFiletab if HAVE_DYNAMIC_LOADING is not defined. 19 years ago
Georg Brandl d7e9f608c3 Revert accidental checkins from last commit. 19 years ago
Georg Brandl fdca6d8599 Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers. 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Neal Norwitz 2fca81cc4c Fix indentation (whitespace only). 19 years ago
Kristján Valur Jónsson 00b0a9e5b2 Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows. 19 years ago
Kristján Valur Jónsson 67387fb4aa Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h 19 years ago
Collin Winter 2a98ff8eed Inline PyImport_GetModulesReloading(). Backport from r54368. 19 years ago
Collin Winter 47c52a8b60 Inline PyImport_GetModulesReloading(). 19 years ago
Neal Norwitz 75c7c80ee5 Fix some style nits: 19 years ago
Collin Winter e19d7a3c0a Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. 19 years ago
Collin Winter 276887b16d Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. 19 years ago
Georg Brandl 7478096148 Typos. 19 years ago
Neal Norwitz cbeb687c68 Update the peephole optimizer to remove more dead code (jumps after returns) 20 years ago
Brett Cannon 5a9aa4f31c Fix minor typo in a comment. 20 years ago
Brett Cannon 94b69f6ba3 Very minor grammatical fix in a comment. 20 years ago
Neal Norwitz 2a399b0f11 Properly handle a NULL returned from PyArena_New(). 20 years ago
Neal Norwitz ece448efa0 Properly handle a NULL returned from PyArena_New(). 20 years ago
Georg Brandl 37a9e579ec Bug #1550983: emit better error messages for erroneous relative 20 years ago