*** itlinux has joined #openstack-swift | 00:08 | |
*** itlinux has quit IRC | 00:28 | |
*** itlinux has joined #openstack-swift | 00:28 | |
*** itlinux has quit IRC | 00:29 | |
*** gyee has quit IRC | 00:55 | |
*** itlinux has joined #openstack-swift | 01:12 | |
openstackgerrit | Merged openstack/swift master: fix documentation of default https://review.openstack.org/626026 | 02:19 |
---|---|---|
*** itlinux has quit IRC | 02:40 | |
*** psachin has joined #openstack-swift | 02:58 | |
openstackgerrit | Pete Zaitcev proposed openstack/swift master: py3: adapt the account server completely https://review.openstack.org/613505 | 03:29 |
openstackgerrit | Pete Zaitcev proposed openstack/swift master: Add a comment about the module list for py3 in tox.ini https://review.openstack.org/626077 | 03:37 |
kota_ | hello world | 03:45 |
*** bharath54321 has joined #openstack-swift | 04:01 | |
*** bharath54321 has quit IRC | 04:57 | |
mattoliverau | kota_: o/ | 05:19 |
kota_ | mattoliverau: ¥o/ | 05:19 |
*** mgagne has quit IRC | 06:35 | |
*** mgagne has joined #openstack-swift | 06:40 | |
*** ccamacho has joined #openstack-swift | 07:40 | |
*** hseipp has joined #openstack-swift | 07:41 | |
*** pcaruana has joined #openstack-swift | 08:03 | |
*** gkadam has joined #openstack-swift | 08:11 | |
*** pcaruana has quit IRC | 08:24 | |
*** pcaruana has joined #openstack-swift | 08:33 | |
*** pcaruana has quit IRC | 08:41 | |
*** e0ne has joined #openstack-swift | 08:47 | |
*** rcernin has quit IRC | 08:51 | |
*** e0ne has quit IRC | 09:28 | |
*** e0ne has joined #openstack-swift | 09:50 | |
*** psachin has quit IRC | 10:29 | |
*** ccamacho has quit IRC | 11:05 | |
*** e0ne has quit IRC | 11:09 | |
*** ccamacho has joined #openstack-swift | 11:14 | |
*** e0ne has joined #openstack-swift | 12:01 | |
*** hogepodge has quit IRC | 12:29 | |
*** hogepodge has joined #openstack-swift | 12:30 | |
*** hseipp has quit IRC | 13:03 | |
*** SkyRocknRoll has joined #openstack-swift | 13:35 | |
*** e0ne has quit IRC | 13:43 | |
*** e0ne has joined #openstack-swift | 14:02 | |
*** hseipp has joined #openstack-swift | 14:18 | |
*** mikecmpbll has joined #openstack-swift | 15:15 | |
*** ccamacho has quit IRC | 15:35 | |
*** ccamacho has joined #openstack-swift | 16:01 | |
rledisez | notmyname: i won't attend the meeting tonight. be sure to congrat everybody for me about the release of swift 2.20 ;) | 16:11 |
notmyname | rledisez: thanks for letting me know | 16:12 |
notmyname | next meeting is in january (no meeting next week) | 16:12 |
notmyname | have a merry christmas | 16:12 |
rledisez | ok, you too | 16:12 |
*** itlinux has joined #openstack-swift | 16:15 | |
*** gyee has joined #openstack-swift | 16:31 | |
*** jistr has quit IRC | 16:41 | |
*** jistr has joined #openstack-swift | 16:42 | |
*** jistr_ has joined #openstack-swift | 16:46 | |
*** jistr has quit IRC | 16:47 | |
*** jistr_ has quit IRC | 16:51 | |
*** jistr has joined #openstack-swift | 16:52 | |
*** hseipp has quit IRC | 16:54 | |
*** e0ne has quit IRC | 17:05 | |
*** e0ne has joined #openstack-swift | 17:19 | |
*** e0ne has quit IRC | 17:24 | |
*** SkyRocknRoll has quit IRC | 17:38 | |
*** mikecmpbll has quit IRC | 17:39 | |
*** mikecmpbll has joined #openstack-swift | 17:46 | |
*** gkadam has quit IRC | 17:46 | |
*** e0ne has joined #openstack-swift | 18:33 | |
*** e0ne has quit IRC | 18:40 | |
*** e0ne has joined #openstack-swift | 19:40 | |
openstackgerrit | Merged openstack/swift master: py3: adapt the account server completely https://review.openstack.org/613505 | 19:58 |
*** e0ne has quit IRC | 20:23 | |
kota_ | morning | 20:59 |
mattoliverau | morning | 21:00 |
notmyname | swift team meeting time in #openstack-meeting (last meeting of 2018) | 21:01 |
timburke | ok, so mattoliverau: there are two basic types that will always match between py2 and py3: bytes and unicode. (py3 doesn't technically have a `unicode`, but u'...' works just fine) | 21:25 |
timburke | separate from that (in my mind), there's a third type: str. this is bytes on py2 and unicode on py3 | 21:25 |
timburke | (seriously, `str is bytes` is True on py2, and *instead of* having a `unicode`, py3 just has `str`) | 21:26 |
timburke | https://www.python.org/dev/peps/pep-3333/ forces us to invent another type though. all the important string-y values in the wsgi environment must be native strings, but the server lacks any context to know what encoding would be appropriate! | 21:29 |
timburke | see also https://www.python.org/dev/peps/pep-3333/#a-note-on-string-types which says 'even if Python's str type is actually Unicode "under the hood", the content of native strings must still be translatable to bytes via the Latin-1 encoding!' | 21:30 |
timburke | so to deal with utf-8 data on py3, we have to first re-encode the latin-1 string to get bytes, then decode it as utf-8 to get it into a form such as we'd stuff into a db or return to a client via json | 21:34 |
*** rcernin has joined #openstack-swift | 22:19 | |
mattoliverau | wow, that is.. I don't know what to call it.. horrible (?). thanks timburke. | 22:21 |
timburke | yeah... like, i understand it (particularly in the case where a single wsgi server needs to handle multiple applications), but it's pretty bad :-( | 22:22 |
timburke | but whenever you see a str_to_wsgi or wsgi_to_bytes -- that's what's going on | 22:23 |
timburke | i'd much prefer it if we had a way to tell the server, "hey, here's the encoding i want" | 22:26 |
timburke | (though we'd still have to worry about non-UTF-8 object metadata...) | 22:26 |
*** rcernin has quit IRC | 22:36 | |
*** rcernin has joined #openstack-swift | 22:37 | |
*** rcernin has quit IRC | 22:57 | |
*** rcernin has joined #openstack-swift | 22:58 | |
*** rcernin has quit IRC | 22:59 | |
*** rcernin has joined #openstack-swift | 23:07 | |
*** rcernin has quit IRC | 23:38 | |
*** rcernin has joined #openstack-swift | 23:41 | |
mattoliverau | great explaination, thanks timburke (sorry needed to go to a meeting). | 23:54 |
timburke | no worries :-) | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!