Page MenuHomeDevCentral

Stop using deprecated cgi module
ClosedPublic

Authored by dereckson on Oct 18 2024, 20:55.
Tags
None
Referenced Files
F11438578: D3536.id9085.diff
Wed, Aug 27, 03:05
F11435886: D3536.id.diff
Wed, Aug 27, 01:10
F11435302: D3536.id9084.diff
Wed, Aug 27, 00:58
F11430419: D3536.id9084.diff
Tue, Aug 26, 21:34
Unknown Object (File)
Mon, Aug 25, 08:31
Unknown Object (File)
Tue, Aug 19, 16:57
Unknown Object (File)
Tue, Aug 19, 07:26
Unknown Object (File)
Tue, Aug 19, 07:12
Subscribers
None

Details

Summary

The cgi module has been deprecated and will be removed in Python 3.13.

Side edits:

  • adhere more to Python conventions
  • improve HTML doctype
  • proofread messages

Original author: CoolCat467
Source: https://github.com/simon-budig/woof/pull/21

Fixes T2041.

Test Plan
  • woof CONTRIBUTORS.md
  • woof archiv/
  • woof -U (without upload)
  • woof -U, then compare file hashes

Diff Detail

Repository
rWURF wurf
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
drop-cgi-module-support (branched from replace-cgi)
Build Status
Buildable 5615
Build 5897: arc lint + arc unit

Event Timeline

dereckson created this revision.

Please note I'm NOT the author of that code change, this change is from https://github.com/CoolCat467

dereckson added inline comments.
woof
146

That's a good question how to detect if the upload has been interrupted.

Normally, that happens with a server when there is a timeout issue, so at this stage of the code I'm not sure it could be reached.

This revision is now accepted and ready to land.Oct 18 2024, 21:04