Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [compat] use instance of the class to have a real instance method (closes: ↵ | Sylvain Th?nault | 2011-10-25 | 1 | -1/+2 |
| | | | | | | | | | | | | #79268) Details: By using `klass` instead of an instance of the class, we bounded the method as a class method. During execution, the monkey-patched method considered `self` as a reference to the class and further use of `self` failed miserably. | ||||
* | fix typo | Sylvain Th?nault | 2011-09-26 | 1 | -2/+2 |
| | |||||
* | fix py3k compat (closes #75290) | Aurelien Campeas | 2011-09-21 | 1 | -6/+15 |
| | | | | | New: - update compat module for callable() and method_type() | ||||
* | [packaging] prepare 0.55.1logilab-common-version-0.55.1 | Nicolas Chauvat | 2011-03-28 | 1 | -1/+1 |
| | |||||
* | fix tests | Emile Anclin | 2010-11-22 | 1 | -6/+7 |
| | |||||
* | compat : remove 2.3 support | Emile Anclin | 2010-11-22 | 1 | -63/+6 |
| | |||||
* | 2to3: fix a lot of white space after comma | Emile Anclin | 2010-11-15 | 1 | -1/+1 |
| | |||||
* | py3k: rename file; write a compat.reload | Emile Anclin | 2010-11-02 | 1 | -0/+2 |
| | |||||
* | Py3k: fix deprecation warning | Emile Anclin | 2010-10-18 | 1 | -2/+3 |
| | |||||
* | typo | Sylvain Th?nault | 2010-10-12 | 1 | -2/+2 |
| | |||||
* | remove py2.2 compat ; use deprecation warnings | Emile Anclin | 2010-10-06 | 1 | -139/+18 |
| | |||||
* | [tests] fix usage of os.access in unittest_fileutils.py | Julien Jehannet | 2010-09-30 | 1 | -1/+1 |
| | | | | | | os.access is often problematic in some environments (chroot, fakeroot, nfs, ...) since it uses read uid instead of effective uid in contrast to other file utilities found in posix world. Consider using os.stat() and stat constants when possible. | ||||
* | [pkginfo] fix json import logic (we don't want a new dependency) | Julien Jehannet | 2010-09-30 | 1 | -4/+6 |
| | |||||
* | [compat] add more compat statement + update docstring | Julien Jehannet | 2010-09-28 | 1 | -0/+6 |
| | |||||
* | [compat] add compat import + update docstring | Julien Jehannet | 2010-09-28 | 1 | -4/+29 |
| | |||||
* | [py3k] compat: add str_to_bytes and str_encode | Emile Anclin | 2010-09-21 | 1 | -0/+14 |
| | | | | | | In py3k, things are different: we will sometimes need to convert str to bytes if we want to write data into a file; and on other times we don't need to encode str to something | ||||
* | [py3k] file is replaced in 3k by some io class | Emile Anclin | 2010-09-21 | 1 | -0/+7 |
| | |||||
* | [py3k] compat : __builtin__ will be replaced by builtins in py3k | Emile Anclin | 2010-09-21 | 1 | -2/+2 |
| | |||||
* | [py3k] define raw_input for py3.x | Emile Anclin | 2010-09-21 | 1 | -0/+5 |
| | |||||
* | [py3k] add callable to compat.py | Emile Anclin | 2010-09-13 | 1 | -0/+8 |
| | | | | | import "callable" where needed. We can't use collections in python <= 2.5 | ||||
* | fix some pylint detected errors | Sylvain Th?nault | 2010-08-27 | 1 | -5/+3 |
| | |||||
* | Add a InheritableSet to lgc.compat | Pierre-Yves David | 2010-08-18 | 1 | -1/+15 |
| | | | | | | | | | | On version prior to 2.5 subclassing a set is troublesome as the set initialisation is done in set.__new__ instead of set.__init__. Any additional argument is processed as is by the __new__ methods leading to TypeError. It's not the case in 2.5 and above. We create a InheritableSet class which only differ of set for version prior do 2.5. It overwrite the __new__ methods to only pass the first argument to set.__new__ and init the object as expected afterward. | ||||
* | missing replacement in disclaimer; include COPYING.LESSER in manifest; kill ↵ | Sylvain Th?nault | 2010-04-28 | 1 | -1/+1 |
| | | | | DEPENDS file | ||||
* | propre licensing information (LGPL-2.1). Hope I get it right this time. | Sylvain Th?nault | 2010-04-28 | 1 | -3/+20 |
| | |||||
* | update license, logilab-common is licensed under LGPLv2 | Adrien Di Mascio | 2010-04-13 | 1 | -1/+1 |
| | |||||
* | Add os.path.relpath function in logical.common.compat for pre-2.6 python. | Pierre-Yves David | 2009-12-07 | 1 | -0/+23 |
| | |||||
* | include Dotan Barak spell fixes patch | Sylvain Th?nault | 2009-11-23 | 1 | -3/+3 |
| | |||||
* | remove deprecated code | Sylvain Th?nault | 2009-08-07 | 1 | -5/+0 |
| | |||||
* | subprocess doesn't exists w/ python < 2.4 or in gae environment | Sylvain Th?nault | 2009-06-29 | 1 | -45/+49 |
| | |||||
* | d-t-w | Sylvain Th?nault | 2009-06-29 | 1 | -17/+15 |
| | |||||
* | Python2.5 subprocess added functions and exceptions (call() + check_call()) | Julien Jehannet | 2008-11-21 | 1 | -0/+48 |
| | |||||
* | improve doc for better epydoc generation (again). | Nicolas Chauvat | 2008-07-14 | 1 | -4/+2 |
| | |||||
* | improve doc for better epydoc generation. | Nicolas Chauvat | 2008-07-13 | 1 | -18/+9 |
| | |||||
* | compat: adds a max function taking 'key' as keyword argument | Pierre-Yves David | 2008-06-24 | 1 | -0/+40 |
| | |||||
* | better description | Alexandre Fayolle | 2008-05-01 | 1 | -2/+2 |
| | |||||
* | reorganize, deprecation warning for deprecated stuff, remove old deprecated ↵ | Sylvain | 2006-11-08 | 1 | -2/+2 |
| | | | | function/methods | ||||
* | apycot fixes | Sylvain | 2006-10-25 | 1 | -2/+1 |
| | |||||
* | don't need to cast elements to bool | Adrien Di Mascio | 2006-06-20 | 1 | -2/+2 |
| | |||||
* | adds any/all builtins | Adrien Di Mascio | 2006-06-20 | 1 | -0/+25 |
| | |||||
* | full implementation of sorted | Adrien Di Mascio | 2006-06-19 | 1 | -3/+12 |
| | |||||
* | add cmp argument to sorted | syt | 2006-06-07 | 1 | -2/+2 |
| | |||||
* | made frozenset available in python2.4 | Adrien Di Mascio | 2006-05-15 | 1 | -1/+2 |
| | |||||
* | frozenset (basic) implementation in compat.py | Adrien Di Mascio | 2006-05-12 | 1 | -16/+51 |
| | |||||
* | forget the past. | root | 2006-04-26 | 1 | -0/+145 |
forget the past. |