Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge branch 'happy_new_year' into master | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 | |
| | | ||||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-12-16 | 1 | -5/+5 | |
| | | ||||||
* | | Merge branch 'stable' | Takeshi KOMIYA | 2017-11-02 | 1 | -0/+8 | |
|\ \ | |/ | ||||||
| * | inspect: Sort dictionary keys when possible | Dmitry Shachnev | 2017-10-23 | 1 | -0/+8 | |
| | | | | | | | | | | This should help for reproducible builds and for finding items in large dictionaries. | |||||
* | | Fix flake8 violation | Takeshi KOMIYA | 2017-10-23 | 1 | -1/+1 | |
| | | ||||||
* | | PEP8 | Antonio Valentino | 2017-08-20 | 1 | -1/+1 | |
| | | ||||||
* | | Fix compatibility with Python 2 | Antonio Valentino | 2017-08-20 | 1 | -6/+9 | |
| | | ||||||
* | | Improve fomatting (make flake8 happy) | Antonio Valentino | 2017-08-18 | 1 | -2/+3 | |
| | | ||||||
* | | Retireve docstirng form base classes (Closes #3140) | Antonio Valentino | 2017-08-18 | 1 | -0/+96 | |
| | | ||||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-07-15 | 1 | -1/+1 | |
| | | ||||||
* | | Make self.signature to singular one | Takeshi KOMIYA | 2017-06-17 | 1 | -3/+3 | |
| | | ||||||
* | | Fix the fallback value of annotations | Takeshi KOMIYA | 2017-06-17 | 1 | -1/+1 | |
| | | ||||||
* | | Fix typing.UnionMeta is available on py35 or below | Takeshi KOMIYA | 2017-06-17 | 1 | -1/+2 | |
| | | ||||||
* | | Add bound_method hint to Signature class | Takeshi KOMIYA | 2017-06-17 | 1 | -7/+17 | |
| | | ||||||
* | | Signature formats args of method correctly in py2 | Takeshi KOMIYA | 2017-06-17 | 1 | -1/+12 | |
| | | ||||||
* | | Add Signature class | Takeshi KOMIYA | 2017-06-17 | 1 | -3/+208 | |
| | | ||||||
* | | sphinx.util.inspect: Use absolute_import | Takeshi KOMIYA | 2017-06-17 | 1 | -4/+2 | |
|/ | ||||||
* | Merge branch 'stable' into 1.6-release | Takeshi KOMIYA | 2017-05-13 | 1 | -1/+1 | |
|\ | ||||||
| * | Protect isenumclass predicate against non-class arguments | Bryan Van de Ven | 2017-05-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | fixes: #3731 Not being a class is another way a thing might not be an enum class, but without an explicit check, isenumclass raises an exception in this case. | |||||
* | | Merge pull request #3449 from njsmith/getargspec-__wrapped__ | Takayuki SHIMIZUKAWA | 2017-04-19 | 1 | -34/+66 | |
|\ \ | | | | | | | On py3, use inspect.signature for more accurate signature calculation | |||||
| * | | Uglify the code to make flake8 happier | Nathaniel J. Smith | 2017-02-24 | 1 | -3/+3 | |
| | | | ||||||
| * | | Make sure that getargspec raises on built-in types | Nathaniel J. Smith | 2017-02-24 | 1 | -0/+9 | |
| | | | ||||||
| * | | On Py3, use inspect.signature for more accurate signature calculation | Nathaniel J. Smith | 2017-02-23 | 1 | -34/+57 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This improves handling of wrapped functions and bound methods. It turns out that we no longer need to hack in support for functools.partial; inspect.signature handles this automatically. Added a test to make sure this didn't/doesn't regress. | |||||
* | | | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -2/+2 | |
| |/ |/| | ||||||
* | | Merge branch 'stable' | jfbu | 2017-02-18 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix #3427: autodoc: memory addresses are not stripped on Windows | Takeshi KOMIYA | 2017-02-17 | 1 | -1/+1 | |
| | | ||||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-02-08 | 1 | -2/+4 | |
| | | ||||||
* | | Merge branch 'stable' | jfbu | 2016-12-17 | 1 | -0/+7 | |
|\ \ | |/ | ||||||
| * | Fix #3255: In Py3.4 environment, autodoc doesn't support documentation for ↵ | shimizukawa | 2016-12-17 | 1 | -0/+7 | |
| | | | | | | | | attributes of Enum class correctly. | |||||
* | | Add type-check annotations to sphinx.util | Takeshi KOMIYA | 2016-11-16 | 1 | -5/+15 | |
|/ | ||||||
* | Closes #3060: autodoc supports documentation for attributes of Enum class. ↵ | shimizukawa | 2016-10-28 | 1 | -0/+12 | |
| | | | | Now autodoc render just the value of Enum attributes instead of Enum attribute representation. | |||||
* | Fix #2919: Drop py26 support | Takeshi KOMIYA | 2016-09-15 | 1 | -1/+1 | |
| | ||||||
* | Simplify try-except | Leo Huckvale | 2016-07-18 | 1 | -8/+1 | |
| | ||||||
* | Refactor try-except clause | Leo Huckvale | 2016-07-15 | 1 | -7/+9 | |
| | ||||||
* | Remove unused local variable for flake8 check | Leo Huckvale | 2016-07-14 | 1 | -1/+1 | |
| | ||||||
* | inspect: return defargs[0] if obj.__dict__ raises exception | Leo Huckvale | 2016-07-14 | 1 | -1/+12 | |
| | | | | | | | | The fallback implemented in #2731 cannot return `obj.__dict__[name]` if the `__dict__` method has been redefined in such a way that it raises an exception when trying to access it. This commit adds a try-except block to work around this. | |||||
* | inspect: return obj.__dict__[name] if there is an exception | Sean Farley | 2016-06-30 | 1 | -0/+4 | |
| | | | | | | When using a cached property, Sphinx tries to access the actual property of an object which raises NotImplementedError. In these cases, we fall back to inspecting the __dict__ and returning that instead. | |||||
* | Remove all memory addresses from autodoc | JojoBoulix | 2016-06-09 | 1 | -1/+1 | |
| | | | | | Change `object_desription()` to remove all hexadecimal addresses, not only those at the end of the string. The `repr()` of some objects is generated by taking the `repr()` of one object and then adding stuff to it. Therefore, memory addresses like `<object foo at 0xabcdef>` do not need to occur at the end of the string. | |||||
* | Obligatory copyright update. | Georg Brandl | 2016-01-14 | 1 | -1/+1 | |
| | ||||||
* | util: pep8 fixes | Georg Brandl | 2015-03-08 | 1 | -4/+6 | |
| | ||||||
* | Remove non-determinism | Dmitry Shachnev | 2015-01-28 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | To enable packages using Sphinx to build reproducibly, its output needs to be the same from one build to another. Its output now strips memory references such as: <__main__.A at 0x7f68cb685710> In addition, various generated files (objects.inv, searchindex.js, translations) are now written with their keys in a determinstic order. Based on a patch by Chris Lamb <lamby@debian.org>. | |||||
* | Merge branch 'stable' | Georg Brandl | 2015-01-03 | 1 | -1/+1 | |
|\ | ||||||
| * | all: update copyright | Georg Brandl | 2015-01-03 | 1 | -1/+1 | |
| | | ||||||
* | | remove 'six' name except importing line. | Takayuki Shimizukawa | 2014-04-30 | 1 | -5/+6 | |
| | | ||||||
* | | introduce the six module and reduce sphinx.util.pycompat implementation. ↵ | Takayuki Shimizukawa | 2014-04-29 | 1 | -7/+6 | |
| | | | | | | | | refs #1350. | |||||
* | | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 | |
| | |