Ryan Kroon
Ryan Kroon
I have also experienced a similar issue. ``` In [22]: tokens = word_tokenize("Ryan's") In [23]: tokens Out[23]: ['Ryan', "'s"] In [24]: d.detokenize(tokens) Out[24]: "Ryan 's" ```
@prabhupad26 I just posted a similar issue here. https://github.com/MongoEngine/mongoengine/issues/2684 I think the real issue is that `prepare_query_value()` on the `ObjectIdField` class has been overridden to call `to_mongo()` when it shouldn't...
@prabhupad26 So `prepare_query_value()` has nothing to do with the actual _storing_ of the value, so if this method were removed it would not interfere with storing values that are **not**...
@prabhupad26 So the change you are suggesting would help your specific issue, but it wouldn't resolve the underlying issue. For example if you look at my ticket for the situation...
> The issue seems to be in the `gunicorn -> workers/base.py -> init_process() -> def changed(fname)` method. This function is called by the change watcher thread and it ends with...