diff options
author | Raymond Hettinger <python@rcn.com> | 2010-08-14 22:22:10 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-08-14 22:22:10 (GMT) |
commit | cbe8813f18da15b239c58e1ba5c236c77872e413 (patch) | |
tree | 463b344b616cb54da0fcd14f753840fd5062874c /Lib/lib2to3 | |
parent | d9e8cc6249c7ff4ceeff3217a7671bee623d88a7 (diff) | |
download | cpython-cbe8813f18da15b239c58e1ba5c236c77872e413.zip cpython-cbe8813f18da15b239c58e1ba5c236c77872e413.tar.gz cpython-cbe8813f18da15b239c58e1ba5c236c77872e413.tar.bz2 |
Add locks to make the caches well behaved in multi-threaded code.
Store builtins in cell variables to speed-up the common path,
reducing the chance of a lock needing to block at all.
Diffstat (limited to 'Lib/lib2to3')
0 files changed, 0 insertions, 0 deletions