Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b5c4e6f0
Commit
b5c4e6f0
authored
May 21, 2006
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor clarification
parent
9715d3af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
lib/python/Products/PageTemplates/tests/testExpressions.py
lib/python/Products/PageTemplates/tests/testExpressions.py
+9
-8
No files found.
lib/python/Products/PageTemplates/tests/testExpressions.py
View file @
b5c4e6f0
...
@@ -51,14 +51,15 @@ class ExpressionTests(unittest.TestCase):
...
@@ -51,14 +51,15 @@ class ExpressionTests(unittest.TestCase):
ec
=
self
.
ec
ec
=
self
.
ec
assert
ec
.
evaluate
(
'x | nothing'
)
is
None
assert
ec
.
evaluate
(
'x | nothing'
)
is
None
# XXX this fails because Zope 3 doesn't allow empty path
# XXX The following test fails because Zope 3 doesn't allow
# elements. My idea is to deprecate blank path elements and
# empty path elements. My idea is to eventually disallow
# allow them for the time of the deprecation period. We do
# blank path elements, but to allow them for a limited
# that by implementing our own SubPathExpr that just looks for
# deprecation period. We do that by implementing our own
# empty path elements and replaces them with a call to a
# SubPathExpr that just looks for empty path elements and
# TALESNamespace adapter that explicitly does the empty
# replaces them with a call to a TALESNamespace adapter that
# element lookup. Then we hand off to the standard Zope 3
# explicitly does the empty element lookup. Then we hand off
# SubPathExpr implementation. Something along these lines:
# to the standard Zope 3 SubPathExpr implementation.
# Something along these lines (pseudo-ish code!):
#
#
# class Zope2SubPathExpr(SubPathExpr):
# class Zope2SubPathExpr(SubPathExpr):
# def __init__(self, text, ...):
# def __init__(self, text, ...):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment