[15:08:24] <GothAlice> Welp. Things are getting curiouser and curiouser. The BSON package iterates the filter document dict passed to find_one/find directly. For some reason. Instead of iterating the .items() view.
[15:08:46] <GothAlice> https://github.com/marrow/mongo/commit/700d7a004194668af2b543c53596b08510da630f ← makes this explode most gloriously.
[15:24:35] <GothAlice> Oh, yeah, and thanks, PyMongo BSON, for using direct access of an actually private attribute for data storage. (Instead of bytes(oid), it accesses: oid.__id. Which, due to the double underscore, is actually stored as oid._ObjectId__id, making this the single ugliest/dirtiest/grossest bit of Python code I have written in two years:
[17:04:23] <zylo4747> When I use mongo at the shell and i specify host names using --host it seems to only allow me to enter 3 names. If I put more, it fails. Is this expected behavior? I don't remember having this issue and I can't find anything regarding this online.
[17:04:39] <zylo4747> I get an "invalid url" error when I specify more than 3
[17:08:13] <GothAlice> zylo4747: https://docs.mongodb.com/manual/reference/connection-string/#components — “Specify as many hosts as appropriate for your deployment topology…” would indicate that the error is not intended.
[17:19:07] <zylo4747> That's for the connection string format, I'm specifically using this in the mongo.exe shell. I wonder if they just behave differently https://docs.mongodb.com/manual/reference/program/mongo/#cmdoption-mongo-host
[17:32:06] <zylo4747> GothAlice I had one of the devs try this with the app and it doesn't seem to have the same problem using a mongodb:// url
[17:32:32] <zylo4747> this only seems to be affecting the mongo shell