Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: century-arcade/xd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: imjonathan/xd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 0 files changed
  • 1 contributor

Commits on May 14, 2025

  1. Script died when therewas a warn() call.

    This was because warnings was not imported.
    This caused a failure to convert this puzzle: https://www.xwordinfo.com/Crossword?date=12/29/2024 since it has -'s in it.
    
    Traceback (most recent call last):
      File "/src/xd/puz2xd-standalone.py", line 331, in <module>
        main(fn)
      File "/src/xd/puz2xd-standalone.py", line 326, in main
        xd = parse_puz(open(fn, mode='rb').read(), fn)
      File "/src/xd/puz2xd-standalone.py", line 289, in parse_puz
        warn("%s: unknown grid character '%s', assuming rebus (as '%s')" % (filename, ch, cellch))
    NameError: name 'warn' is not defined
    
    Now the script now warns:
    /src/xd/puz2xd-standalone.py:290: UserWarning: nyt/NY Times - 20241229 - Multi-Hyphenates.puz: unknown grid character '-', assuming rebus (as '1')
      warnings.warn("%s: unknown grid character '%s', assuming rebus (as '%s')" % (filename, ch, cellch))
    imjonathan committed May 14, 2025
    Configuration menu
    Copy the full SHA
    6186cc2 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2025

  1. Configuration menu
    Copy the full SHA
    381a37d View commit details
    Browse the repository at this point in the history
Loading