Fish Trophy

chipx86 got a fish trophy!

Fix argument parsing on Python 3.11.

Review Request #12521 — Created Aug. 9, 2022 and submitted

chipx86
RBTools
release-3.x
rbtools

Python 3.11 removed support for inspect.getargspec(), which is needed
when we first parse command line arguments. This prevented RBTools from
running at all on Python 3.11.

We now use getfullargspec() if available, and fall back on
getargspec(). This also avoids warnings on earlier versions.

Successfully posted this change using RBTools on Python 3.11.

Summary
Fix argument parsing on Python 3.11.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (8fd7e89)
Loading...