New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the compatibility policy #12168
Conversation
Fix various formatting issues and introduce NEXT placeholders where applicable.
3d37d7d
to
ed3bd5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
|
||
Functions and methods | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
Pass ``Version("Twisted", "NEXT", 0, 0)`` `incremental placeholder <https://github.com/twisted/incremental#updating>`_ to the to indicate the upcoming release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we recommand a single placeholder ?
I would go with Twisted NEXT
as it should be valid for both Python or RST code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're not interchangeable: Version(...)
is what you pass to the APIs; Twisted NEXT
is what you use in docstrings and/or assertions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the info.
I see why you might want to have an increment Version instance in Python... but I always felt that this is an overengineering ... at least for the deprecation warning message.
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
Thanks Adi! |
Fix various formatting issues and introduce NEXT placeholders where applicable.
Scope and purpose
Fixes #12167.
I noticed that the reST syntax for notes was mangled, resulting in the note content being hidden. I restored these notes.
I also removed language about "new-style" classes because old-style classes are mercifully a thing of the past and reworded/rearranged some sections.