[issue24730] Returning a float via a method yields in an approximate value received

2015-07-26 Thread Dorin
New submission from Dorin: I was making a script to get some best configurations in a recursive manner when I noticed a weird result. In the attached script the method should return 1.3 but it received 1.27 -- components: Macintosh files: recursive.py messages: 247444 nosy

[issue43069] Python fails to read a script whose path is `/dev/fd/X`

2021-01-29 Thread Ciprian Dorin Craciun
New submission from Ciprian Dorin Craciun : Sometimes (especially from wrapper scripts) one would like to call Python with a script that should be read from a file-descriptor, like `python3 /dev/fd/9`; most likely the backing is a file in `TMPDIR` (perhaps unlinked, like `bash`'s