Message239842
Oh, this is a catch when backport to 2.7. Here is a patch that makes dev_t converter to support int and int-like types. Added tests (surprisingly there were no tests for makedev/major/minor at all).
> so maybe revert that optimization for the released branches?
It is not an optimization, but required for backward compatibility. Third-party code can expect int and only int. |
|
Date |
User |
Action |
Args |
2015-04-01 20:08:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, doko, vstinner, benjamin.peterson |
2015-04-01 20:08:04 | serhiy.storchaka | set | messageid: <1427918884.33.3.9753694137e-05.issue23842@psf.upfronthosting.co.za> |
2015-04-01 20:08:04 | serhiy.storchaka | link | issue23842 messages |
2015-04-01 20:08:04 | serhiy.storchaka | create | |
|