Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove execfile compatibility - unnecessary on Python 2.6+5.8 | Jason R. Coombs | 2014-09-18 | 1 | -7/+3 |
| | | | | | --HG-- extra : amend_source : 8a0dcd07e62a327647c834a44fe73b8ebc7b53b9 | ||||
* | Use the term 'string_types', following the pattern in six | Jason R. Coombs | 2014-09-18 | 1 | -7/+8 |
| | | | | | --HG-- extra : amend_source : 3a4aeb2627549c3dfec15067579eccc8e1314de2 | ||||
* | next function and io module are available on Python 2.6 | Jason R. Coombs | 2014-09-18 | 1 | -6/+2 |
| | |||||
* | Use PY3/PY2 indicators to reliably select behavior. Fixes #237 | Jason R. Coombs | 2014-09-18 | 1 | -8/+9 |
| | | | | | --HG-- extra : amend_source : 33f3d298acd39933ccf60810902feb2a5d51c793 | ||||
* | Remove conditional import for frozenset (available in Python 2.6+) | Jason R. Coombs | 2014-09-18 | 1 | -4/+0 |
| | |||||
* | Add indicators for PY2 vs. PY3 | Jason R. Coombs | 2014-09-18 | 1 | -0/+3 |
| | | | | | --HG-- extra : rebase_source : 549637a713aba52da4c87f1a84436832eba82f1e | ||||
* | Rename argument for consistency | Jason R. Coombs | 2014-09-09 | 1 | -2/+2 |
| | | | | | --HG-- extra : amend_source : 006c17fc01743ef7f646bf54a166cbaeae92ab75 | ||||
* | Move sister functions into proximity | Jason R. Coombs | 2014-09-09 | 1 | -9/+11 |
| | |||||
* | Use MemoizedZipManifests for all operations. Fixes #240.5.7 | Jason R. Coombs | 2014-08-15 | 1 | -5/+1 |
| | |||||
* | Normalize whitespace per more modern style conventions. | Jason R. Coombs | 2014-07-05 | 1 | -41/+55 |
| | |||||
* | Avoid trailing comments in pkg_resources. | Jason R. Coombs | 2014-07-05 | 1 | -8/+15 |
| | | | | | --HG-- extra : histedit_source : fba32276bb6acd7b5e44ff596407d10c94c618a9 | ||||
* | Remove commented code | Jason R. Coombs | 2014-07-05 | 1 | -5/+0 |
| | | | | | --HG-- extra : histedit_source : 7600ecd3914abc4767d4296f62b038a6397df673 | ||||
* | Move imports into header | Jason R. Coombs | 2014-07-05 | 1 | -8/+6 |
| | | | | | | --HG-- extra : amend_source : 371b48777dba5d8a4d62b5899944471752f830bd extra : histedit_source : 0739a1da7f11a5f6e348a34b203a9328d0bc0f22 | ||||
* | Make memoized zip manifests opt-in using the ↵ | Jason R. Coombs | 2014-07-05 | 1 | -1/+5 |
| | | | | PKG_RESOURCES_CACHE_ZIP_MANIFESTS environment variable. Ref #154. | ||||
* | Split MemoizedZipManifests from ZipManifests. Ref #154. | Jason R. Coombs | 2014-07-05 | 1 | -15/+23 |
| | |||||
* | Create zip_manifests as a class attribute rather than a global | Jason R. Coombs | 2014-07-05 | 1 | -2/+2 |
| | | | | | --HG-- extra : amend_source : 7754d23956c4157235dca41e90f05c29691078ee | ||||
* | Use a namedtuple to avoid numeric indexes | Jason R. Coombs | 2014-06-14 | 1 | -3/+6 |
| | |||||
* | Stat is never reused | Jason R. Coombs | 2014-06-14 | 1 | -3/+3 |
| | |||||
* | Use a more appropriate name and invoke .load directly. | Jason R. Coombs | 2014-06-14 | 1 | -3/+2 |
| | |||||
* | Remove documentation which seems irrelevant to this method. | Jason R. Coombs | 2014-06-14 | 1 | -14/+2 |
| | |||||
* | Use direct voice | Jason R. Coombs | 2014-06-14 | 1 | -2/+2 |
| | |||||
* | Rewrite construct/append loop with simple iterator. | Jason R. Coombs | 2014-06-14 | 1 | -6/+8 |
| | |||||
* | Implement 'build_manifest' as a classmethod. Rename to 'build' because ↵ | Jason R. Coombs | 2014-06-14 | 1 | -2/+3 |
| | | | | Manifests is already in the classname. | ||||
* | Expose a method describing what it does, and alias that to 'call'. | Jason R. Coombs | 2014-06-14 | 1 | -1/+8 |
| | |||||
* | Subclass dict rather that wrap and proxy. | Jason R. Coombs | 2014-06-14 | 1 | -7/+4 |
| | |||||
* | Remove excess whitespace | Jason R. Coombs | 2014-06-14 | 1 | -1/+1 |
| | |||||
* | Must add zipinfo as a property | Philip Thiem | 2014-05-17 | 1 | -0/+4 |
| | | | | | --HG-- extra : rebase_source : 2ae5fa38bd5c9d37b44a010879f2b3a4867c0ee4 | ||||
* | caching the zip manifests Fixes #154 | Philip Thiem | 2014-04-16 | 1 | -29/+42 |
| | | | | | --HG-- extra : rebase_source : 0f32792e01b6a1b746a1e07ffa4d7a85eeda1595 | ||||
* | Suppress arguments to __new__. ZipFile doesn't want them, and object ↵ | Jason R. Coombs | 2014-05-28 | 1 | -1/+1 |
| | | | | | | | deprecates them. --HG-- extra : amend_source : e41a2567b4174ef2eff09f3aa3f2a7faf214e054 | ||||
* | Update ContextualZipFile to use a single constructor | Jason R. Coombs | 2014-05-17 | 1 | -6/+5 |
| | |||||
* | Use context managers in pkg_resources | Jason R. Coombs | 2014-05-17 | 1 | -10/+5 |
| | |||||
* | Use ContextualZipFile for context manager support | Jason R. Coombs | 2014-05-17 | 1 | -5/+22 |
| | |||||
* | Use context manager | Jason R. Coombs | 2014-05-17 | 1 | -4/+1 |
| | |||||
* | Use modern syntax for octal values | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Avoid trailing comments | Jason R. Coombs | 2014-05-05 | 1 | -47/+92 |
| | |||||
* | Fix spacing in __all__ | Jason R. Coombs | 2014-05-05 | 1 | -3/+4 |
| | |||||
* | Now this syntax fits nicely on one line | Jason R. Coombs | 2014-05-05 | 1 | -4/+1 |
| | |||||
* | Remove unnecessary list comprehension | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Reindent more long lines. Other minor syntax modernization. | Jason R. Coombs | 2014-05-05 | 1 | -21/+39 |
| | |||||
* | Reindent long lines in marker impl | Jason R. Coombs | 2014-05-05 | 1 | -12/+35 |
| | |||||
* | Use simpler syntax to get the same info | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Reindent long line | Jason R. Coombs | 2014-05-05 | 1 | -1/+2 |
| | |||||
* | Reformat for consistency | Jason R. Coombs | 2014-05-05 | 1 | -1/+8 |
| | |||||
* | Rewrite hashcmp using modern syntax | Jason R. Coombs | 2014-05-05 | 1 | -5/+6 |
| | |||||
* | Merge pkg_resources.Environment.__getitem__() code cleanup (pull request #47 ↵ | Jason R. Coombs | 2014-05-05 | 1 | -22/+10 |
|\ | | | | | | | and subsequent changes). | ||||
| * | Remove _sort_dists (unused) | Jason R. Coombs | 2014-05-05 | 1 | -6/+0 |
| | | |||||
| * | Correct sort order by using list.sort with support for 'key' and 'reverse'. ↵ | Jason R. Coombs | 2014-05-05 | 1 | -2/+2 |
| | | | | | | | | This method is less efficient, but allows the tests to pass. | ||||
| * | Sort _distmap entries on insert. Obviates need for a cache. | Jason R. Coombs | 2014-05-04 | 1 | -49/+3 |
| | | |||||
| * | pkg_resources.Environment.__getitem__() code cleanup | Jurko Gospodnetić | 2014-04-15 | 1 | -12/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Better commented the code, especially the result caching & lazy distribution list sorting strategies implemented there. Added several TODO comments indicating things to look into there in the future. General code cleanup: - stopped reusing the project_name variable for different purposes - added an assertion to detect corrupt distribution list caches --HG-- extra : source : 86ef8f59ef4e1fc253c155b9ca0856497455372d | ||||
* | | Give comma-separated values a little room to breathe (use common style ↵ | Jason R. Coombs | 2014-05-04 | 1 | -115/+115 |
|/ | | | | convention). |