Message216600
Yury,
An other point, as you proposed, I will check the version of Python in
an unit test.
But is there a good practice?
Here is my way to check that:
Example from my patch for the issue with inspect.getfullargspec()
+ getfullargspec = getattr(inspect, 'getfullargspec', None)
+ if getfullargspec and sys.version_info >= (3, 7):
+ self.fail("inspect.getfullargspec() is deprecated since
3.5, "
+ "you must to remove it in 3.7")
Are you agree with that, or there is a good way for this kind of
improvement?
Thank you so much,
Stephane |
|
Date |
User |
Action |
Args |
2014-04-16 21:36:35 | matrixise | set | recipients:
+ matrixise, rhettinger, eric.araujo, r.david.murray, Claudiu.Popa, bignose, eric.snow, berker.peksag, martin.panter, yselivanov |
2014-04-16 21:36:35 | matrixise | link | issue12916 messages |
2014-04-16 21:36:35 | matrixise | create | |
|