[New-bugs-announce] [issue38120] DeprecationWarning in test_random due to invalid seed arguments

Karthikeyan Singaravelan report at bugs.python.org
Wed Sep 11 12:06:48 EDT 2019


New submission from Karthikeyan Singaravelan <tir.karthi at gmail.com>:

Since d0cdeaab76fef8a6e5a04665df226b6659111e4e (bpo-32554) using random.seed raises DeprecationWarning for some types. This is not handled in test_random causing DeprecationWarnings. I will raise a PR for this.

commit d0cdeaab76fef8a6e5a04665df226b6659111e4e
Author: Raymond Hettinger <rhettinger at users.noreply.github.com>
Date:   Thu Aug 22 09:19:36 2019 -0700

    bpo-32554: Deprecate hashing arbitrary types in random.seed() (GH-15382)

----------
components: Tests
messages: 351966
nosy: pablogsal, rhettinger, vstinner, xtreak
priority: normal
severity: normal
status: open
title: DeprecationWarning in test_random due to invalid seed arguments
type: behavior
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38120>
_______________________________________


More information about the New-bugs-announce mailing list