summaryrefslogtreecommitdiff
path: root/sphinx/pycode
Commit message (Collapse)AuthorAgeFilesLines
* Fix: pgen2 tokenizer doesn't recognize `...` literal (Ellipsis for py3). ↵shimizukawa2014-08-281-2/+9
| | | | | | Closes #1547 I think pgen2 code derived from lib2to3 package. Basically, the package only support python2 code then it doesn't recognize `...` literal.
* fix py2/py3 compat for 'iter.next()/next(iter)' and ↵shimizukawa2014-05-011-1/+1
| | | | 'dict.values()/list(dict.values())'. refs #1350.
* wrap py3 iterators with list() for each places that expect a list object. ↵shimizukawa2014-04-302-3/+4
| | | | refs #1350.
* remove 'six' name except importing line.shimizukawa2014-04-301-4/+3
|
* use six privided text_type() to replace with unicode() to support py2/py3 in ↵shimizukawa2014-04-292-4/+7
| | | | one source. refs #1350.
* provide __next__() and use native next() to support py2/py3 in one source. ↵shimizukawa2014-04-291-2/+2
| | | | refs #1350.
* wrap iterator with list() to avoid 'dictionary changed size during ↵shimizukawa2014-04-292-3/+3
| | | | iteration' on py3. refs #1350.
* use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵shimizukawa2014-04-292-10/+13
| | | | refs #1350.
* introduce the six module and reduce sphinx.util.pycompat implementation. ↵shimizukawa2014-04-291-3/+5
| | | | refs #1350.
* Update copyright year.Georg Brandl2014-03-017-113/+33
|\
| * consistency nitsGeorg Brandl2014-01-222-2/+5
| |
| * Modernize the code now that Python 2.5 is no longer supportedDmitry Shachnev2014-01-196-22/+28
| | | | | | | | | | | | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections.
| * merge headsshimizukawa2014-01-156-49/+172
| |\
| * | Drop python-2.5 and remove 2.4,2.5 support codesshimizukawa2013-12-152-90/+1
| | |
* | | Update copyright year.Georg Brandl2014-03-012-2/+2
| |/ |/|
* | Fix new grammar files to have correct starting symbol at the top.Georg Brandl2014-01-122-3/+8
| |
* | Closes #1152: Fix pycode parsing errors of Python 3 code by including two ↵Georg Brandl2014-01-126-50/+166
| | | | | | | | | | | | | | grammar versions for Python 2 and 3, and loading the appropriate version for the running Python version.
* | Closes #641: use Sphinx version in cache pickle filename.Georg Brandl2014-01-101-2/+4
|/
* Closes #1102: Support multi-context "with" statements in autodoc by updatingGeorg Brandl2013-03-301-26/+16
| | | | pycode grammar from lib2to3.
* Closes #1127: Fix traceback when autodoc tries to tokenize a non-Python file.Georg Brandl2013-03-301-1/+4
|
* Copyright update.Georg Brandl2013-01-012-2/+2
|
* Closes #796: use package_dir everywhere instead of __file__.Georg Brandl2011-11-011-1/+2
|
* Activate the viewcode extension in the automatically generated apidoc project.Georg Brandl2011-10-071-0/+1
|
* Fix #705: read module source in ModuleAnalyzer in binary mode, decode ↵Georg Brandl2011-09-191-8/+15
| | | | afterwards.
* Remove unused imports.Georg Brandl2011-09-191-2/+0
|
* merge with 1.0Georg Brandl2011-05-151-14/+2
|\
| * Closes #657: viewcode now works correctly with source files that have ↵Georg Brandl2011-05-151-14/+2
| | | | | | | | non-ASCII encoding.
* | #431: Doc comments for attributes can now be given on the same line as the ↵Georg Brandl2011-01-151-1/+21
| | | | | | | | assignment.
* | merge with 1.0Georg Brandl2011-01-042-2/+2
|\ \ | |/
| * New year update.Georg Brandl2011-01-042-2/+2
| |
* | merge with 1.0Georg Brandl2010-12-281-1/+1
|\ \ | |/
| * major.minor version is enough for the grammar pickle.Georg Brandl2010-12-091-1/+1
| |
* | Use next() function instead of iter.next().Georg Brandl2010-07-281-1/+2
| |
* | don't assume strings to be byte stringsDasIch2010-05-242-2/+3
| |
* | Make sphinx.pycode.nodes.BaseNode unhashableDasIch2010-05-011-0/+2
| |
* | Fixed issue #1DasIch2010-05-011-1/+3
|/
* merge with 0.6Georg Brandl2010-06-201-4/+4
|\
| * #452: fix encoding handling in ModuleAnalyzer.Georg Brandl2010-06-201-4/+4
| |
* | #187: Added support for source ordering of members in autodoc, with ↵Georg Brandl2010-02-281-5/+17
| | | | | | | | ``autodoc_member_order = 'bysource'``.
* | merge with trunkGeorg Brandl2010-02-173-1694/+3073
|\ \
| * | Work a bit on the experimental Cython version of pgen2.parse.Georg Brandl2010-01-313-1694/+3073
| | |
* | | Remove XXXes from the pgen2 code.Georg Brandl2010-01-172-3/+3
| | |
* | | Make the _ gettext alias an explicit import instead of installing into builtins.Georg Brandl2010-01-172-3/+3
| | |
* | | Move getting module source to util.Georg Brandl2010-01-131-34/+11
|/ /
* | #280: Autodoc can now document instance attributes assigned in ``__init__`` ↵Georg Brandl2010-01-031-8/+31
|/ | | | methods.
* Happy new year!Georg Brandl2010-01-012-2/+2
|
* Really fix the problem of keeping all pgen2 parser nodes in memory.Georg Brandl2009-09-031-0/+2
|
* Remove parsetree after collecting attributes.Georg Brandl2009-07-021-0/+1
|
* Fix test_env.Georg Brandl2009-03-161-1/+1
|
* Add default parent attribute to Node classes.Georg Brandl2009-03-031-0/+1
|