)]}'
{"swiftclient/service.py":[{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"b6de02e65b298efb25001b7621210b53106176b6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# -*- coding: utf-8 -*-"},{"line_number":2,"context_line":"# Copyright (c) 2010-2013 OpenStack, LLC."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"}],"source_content_type":"text/x-python","patch_set":2,"id":"7af24918_34825d01","line":1,"updated":"2016-03-01 14:12:10.000000000","message":"This should be not needed if we get rid of the magic colon.","commit_id":"f1d761c9b191379725a86cb0d953c115f9923c2a"},{"author":{"_account_id":10786,"name":"James Nzomo","email":"james@tdt.rocks","username":"moje"},"change_message_id":"92ff145dd8dc74e94bc7628bf36b5de287b6d574","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# -*- coding: utf-8 -*-"},{"line_number":2,"context_line":"# Copyright (c) 2010-2013 OpenStack, LLC."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_83020e3d","line":1,"in_reply_to":"7af24918_34825d01","updated":"2016-03-11 18:29:45.000000000","message":"thoughts behind magic colon at L310 reply","commit_id":"f1d761c9b191379725a86cb0d953c115f9923c2a"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"b6de02e65b298efb25001b7621210b53106176b6","unresolved":false,"context_lines":[{"line_number":307,"context_line":"        absolue-path object-prefixes)"},{"line_number":308,"context_line":"        \"\"\""},{"line_number":309,"context_line":"        self._object_name \u003d ntpath.splitdrive(text_type(value).translate("},{"line_number":310,"context_line":"            dict(zip([ord(\u0027:\u0027), ord(\u0027\\\\\u0027)], \u0027꞉/\u0027))))[1].lstrip(\u0027./\\\\\u0027)"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"class SwiftPostObject(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7af24918_b49f8d5e","line":310,"updated":"2016-03-01 14:12:10.000000000","message":"I do not like this second colon, it\u0027s much too deceptive despite the commit message explaining it well. Could we get an \\ua789 sequence here?","commit_id":"f1d761c9b191379725a86cb0d953c115f9923c2a"},{"author":{"_account_id":10786,"name":"James Nzomo","email":"james@tdt.rocks","username":"moje"},"change_message_id":"92ff145dd8dc74e94bc7628bf36b5de287b6d574","unresolved":false,"context_lines":[{"line_number":307,"context_line":"        absolue-path object-prefixes)"},{"line_number":308,"context_line":"        \"\"\""},{"line_number":309,"context_line":"        self._object_name \u003d ntpath.splitdrive(text_type(value).translate("},{"line_number":310,"context_line":"            dict(zip([ord(\u0027:\u0027), ord(\u0027\\\\\u0027)], \u0027꞉/\u0027))))[1].lstrip(\u0027./\\\\\u0027)"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"class SwiftPostObject(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3afc51ec_9df9cd50","line":310,"in_reply_to":"7af24918_b49f8d5e","updated":"2016-03-11 18:29:45.000000000","message":"Roger wilco..I\u0027ll swap out the ml-colon literal with the escape sequence and drop the PEP 0263 header.\n\n\nThe ml-colon is for the edge-case where we get input like so:-\n\n   swift upload cont/fldr c:\\file.ext\n\nwith swiftobject getting \"cont/fldr/c:\\file.ext\" for `object_name`.\n\nRather that jump thru extra hoops to hunt for and drop any mid-name drive specifier substring, I thought id just swap all \"winnt-forbidden midpath colon(s)\" together with forward slashe(s) in one fell str.translate() swoop with their appropriates.\n\nWhile true the \\ua789 swap is sort of deceptive, i think it\u0027s also really harmless. \n\nSee any real pitfalls?, please share.","commit_id":"f1d761c9b191379725a86cb0d953c115f9923c2a"}]}
