Source

pypy / pypy / config / config.py

Author Commit Message Labels Comments Date
Antonio Cuni
add a __dir__ method to Config objects. This way we can tab-complete also the option names
Armin Rigo
Synchronize the handling of BoolOption and ChoiceOption.
Armin Rigo
Fix a bug in option parsing. Shown by "translate.py --gc=boehm --jit" which would actually select the hybrid gc.
Maciej Fijalkowski
Check-in merge attempt. Diff is to huge to read it.
Armin Rigo
* Add a hook allowing code to check if bool options can be enabled. * Use the hook to check if libffi is installed, for '_rawffi'. * Use a custom ConfigError instead of ValueError to report bad option combinations. * Add a way to report warnings.
Carl Friedrich Bolz
better suggestion handling
Carl Friedrich Bolz
add a __delattr__ for debugging purposes
Alexander Schremmer
Fix exception message in pypy.config.config
Carl Friedrich Bolz
print the link with py.py too
Carl Friedrich Bolz
move the getpaths function to the OptionDescription, to not have to make a Config object only to get the paths.
Carl Friedrich Bolz
reorder classes so that all the (less important) optparse stuff is grouped together
Carl Friedrich Bolz
oops
Carl Friedrich Bolz
train experiments: try to produce some human-readable information out of the option descriptions
Carl Friedrich Bolz
test + fix
Carl Friedrich Bolz
add a "suggests" to options: if a ChoiceOption suggests another option, it will be set, but can be overridden.
Armin Rigo
pedronis and arigo trying to merge again...
Armin Rigo
(pedronis, arigo) Restoring the branch at the state just before things went wrong
Carl Friedrich Bolz
(cfbolz, pedronis and arigo discussing) add copy method
Carl Friedrich Bolz
make_dict helper function
Carl Friedrich Bolz
Merging the config branch: now config objects are consistently used in quite some parts of the translation toolchain. Config objects are also used to generate the commandline options of py.py and translate.py. svn merge -r 33690:HEAD http://codespeak.net/svn/pypy/branch/even-more-config4
Carl Friedrich Bolz
make it possible to say --usemodules=-math to disable a module which is by default enabled.
Carl Friedrich Bolz
for every boolean option add an equivalent --no-... option. The help for it is a bit strange still.
Carl Friedrich Bolz
svn merge -r 32051:HEAD http://codespeak.net/svn/pypy/branch/config-in-more-places/ Merge in config branch. Now py.py and targetpypystandalone both take a lot more options.
Guido Wesdorp
Removed old stuff.
Guido Wesdorp
Moved function get_paths to method Config.getpaths()
Guido Wesdorp
Added function 'get_paths(config)' to config.py that walks through a config object and returns a list of all possible paths, using it in the __main__ bit of pypyoption.py to build the optionparser from (meaning all possible options are now exposed when you run pypyoption.py on the command line).
Carl Friedrich Bolz
svn merge http://codespeak.net/svn/pypy/dist@29785 http://codespeak.net/svn/pypy/branch/objspace-config-cleanup@29920 . thanks arre. second attemt at merging, seems to work. I ran all tests and fixed some places where tests didn't use gettestobjspace
Carl Friedrich Bolz
svn merge -r 29944:29943 revert previous messed up merge attempt
Carl Friedrich Bolz
(cfbolz, guido): svn merge -r 29786:29920 http://codespeak.net/svn/pypy/branch/objspace-config-cleanup .
Carl Friedrich Bolz
more option stuff: * add an IntOption and a FloatOption * prevent modification of options after freezing * being able to loop over options * remove the ListOption
  1. Prev
  2. 1
  3. 2
  4. Next