Commit Graph

4327 Commits

Author SHA1 Message Date
Eric V. Smith aba0acbf2a Make it clear that only finders change, not loaders. 2012-04-30 18:05:25 -04:00
Benjamin Peterson 2bd8f77272 fix link 2012-04-29 21:27:35 -04:00
Brett Cannon 0bc2589589 merge 2012-04-29 20:04:45 -04:00
Brett Cannon b82532746f Phase 2 of PEP 302 is done. 2012-04-29 20:04:31 -04:00
Victor Stinner 8e4d5fcd79 PEP 418: time.get_clock_info() now returns an object 2012-04-29 02:26:42 +02:00
Victor Stinner 17b03b5db0 PEP 418: time.get_clock_info() has no more optional keys, all keys are mandatory 2012-04-29 01:42:18 +02:00
Eric V. Smith c583e83c4e Clarifaction about creating namespace packages. Thanks Carl Meyer. 2012-04-28 06:23:39 -04:00
Victor Stinner 92e2f078f0 PEP 418: Cleanup the glossary
* <nanosecond> and <clock_monotonic> are not terms of the glossary
 * remove the useless definition of duration
 * monotonic: reading a monotonic clock is not slower than other clock
2012-04-28 10:59:31 +02:00
Raymond Hettinger 7cbdcfa301 Fix markup 2012-04-28 00:51:37 -07:00
Victor Stinner 9c952d97bf PEP 418: Remove the unverified info about mach_timebase_info() 2012-04-28 03:21:26 +02:00
Brett Cannon 04fc727e6f Require __loader__ and __package__ to be set by loaders. 2012-04-27 17:41:29 -04:00
Brett Cannon d321dc54a4 Add PEP 421 ("Add sys.implementation") on behalf of Eric Snow. 2012-04-27 17:32:38 -04:00
Eric V. Smith a62461d85c Added mention of dynamic __path__ updating. 2012-04-27 09:03:59 -04:00
Victor Stinner bca0b715a5 PEP 418: Explain why Linux always announces a resolution of 1 nanosecond,
even if the hardware has a lower resolution
2012-04-26 23:35:48 +02:00
Eric V. Smith 5e7ed448e8 Fixed ImportWarning discussion. 2012-04-26 11:05:41 -04:00
Eric V. Smith 45bbfe1672 Slight clarifications about packaging. 2012-04-26 08:30:19 -04:00
Eric V. Smith 61b2840d94 Drop implementation detail. 2012-04-26 04:57:05 -04:00
Eric V. Smith 6741895e98 Add a note that a namespace package is not a different type of package, but a new way of creating a package. 2012-04-25 13:52:33 -04:00
Eric V. Smith f1955cfc07 Fix typo. 2012-04-25 13:35:07 -04:00
Eric V. Smith 481d0d80c3 Put two spaces after the end of sentences, so that emacs does a better job at reflowing text. 2012-04-25 13:33:23 -04:00
Eric V. Smith 32753d298e Flesh out packaging implications section. 2012-04-25 13:28:21 -04:00
Eric V. Smith 6245d46ad6 Add placeholder section for packaging implications. 2012-04-24 21:21:04 -04:00
Eric V. Smith 0f69eab7e2 Update section on impact to finders. 2012-04-24 13:05:25 -04:00
Antoine Pitrou 36e5f61f80 Make context manager example likelier 2012-04-24 14:08:00 +02:00
Eric V. Smith e7bef9d9f5 Added pointer to features/pep-420 branch. 2012-04-24 07:12:00 -04:00
Raymond Hettinger 660b6e478c Note that context manager should be in separate classes if they implement non-obvious behaviors. 2012-04-23 23:34:26 -07:00
Victor Stinner f0a17ba540 PEP 418: typoe 2012-04-24 00:59:45 +02:00
Victor Stinner c2f96995d0 PEP 418: Replace misuse of precision with resolution 2012-04-24 00:30:23 +02:00
Victor Stinner 94fb568222 PEP 418: Replace "Resolution" column with "C Resolution", and "Precision" with
"OS Resolution"

Document also these two columns.
2012-04-24 00:24:08 +02:00
Victor Stinner 464a098160 PEP 418: Replace "Precision in Python" with "Python Resolution" 2012-04-24 00:14:51 +02:00
Victor Stinner 3c3c2f09d4 PEP 418: Rename clock_precision.py to clock_resolution.py 2012-04-24 00:12:53 +02:00
Benjamin Peterson 26626f4c0c finalize pep 412 2012-04-23 11:28:28 -04:00
Raymond Hettinger c0b1eb3d65 Restore the prohibition against using function annotations in the standard library.
At Guido's request, added notes regarding issues observed with various developer's
early attempts to use function annotations.
2012-04-22 21:32:34 -07:00
Victor Stinner 4535decca5 PEP 418: Stephen J. Turnbull's patch 3: complete the Glossary 2012-04-21 21:25:00 +02:00
Victor Stinner 323e44fb09 PEP 418: Stephen J. Turnbull's patch 2: english 2012-04-21 21:18:13 +02:00
Victor Stinner 9137ddbec3 PEP 418: Stephen J. Turnbull's patch: typos 2012-04-21 21:16:37 +02:00
Victor Stinner d0166c382d PEP 418: List limitations of this PEP 2012-04-21 02:36:52 +02:00
Eric V. Smith 1802251773 Grammar improvement. 2012-04-20 09:22:25 -04:00
Eric V. Smith 35b91f08b9 More backticks. 2012-04-20 08:35:55 -04:00
Eric V. Smith e494078006 Fix references to extend_path and declare_namespace. Also make it clearer that these functions don't need to be removed: they just won't be needed for implicit namespace packages. 2012-04-20 08:18:01 -04:00
Eric V. Smith 7699a85f3d It's finders and loaders that will be impacted. 2012-04-20 08:11:56 -04:00
Eric V. Smith 497d6b8f78 Cleanup. Add double backticks where needed. 2012-04-20 06:29:55 -04:00
Eric V. Smith 661887ade7 Another improvement by Nick: a better description of splitting portions among multiple directories. 2012-04-20 06:20:24 -04:00
Eric V. Smith ce4af70258 Improved paragraph on __path__ recalculation. Suggested by Nick Coglan. 2012-04-20 06:15:03 -04:00
Eric V. Smith 2280b40e6a ImportError -> ImportWarning. 2012-04-20 04:51:07 -04:00
Eric V. Smith 2cc4d29794 Note that ImportError will no longer be raised due to a missing __init__.py file. 2012-04-19 18:56:22 -04:00
Eric V. Smith 97b3e45cff Grammar fixes by Brett Cannon. 2012-04-19 18:10:05 -04:00
Victor Stinner bfcd81b80e PEP 418: Patch bench_time.c to support systems without clock_gettime() 2012-04-19 23:26:51 +02:00
Eric V. Smith a0e363488b Merge heads. 2012-04-19 16:17:45 -04:00
Eric V. Smith 068205c7bb Added PEP 420. Thanks to MvL. Much of the text comes from PEP 382 and his recap of the PyCon discussion. 2012-04-19 16:16:16 -04:00