From 33e842ecdafc4856a9cf227096f74eae44073aa0 Mon Sep 17 00:00:00 2001 From: James Little Date: Tue, 8 Sep 2015 21:21:21 +0100 Subject: [PATCH] Changing default uuid subtype to STANDARD from PYTHON_LEGACY --- bson/_cbsonmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bson/_cbsonmodule.c b/bson/_cbsonmodule.c index d762cfd673..d501f12f39 100644 --- a/bson/_cbsonmodule.c +++ b/bson/_cbsonmodule.c @@ -140,7 +140,7 @@ void default_codec_options(codec_options_t* options) { // TODO: set to "1". PYTHON-526, setting tz_aware=True by default. options->tz_aware = 0; - options->uuid_rep = PYTHON_LEGACY; + options->uuid_rep = STANDARD; options->unicode_decode_error_handler = NULL; options->tzinfo = Py_None; Py_INCREF(options->tzinfo);