[
https://issues.apache.org/jira/browse/TINKERPOP-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892949#comment-16892949
]
ASF GitHub Bot commented on TINKERPOP-2272:
-------------------------------------------
spmallette commented on pull request #1169: TINKERPOP-2272 Renamed steps/tokens
conflicting with global function names
URL: https://github.com/apache/tinkerpop/pull/1169
https://issues.apache.org/jira/browse/TINKERPOP-2272
Used the standard underscore suffix on these problems. Didn't document a
bunch purposely because the intention is to retain the old conflicting
steps/tokens for the time being (both are currently present in the library so
as to be backward compatible in 3.3.x and 3.4.x). In 3.5.0 all tests will be
modified, documentation updated and the old conflicting names completely
removed. So, for now at least the new methods are present for use and we don't
have a breaking change to be concerned about.
Builds with `mvn clean install -pl gremlin-python`
VOTE +1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Rename steps and tokens that conflict with standard python functions
> --------------------------------------------------------------------
>
> Key: TINKERPOP-2272
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2272
> Project: TinkerPop
> Issue Type: Improvement
> Components: python
> Affects Versions: 3.3.7
> Reporter: stephen mallette
> Assignee: stephen mallette
> Priority: Major
>
> The following steps overlap standard python functions:
> {code}
> filter()
> id()
> max()
> min()
> range()
> sum()
> {code}
> They need to be renamed to have the underscore suffix.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)