Bug #2579

Unable to use numbers or uppercase letters in variable names

Added by N. Köster about 8 years ago. Updated almost 8 years ago.

Status:ResolvedStart date:06/22/2016
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:0.6

Description

Adding the following to the setuptools template

        "python2.version": "2.7",
        "python2.binary":  "python${python2.version}",
        "python3.version": "3.2",
        "python3.binary":  "python${python3.version}",

        "python.version": "${python2.version}",
        "python.binary":  "python${python.version}" 

leads to

Same happens for letters:

        "pythonA.version": "2.7",
        "pythonA.binary":  "python${pythonA.version}",
        "pythonB.version": "3.2",
        "pythonB.binary":  "python${pythonB.version}",

        "python.version": "${pythonA.version}",
        "python.binary":  "python${python.version}" 

leads to

Associated revisions

Revision 3c837047
Added by J. Moringen about 8 years ago

Fixed handling of variable name case/digits in src/project/json.lisp

fixes #2579

  • src/project/json.lisp (load-template/json-1): use `%decode-json-from-source'
    (load-project-spec/json-1): likewise
    (load-distribution-spec/json-1): likewise
    (%decode-json-from-source): new function; like
    `decode-json-from-source' but do not de-camel-casize variable names

History

#1 Updated by J. Moringen about 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by J. Moringen almost 8 years ago

  • Target version set to 0.6

Also available in: Atom PDF