MantisBT - LibCSS
View Issue Details
0002819LibCSSLibCSSpublic2021-05-07 14:362021-05-07 14:36
ReporterRalf Junker 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Fixed in CI build #
Reported in CI build #
Summary0002819: select_generator.py improvements: Deterministic sort order & newlines, fix Python 3 warnings
DescriptionThe attached select_generator.py improves the following:

* Add property name to sort key for a deterministic sort order. This avoids apparently random changes to auto-generated files each time select_generator.py is run (seen on Windows).

* Add 'newline="\n"\ to force LF even on Windows. Needs Python 3.

* Fix Python 3 warnings:

    * "is" / "=="
    * "is not" / "!=".

The attached file is modified against libcss GIT master 0504194e51a35a88ceba06288a6a2d8243b27516.
TagsNo tags attached.
Attached Files? select_generator.py (31,568) 2021-05-07 14:36
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=704&type=bug

There are no notes attached to this issue.

Issue History
2021-05-07 14:36Ralf JunkerNew Issue
2021-05-07 14:36Ralf JunkerFile Added: select_generator.py