[Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
Tim Peters
tim.peters at gmail.com
Wed Dec 18 17:54:26 CET 2013
More information about the Python-Dev mailing list
Wed Dec 18 17:54:26 CET 2013
- Previous message: [Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
- Next message: [Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Daniel Holth] > But who could forget njzrs' wasp UAV software line 107, using > int=float? https://github.com/nzjrs/wasp/blob/master/sw/groundstation/wasp/__init__.py#L107 I could forget it ;-) The remarkable thing about the two instances of: random.randrange(0.0,1.0, int=float) in that file is that they're obscure and inefficient ways to spell: random.random() Which reminds me. I used to think there was no such thing as a stupid question. Then I discovered Stack Overflow ;-)
- Previous message: [Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
- Next message: [Python-Dev] Backward-incompatible change to random.randrange in 2.7.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list