Skip to content

Return original code to the deprecated getters and setters #549

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

Merged
merged 2 commits into from
May 1, 2023

Conversation

penguinolog
Copy link
Collaborator

  • Make more aggressive deprecation warning

Fix: #548

Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master or python-dual-support branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment

* Make more aggressive deprecation warning

Fix: urwid#548
@penguinolog penguinolog force-pushed the deprecated_getters_setters branch from 92551b3 to 2d28599 Compare May 1, 2023 12:17
* Make more aggressive deprecation warning

Fix: urwid#548
@penguinolog penguinolog requested a review from wardi May 1, 2023 12:20
@@ -60,6 +61,7 @@ def read(self, size: int) -> bytes:

def write(self, data: bytes) -> None:
os.write(self.writer, data)
sleep(0.025)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix for stable failing tests, btw it's also present in dedicated to vterm PR

)
return self.contents
return self
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

== self.contents, but have to maintain copy-paste during deprecation period

@penguinolog penguinolog added the bug label May 1, 2023
@penguinolog penguinolog merged commit bac20db into urwid:master May 1, 2023
@penguinolog penguinolog deleted the deprecated_getters_setters branch June 5, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Current default branch breaks khal
2 participants