[ https://issues.apache.org/jira/browse/LUCENE-9235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040526#comment-17040526 ]
Robert Muir commented on LUCENE-9235: ------------------------------------- So its the original code that's wrong. It relies on undefined dictionary order. Now the generation code behaves crazy depending on your version of python. Since I have python3.6+, the ordering of dictionaries becomes well-defined (insertion order). So I can run 'ant regenerate' a million times on my computer and generated code will not change. But if you have an older python version, you'll probably see diffs in generated output because it will use arbitrary order. > upgrade all python to python3 > ----------------------------- > > Key: LUCENE-9235 > URL: https://issues.apache.org/jira/browse/LUCENE-9235 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Robert Muir > Priority: Major > Attachments: LUCENE-9235.patch > > > Lets just kill the python2 and simplify the build. Since its only being used > for regenerating sources, ideally its easy to validate. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org