Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH] test: use yaml.safe_load() instead of yaml.load()
Date: Tue, 30 Apr 2019 06:05:02 +0300	[thread overview]
Message-ID: <20190430030501.ablag4cb66qetq42@tkn_work_nb> (raw)
In-Reply-To: <d5fdc533990620a8af520dd68f697b26d9513f7c.1556591725.git.alexander.turenko@tarantool.org>

Pushed to master, 2.1 and 1.10.

WBR, Alexander Turenko.

On Tue, Apr 30, 2019 at 06:00:24AM +0300, Alexander Turenko wrote:
> The primary reason why this change is needed is that yaml.load() w/o an
> explicit loader was banned in Gentoo Linux for recent pyyaml versions;
> see [1].
> 
> We don't use the pyyaml feature that allows to construct a Python object
> based on a yaml tag, so safe_load() fit our needs.
> 
> See also related changes in test-run and tarantool-python ([2], [3], [4]).
> 
> [1]: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ba924d94cb0cf8559565178414c2a1d687b90c
> [2]: https://github.com/tarantool/test-run/commit/38400e91c600677fb661154d00459d660fa9880d
> [3]: https://github.com/tarantool/test-run/commit/89808d60eb3b5130e227fc1a7866f2ad5a197bea
> [4]: https://github.com/tarantool/tarantool-python/commit/350771d240a18eec188a53e8c696028b41baa13f
> ---
> 
> no issue
> https://github.com/tarantool/tarantool/tree/Totktonada/python-use-yaml-safe-load

      reply	other threads:[~2019-04-30  3:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-30  3:00 [tarantool-patches] " Alexander Turenko
2019-04-30  3:05 ` Alexander Turenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190430030501.ablag4cb66qetq42@tkn_work_nb \
    --to=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH] test: use yaml.safe_load() instead of yaml.load()' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox