Commit Graph

41680 Commits

Author SHA1 Message Date
Jeremy Hylton 2696275348 Add check for PyDict_Update() error. 2009-03-31 15:04:15 +00:00
Jeremy Hylton 88f1c04215 Global statements from one function leaked into parallel functions.
Re http://bugs.python.org/issue4315

The symbol table used the same name dictionaries to recursively
analyze each of its child blocks, even though the dictionaries are
modified during analysis.  The fix is to create new temporary
dictionaries via the analyze_child_block().  The only information that
needs to propagate back up is the names of the free variables.

Add more comments and break out a helper function.  This code doesn't
get any easier to understand when you only look at it once a year.
2009-03-31 13:48:15 +00:00
Jeremy Hylton 1e6da5c39f Update quicktest to match Python 3 branch 2009-03-31 13:31:00 +00:00
Ronald Oussoren e392b357e9 Minor update to OSX build-installer script, needed
to ensure that the build will succeed in a clean
checkout and with a non-default deployment target.
2009-03-31 13:20:45 +00:00
Jeremy Hylton 1c157ea984 Add is_declared_global() which distinguishes between implicit and
explicit global variables.
2009-03-31 13:17:03 +00:00
Hirokazu Yamamoto 9d2ee5ded2 Issue #5387: Fixed mmap.move crash by integer overflow. 2009-03-31 13:13:05 +00:00
Jesse Noller b2898e0acb add JoinableQueue to __all__ 2009-03-31 03:31:16 +00:00
Georg Brandl 42827e91ee Fix a wrong struct field assignment (docstring as closure). 2009-03-31 01:25:15 +00:00
Andrew M. Kuchling 7706957f59 Add various items 2009-03-31 01:21:01 +00:00
Jesse Noller 82eb5902ce merge in patch from tim golden to fix contextmanager support for mp.Lock() 2009-03-30 23:29:31 +00:00
R. David Murray d7bf8a5478 Actually suppress warnings in test_at_least_import_untested_modules
inside the catch_warnings context manager.
2009-03-30 23:10:37 +00:00
Ronald Oussoren e0154ed7ff Fix issue #4865: add /Library/Python/2.7/site-packages to
sys.path on OSX, to make it easier to share (some) installed
packages between the system install and a user install.
2009-03-30 23:10:35 +00:00
Andrew M. Kuchling 6c2633e919 Add more items 2009-03-30 23:09:46 +00:00
Andrew M. Kuchling efa97718e6 typo fix 2009-03-30 23:08:24 +00:00
R. David Murray 3db8a3432b Change more tests to use import_module for the modules that
should cause tests to be skipped.  Also rename import_function
to the more descriptive get_attribute and add a docstring.
2009-03-30 23:05:48 +00:00
Georg Brandl dc340eedaa #5039: make it clear that the impl. note refers to CPython. 2009-03-30 22:43:00 +00:00
Barry Warsaw dbf95a3643 A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
though with some changes by me.  This patch should not be back ported or
forward ported.  It's a bit too risky for 2.6 and 3.x does things fairly
differently.
2009-03-30 22:42:17 +00:00
Andrew M. Kuchling 55acfc6c87 Many edits 2009-03-30 22:31:11 +00:00
Andrew M. Kuchling 71d5c28d97 Add several items and placeholders 2009-03-30 22:30:20 +00:00
Andrew M. Kuchling b585255f02 Remove comment 2009-03-30 22:29:53 +00:00
Andrew M. Kuchling 19672006a7 Typo fixes 2009-03-30 22:29:15 +00:00
Georg Brandl d59efbccf1 #5199: make warning about vars() assignment more visible. 2009-03-30 22:09:34 +00:00
Martin v. Löwis 649fae1ec3 Add several VM developers. 2009-03-30 22:06:33 +00:00
Jesse Noller 019ce773cd finalize the queue prior to shutdown 2009-03-30 21:53:29 +00:00
Senthil Kumaran 5e95e763e1 Fix for bugs: Issue4675 and Issue4962. 2009-03-30 21:51:50 +00:00
R. David Murray e7c9e092b3 Remove references to test_socket_ssl which was deleted in trunk
in r64392 and py3k in r59038.
2009-03-30 20:04:06 +00:00
Ronald Oussoren 008af85dc0 Fix for issue 13095 2009-03-30 20:02:08 +00:00
Ronald Oussoren 354bb5ca67 Fixes issue 5270 2009-03-30 19:56:25 +00:00
Ronald Oussoren 508282e897 * Set a custom icon on the Python installer DMG
* Remove last traces of "MacPython"
* Add options to build different flavors of the installer
  (still defaulting to a 2-way universal build that
  runs on OSX 10.3)
2009-03-30 19:34:51 +00:00
Ronald Oussoren 451e82439d Remove usage of the deprecated '-cString' and '+stringWithCString:' API's
in PythonLauncher, replacing them with the correct counterparts.
2009-03-30 19:22:56 +00:00
R. David Murray 59beec326a Add import_function method to test.test_support, and modify a number of
tests that expect to be skipped if imports fail or functions don't
exist to use import_function and import_module.  The ultimate goal is
to change regrtest to not skip automatically on ImportError.  Checking
in now to make sure the buldbots don't show any errors on platforms
I can't direct test on.
2009-03-30 19:04:00 +00:00
Ronald Oussoren bb8cb0e192 Fix issue where 'make altinstall' or 'make install' would install everything
that needs to be installed on OSX (depending on the configure flags)
2009-03-30 17:53:39 +00:00
Ronald Oussoren 648a4feced * Updates installed dependencies to latest releaases (bzip, zlib, ...)
* Changes code for updating folder icons from Python code
  that uses the deprecated Carbon module to a much simpler
  Cocoa program in Objective-C
2009-03-30 17:15:29 +00:00
Kurt B. Kaiser ce46511957 Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle mixed space/tab properly. Issue 5120, patch by Guilherme Polo. 2009-03-30 16:22:00 +00:00
Ronald Oussoren 8ba6f3baf6 Fix for issue 896199 (some Carbon modules aren't present in the documentation) 2009-03-30 16:01:51 +00:00
Jesse Noller 459a648166 Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager sockets 2009-03-30 15:50:42 +00:00
R. David Murray 5cb104d1b9 Revert incorrect change. 2009-03-30 15:30:34 +00:00
Brett Cannon d1f52606c5 Add an entry to developers.txt. 2009-03-30 15:20:53 +00:00
Ronald Oussoren 506e6b0657 This patch fixes issue 1254695 (wrong argument type conversion in Carbon.Qt) 2009-03-30 15:20:46 +00:00
Benjamin Peterson 68ffe3ec67 don't rely on the order dict repr #5605 2009-03-30 15:15:38 +00:00
R. David Murray ad74dfe8ff Convert import try/except to use test_support.import_module(). 2009-03-30 15:14:01 +00:00
Benjamin Peterson 3c87e2289d add missing import 2009-03-30 14:42:23 +00:00
Benjamin Peterson ac0580edc2 there's actually three methods here #5600 2009-03-30 02:49:32 +00:00
Benjamin Peterson 33cd7ef867 fix import 2009-03-30 02:14:21 +00:00
Bob Ippolito 76a982a027 Issue 5381: fix regression in pure python code path, Issue 5584: fix a decoder bug for unicode float literals outside of a container 2009-03-29 22:33:58 +00:00
Benjamin Peterson 8e1a338129 add missing import 2009-03-29 22:27:26 +00:00
Benjamin Peterson c5206b3893 use the awesome new status iterator 2009-03-29 21:50:14 +00:00
Benjamin Peterson 83db7652ca thanks to guido's bytecode verifier, this is fixed 2009-03-29 21:31:05 +00:00
Benjamin Peterson d2c184605e this has been fixed since 2.6 (I love removing these) 2009-03-29 21:22:35 +00:00
Raymond Hettinger b006fcc30c Make life easier for non-CPython implementations. 2009-03-29 18:51:11 +00:00