summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* merge default headsJulien Cristau2013-10-253-7/+18
|\
| * fix assertIsNotNone py< 2.7 implementationSylvain Th?nault2013-10-041-1/+1
| |
| * [modutils] don't propagate IOError when package's __init__.py file doesn't ↵Sylvain Th?nault2013-09-032-7/+15
| | | | | | | | exist. Closes #174606
| * testlib: assertIsNotNone missing for python 2.6Sylvain Th?nault2013-08-211-0/+3
| |
* | [deprecation] stacklevel tweaksSylvain Th?nault2013-05-071-3/+3
|/
* Added tag logilab-common-debian-version-0.60.0-1 for changeset 5723c613242eSylvain Th?nault2013-07-260-0/+0
|
* Added tag logilab-common-version-0.60.0 for changeset 1ad9bfc058cflogilab-common-debian-version-0.60.0-1Sylvain Th?nault2013-07-260-0/+0
|
* [packaging] fix regression introduced by aefd37dbb754 leading to crash when ↵logilab-common-version-0.60.0Sylvain Th?nault2013-07-261-1/+1
| | | | installing python3 version of the lib on a linux platform
* 0.60Sylvain Th?nault2013-07-263-17/+26
|
* backport stable branchSylvain Th?nault2013-07-269-30/+82
|\
| * update ChangelogSylvain Th?nault2013-07-261-0/+5
| |
| * graph: use codecs.open. Closes #155138Julien Cristau2013-06-201-3/+3
| | | | | | | | | | Makes python3 happier (can't write utf8 data to a file opened without an encoding)
| * testlib: fix for python 3.3Julien Cristau2013-07-222-11/+14
| | | | | | | | | | | | unittest.TestCase no longer has a assertSameElements method. Use assertCountEqual instead of assertSameElements/assertItemsEqual. Closes #144526
| * Fixed: Install fails on Windows with Python 3.3. Calling subprocess withMike Mueller2013-06-281-2/+4
| | | | | | | | `shell=True` works.
| * Update version number in spec fileR?mi Cardona2013-06-101-1/+1
| |
| * [modutils] add pkgutil.extend_path support. Closes #8796Sylvain Th?nault2013-06-171-2/+12
| |
| * [modutils]?setuptools pkg_resources support. Closes #8796Sylvain Th?nault2013-06-171-0/+11
| | | | | | | | | | | | NO I won't write a test. Setup is to painful to reproduce for automatic test (require virtualenv, setuptools, python setup.py develop, etc). See description on the ticket.
| * [modutils]?fix python3.3 crash on file_from_modpath. Closes #137244Sylvain Th?nault2013-05-072-3/+17
| |
| * [modutils test] enhance some test namesSylvain Th?nault2013-05-071-6/+8
| |
| * [registry] type.__new__ first arg is the metaclass, not the classSylvain Th?nault2013-04-291-2/+2
| |
| * [modutils] fix typo causing name error in python3 / bad message in python2. ↵Sylvain Th?nault2013-04-292-2/+7
| | | | | | | | Closes #136037
* | remove obsolete lenny packagingJulien Cristau2013-06-171-23/+0
| |
* | [configuration] stop pretending optik_ext is named optparseNicolas Chauvat2013-05-241-30/+30
| |
* | [configuration] make it clear there are constants used in the testsNicolas Chauvat2013-05-241-3/+3
| | | | | | | | rename options to OPTIONS
* | [configuration] add comments to improve documentationNicolas Chauvat2013-06-201-1/+15
| |
* | drop compatibility with python < 2.4Nicolas Chauvat2013-05-242-10/+4
| |
* | [configuration] add test case for merge_options()Nicolas Chauvat2013-05-211-1/+21
| |
* | [configuration] rename convert() to _validate()Nicolas Chauvat2013-05-241-2/+3
| | | | | | | | | | | | this isn't a perfect move as validate doesn't feel like some type conversion is done, though this is at least coherent with other related stuff
* | [configuration] rename option_name to option_attrname (closes #140667)Nicolas Chauvat2013-05-072-14/+16
| |
* | [configuration] fix wording in test nameNicolas Chauvat2013-05-211-1/+1
| |
* | [configuration] option own_group is True/FalseNicolas Chauvat2013-05-211-1/+1
| |
* | backport stableSylvain Th?nault2013-04-293-89/+210
|\ \ | |/ |/|
| * deprecation: implement moved/class_renamed/class_moved using DeprecationManagerDamien Garaud2013-03-121-60/+69
| |
| * Add version handling to the deprecation module (closes #108205).Damien Garaud2013-04-113-27/+139
| | | | | | | | | | | | | | | | Allow to refine the deprecation message handling. Messages are dropped for versions more recent than the 'compatible' version. Implement the `deprecated` decorator and `class_deprecated` metaclass in terms of this new manager.
| * backport stable branchSylvain Th?nault2013-04-119-35/+96
| |\
* | | Added tag logilab-common-debian-version-0.59.1-1 for changeset 787675c645b2Sylvain Th?nault2013-04-170-0/+0
| | |
* | | Added tag logilab-common-version-0.59.1 for changeset 271abd1bc556logilab-common-debian-version-0.59.1-1Sylvain Th?nault2013-04-170-0/+0
| | |
* | | 0.59.1logilab-common-version-0.59.1Sylvain Th?nault2013-04-163-24/+31
| | |
* | | [registry] change select_or_none implementation to remove one level of ↵Sylvain Th?nault2013-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indirection Rational: when analyzing cubicweb selectors performance, it has been found that the cost of emiting NoSelectableObject and catching it was higher than returning None and testing for None values. Also, it will be definitly an improvment here as we avoid calling an intermediary function that test for None and raise the exception if needed.
* | | added pruning of the recursive search tree for detecting cycles in graphs. ↵Dirk Baechle2013-04-112-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2469 provides a significant speedup for get_cycles() Rationale for the whole patch: While trying to analyze the source tree of SCons (www.scons.org), I noticed that pylint took forever to finish a single run. I tracked the problem down a little and finally ended my search at the _get_cycles() function that gets called recursively. They way it is implemented at the moment, you will get a very high number of calls for medium to large graphs that are also very dense in nature (have a high vertex degree). In the case of SCons there are about 176 packages involved, which import each other a lot. This results in 130869104 calls of _get_cycles() and a runtime of 27minutes and 6.835seconds fo the whole pylint run. With this patch you get 10156 calls, taking 30.893s for the complete pylint call. Note, that the pruning of the search tree also reduces the list of output results, since all manifolds that are simple rotated versions of each other, get suppressed automatically.
* | | [modutils test] simplify test names and add border cases test for ↵Sylvain Th?nault2013-04-111-6/+16
| | | | | | | | | | | | is_standard_module
* | | run 2to3 on test data files. Closes #120897Sylvain Th?nault2013-04-111-0/+5
| |/ |/|
* | mergeSylvain Th?nault2013-04-111-1/+1
|\ \
| * | Added tag logilab-common-centos-version-0.59.0-1 for changeset d71a70531f51Florent Cayre2013-04-080-0/+0
| | |
| * | [packaging] bump version in spec filelogilab-common-centos-version-0.59.0-1Julien Cristau2013-04-081-1/+1
| | |
* | | [packaging] fix license declaration in spec fileJulien Cristau2013-04-081-1/+1
| | |
* | | logging: use WatchedFileHandler instead of FileHandler if availableJulien Cristau2013-01-091-1/+5
| | | | | | | | | | | | | | | | | | | | | This prevents logging to an old or deleted file after log rotation. WatchedFileHandler is usable on Unix starting with Python 2.6. Closes #115775.
* | | fix umessages test w/ python 3 and LC_ALL=C (closes #119967)Sylvain Th?nault2013-02-152-3/+15
| | |
* | | remove 2 accidentally introduced tabs breaking python 3 compat. closes #117580Sylvain Th?nault2013-02-142-1/+5
| | |
* | | [registry] docstring fixesSylvain Th?nault2013-02-041-3/+5
| | |