Mark Harrison
Mark Harrison
Looks like the release of [mypy 1.11](https://mypy-lang.blogspot.com/2024/07/mypy-111-released.html) is catching new errors.
Should extra whitespace be preserved when reading comments? To ask another way, what was the reason for [this commit](https://github.com/niklasf/python-chess/commit/f3367ea4b1402ed04be2190371ebc8c72c2276c8)? I would think that a newline in the middle of a...
The issues listed here have been separated into #780, #920, and #921.
With respect to `time.monotonic()`, I misinterpreted the Python docs. The [documentation](https://docs.python.org/3/library/time.html#time.monotonic) states that > Changed in version 3.10: On macOS, the function is now system-wide. I had thought this meant...
By default, the en passant square is only listed if there is a legal en passant move. If you want the usual FEN style, use `print(board.fen(en_passant='fen'))`. [Board.fen() method parameter documentation](https://github.com/niklasf/python-chess/blob/eaa6eb3b023e92441f9de810785bb1716dd4d0b5/chess/__init__.py#L2530-L2535)
Communication by chat is very limited for all engine types (XBoard, UCI, and homemade) since lichess looks down on automated posting. The currently allowed messages are: - Hello/goodbye as defined...
The difficulty with using XBoard chat commands (`tellopponent`, etc.) is that python-chess doesn't support them. I just tried having my engine output `tellall Good game!` and python-chess printed the warning...
Since it seems like this feature would not be used by most players, I'm closing this issue. @Others, if you would like help while implementing this chat feature (@AttackingOrDefending's idea...
I've written a class that can assist with looking ahead in a PGN without necessarily consuming the line. There are two methods that can be used to address the lookahead...
@realBravo Feel free to reopen this issue if you have other questions.