Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust reprconf to match Python 3.8 changes | Sviatoslav Sydorenko | 2018-09-30 | 1 | -0/+2 |
| | |||||
* | Wipe out legacy unrepr builder targeting Python 2 | Sviatoslav Sydorenko | 2018-09-30 | 1 | -124/+5 |
| | |||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 1 | -6/+6 |
| | |||||
* | Simply import | Jason R. Coombs | 2018-08-17 | 1 | -4/+4 |
| | |||||
* | Use six for configparser import | Jason R. Coombs | 2018-08-17 | 1 | -9/+3 |
| | |||||
* | Remove meaningless unreachable code | Jason R. Coombs | 2018-08-17 | 1 | -5/+0 |
| | |||||
* | Consolidate as_dict behavior. | Jason R. Coombs | 2018-08-17 | 1 | -19/+13 |
| | |||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2017-10-27 | 1 | -1/+1 |
| | |||||
* | Add missing import of text_or_bytes to lib.reprconf | Sviatoslav Sydorenko | 2017-07-12 | 1 | -0/+2 |
|\ | | | | | (PR #1604 by @mar10) | ||||
| * | Fix missing import | Martin Wendt | 2017-06-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `text_or_bytes` is never defined, so a NameError is always raised. So it is alwys set to `str`. This causes a problem in functions like this, where a `unicode` is not recognized as string , ```py def update(self, config): """Update self from a dict, file or filename.""" if isinstance(config, text_or_bytes): # Filename config = Parser().dict_from_file(config) elif hasattr(config, 'read'): # Open file object config = Parser().dict_from_file(config) else: config = config.copy() self._apply(config) ``` | ||||
* | | Use six to import builtins | Jason R. Coombs | 2017-07-09 | 1 | -7/+2 |
| | | |||||
* | | Replace iteritems with six usage. | Jason R. Coombs | 2017-07-08 | 1 | -2/+2 |
|/ | |||||
* | PEP8fy codebase: eliminated E261 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -3/+3 |
| | |||||
* | PEP8fy codebase: eliminated E203 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -15/+15 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Get rid of F401 imported but unused | Sviatoslav Sydorenko | 2016-09-08 | 1 | -5/+0 |
| | |||||
* | Use the preferred name text_or_bytes to avoid conflation with 'basestring' ↵ | Jason R. Coombs | 2016-07-24 | 1 | -5/+5 |
| | | | | which has no equivalent on Python 3. | ||||
* | Backed out changeset b83128f0f642. jaraco.itertools requires Python 2.7. | Jason R. Coombs | 2016-06-23 | 1 | -3/+3 |
| | |||||
* | Use always_iterable to re-use a proven function for the pattern of accepting ↵ | Jason R. Coombs | 2016-06-06 | 1 | -3/+3 |
| | | | | None, iterable of strings, or single string for a parameter. | ||||
* | Add support for the direct keywords on the calls (e.g. foo=bar) on python3 ↵ | Joel Rivera | 2016-03-10 | 1 | -0/+4 |
| | | | | for the config parser and also give them preference on top of the **kwargs. | ||||
* | Reimplementation and bufixes on the buildCall for python3.5. | Joel Rivera | 2016-03-02 | 1 | -24/+22 |
| | | | | Add test case to account for the keywords arguments on the config file. | ||||
* | Fix bug #1382 for Python 3.5 keyword args. | Joel Rivera | 2016-03-02 | 1 | -1/+35 |
|\ | |||||
| * | improved workaround for passed **kwargs | Michael Kefeder | 2016-01-28 | 1 | -1/+5 |
| | | | | | | | | | | --HG-- branch : 1282-ast-call-signature | ||||
| * | workaround for issue #1382, python 3.5 _ast.Call signature rudimentarily ↵ | Michael Kefeder | 2016-01-28 | 1 | -1/+29 |
|/ | | | | | | | implemented --HG-- branch : 1282-ast-call-signature | ||||
* | now handles functions with kwargs | James Stewart | 2014-03-20 | 1 | -5/+23 |
| | |||||
* | Merge with cherrypy-3.2.x (3.2.5) | Jason R. Coombs | 2014-02-23 | 1 | -0/+3 |
|\ | |||||
| * | Add support for NameConstant. Fixes #1294 | Jason R. Coombs | 2014-02-23 | 1 | -0/+3 |
| | | | | | | | | | | --HG-- branch : cherrypy-3.2.x | ||||
| * | Resave with excess whitespace removed | Jason R. Coombs | 2014-02-23 | 1 | -66/+66 |
| | | | | | | | | | | --HG-- branch : cherrypy-3.2.x | ||||
* | | Running: autopep8 -vvvvv -i `find . -name '*.py'` | Gustavo Picon | 2014-01-12 | 1 | -2/+5 |
| | | | | | | | | | | --HG-- branch : autopep8 | ||||
* | | Reverting r51f486d breaking a bunch of cp3 tests | Gustavo Picon | 2014-01-11 | 1 | -1/+2 |
| | | |||||
* | | Use ast.literal_eval instead of ast.parse("__temp__ = " + s) | Tim Chase | 2013-11-06 | 1 | -2/+1 |
| | | | | | | | | | | | | | | No need for extra variables when the ast module makes this so easy. --HG-- branch : gumnos/use-astliteral_eval-instead-of-astparse_-1383757013292 | ||||
* | | Simplified modules(). It's safe and efficient to call __import__ every time, ↵ | Jason R. Coombs | 2011-11-17 | 1 | -8/+2 |
| | | | | | | | | and much cleaner. | ||||
* | | Re-saved without excess spaces | Jason R. Coombs | 2011-11-17 | 1 | -66/+66 |
|/ | |||||
* | changed patch according to Jason R. Coombs comment | Jędrzej Nowak | 2011-11-16 | 1 | -2/+2 |
| | |||||
* | Fixed incorrect usage of __import__ (see more http://bugs.python.org/issue2090) | Jędrzej Nowak | 2011-11-16 | 1 | -1/+1 |
| | |||||
* | Added multiply operation to unrepr | shadowman131 | 2011-08-11 | 1 | -0/+7 |
| | |||||
* | Bye bye, py2/3. | Robert Brewer | 2011-07-02 | 1 | -0/+478 |
| | |||||
* | Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunk | Robert Brewer | 2011-02-25 | 1 | -351/+0 |
| | | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install. | ||||
* | Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away. | Robert Brewer | 2011-02-24 | 1 | -1/+6 |
| | |||||
* | Sphinx docs (rsts) for rest of cherrypy.lib.* | chbrown | 2010-02-24 | 1 | -4/+5 |
| | |||||
* | More syncs with python3. | Robert Brewer | 2009-06-09 | 1 | -16/+21 |
| | |||||
* | trunk: A bunch more alignments between trunk and python3 syntax. | Robert Brewer | 2009-06-02 | 1 | -3/+3 |
| | |||||
* | Fix for #911 (reprconf.Config's __init__ should accept an optional ↵ | Robert Brewer | 2009-04-15 | 1 | -2/+9 |
| | | | | dictionary or file to parse, like update). | ||||
* | Moved the basic config logic out of _cpconfig and into its own standalone ↵ | Robert Brewer | 2009-04-14 | 1 | -0/+333 |
module in cherrypy/lib/reprconf.py. This makes it reusable for non-CherryPy apps. |