Skip to content

Conversation

Wulian233
Copy link
Contributor

@Wulian233 Wulian233 commented Sep 28, 2025

No description provided.

AA-Turner

This comment was marked as outdated.

@bedevere-app

This comment was marked as outdated.

@Wulian233

This comment was marked as outdated.

@AA-Turner
Copy link
Member

Ok, I'm proposing to remove that note from the 'A new type of interpreter' section, and I've also made the envvar change in the 'New & improved modules' PR. Could you retarget this PR to just make the zipfile.rst change?

A

@Wulian233 Wulian233 changed the title gh-123299: Copyedit What's New in 3.14 gh-123299: Copyedit What's New in zipfile.rst Oct 3, 2025
@AA-Turner AA-Turner changed the title gh-123299: Copyedit What's New in zipfile.rst gh-123299: Note SOURCE_DATE_EPOCH support in ZipFile.writestr() Oct 3, 2025
@Wulian233
Copy link
Contributor Author

Could you retarget this PR to just make the zipfile.rst change?

Finished, thank you!

Comment on lines 529 to 530
.. versionchanged:: 3.14
Now respects :envvar:`SOURCE_DATE_EPOCH` environment variable.
Copy link
Member

Choose a reason for hiding this comment

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

I think the text can be improved here. The sentence lacks an object, but more importantly we don't say what has actually changed in the method's behaviour if SDE is set.

A

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.. versionchanged:: 3.14
  :meth:`.ZipFile.writestr` now respects the :envvar:`SOURCE_DATE_EPOCH` environment variable. If set, it uses this value as the modification timestamp for the file written into the ZIP archive.

This will better?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@AA-Turner AA-Turner changed the title gh-123299: Note SOURCE_DATE_EPOCH support in ZipFile.writestr() Note SOURCE_DATE_EPOCH support in ZipFile.writestr() Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants