Wednesday, 2018-12-19

*** itlinux has joined #openstack-swift00:08
*** itlinux has quit IRC00:28
*** itlinux has joined #openstack-swift00:28
*** itlinux has quit IRC00:29
*** gyee has quit IRC00:55
*** itlinux has joined #openstack-swift01:12
openstackgerritMerged openstack/swift master: fix documentation of default  https://review.openstack.org/62602602:19
*** itlinux has quit IRC02:40
*** psachin has joined #openstack-swift02:58
openstackgerritPete Zaitcev proposed openstack/swift master: py3: adapt the account server completely  https://review.openstack.org/61350503:29
openstackgerritPete Zaitcev proposed openstack/swift master: Add a comment about the module list for py3 in tox.ini  https://review.openstack.org/62607703:37
kota_hello world03:45
*** bharath54321 has joined #openstack-swift04:01
*** bharath54321 has quit IRC04:57
mattoliveraukota_: o/05:19
kota_mattoliverau: ¥o/05:19
*** mgagne has quit IRC06:35
*** mgagne has joined #openstack-swift06:40
*** ccamacho has joined #openstack-swift07:40
*** hseipp has joined #openstack-swift07:41
*** pcaruana has joined #openstack-swift08:03
*** gkadam has joined #openstack-swift08:11
*** pcaruana has quit IRC08:24
*** pcaruana has joined #openstack-swift08:33
*** pcaruana has quit IRC08:41
*** e0ne has joined #openstack-swift08:47
*** rcernin has quit IRC08:51
*** e0ne has quit IRC09:28
*** e0ne has joined #openstack-swift09:50
*** psachin has quit IRC10:29
*** ccamacho has quit IRC11:05
*** e0ne has quit IRC11:09
*** ccamacho has joined #openstack-swift11:14
*** e0ne has joined #openstack-swift12:01
*** hogepodge has quit IRC12:29
*** hogepodge has joined #openstack-swift12:30
*** hseipp has quit IRC13:03
*** SkyRocknRoll has joined #openstack-swift13:35
*** e0ne has quit IRC13:43
*** e0ne has joined #openstack-swift14:02
*** hseipp has joined #openstack-swift14:18
*** mikecmpbll has joined #openstack-swift15:15
*** ccamacho has quit IRC15:35
*** ccamacho has joined #openstack-swift16:01
rlediseznotmyname: i won't attend the meeting tonight. be sure to congrat everybody for me about the release of swift 2.20 ;)16:11
notmynamerledisez: thanks for letting me know16:12
notmynamenext meeting is in january (no meeting next week)16:12
notmynamehave a merry christmas16:12
rledisezok, you too16:12
*** itlinux has joined #openstack-swift16:15
*** gyee has joined #openstack-swift16:31
*** jistr has quit IRC16:41
*** jistr has joined #openstack-swift16:42
*** jistr_ has joined #openstack-swift16:46
*** jistr has quit IRC16:47
*** jistr_ has quit IRC16:51
*** jistr has joined #openstack-swift16:52
*** hseipp has quit IRC16:54
*** e0ne has quit IRC17:05
*** e0ne has joined #openstack-swift17:19
*** e0ne has quit IRC17:24
*** SkyRocknRoll has quit IRC17:38
*** mikecmpbll has quit IRC17:39
*** mikecmpbll has joined #openstack-swift17:46
*** gkadam has quit IRC17:46
*** e0ne has joined #openstack-swift18:33
*** e0ne has quit IRC18:40
*** e0ne has joined #openstack-swift19:40
openstackgerritMerged openstack/swift master: py3: adapt the account server completely  https://review.openstack.org/61350519:58
*** e0ne has quit IRC20:23
kota_morning20:59
mattoliveraumorning21:00
notmynameswift team meeting time in #openstack-meeting (last meeting of 2018)21:01
timburkeok, 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
timburkeseparate from that (in my mind), there's a third type: str. this is bytes on py2 and unicode on py321:25
timburke(seriously, `str is bytes` is True on py2, and *instead of* having a `unicode`, py3 just has `str`)21:26
timburkehttps://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
timburkesee 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
timburkeso 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 json21:34
*** rcernin has joined #openstack-swift22:19
mattoliverauwow, that is.. I don't know what to call it.. horrible (?). thanks timburke.22:21
timburkeyeah... 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
timburkebut whenever you see a str_to_wsgi or wsgi_to_bytes -- that's what's going on22:23
timburkei'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 IRC22:36
*** rcernin has joined #openstack-swift22:37
*** rcernin has quit IRC22:57
*** rcernin has joined #openstack-swift22:58
*** rcernin has quit IRC22:59
*** rcernin has joined #openstack-swift23:07
*** rcernin has quit IRC23:38
*** rcernin has joined #openstack-swift23:41
mattoliveraugreat explaination, thanks timburke (sorry needed to go to a meeting).23:54
timburkeno worries :-)23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!