Skip to content

Commit 47a2dd0

Browse files
committed
Merge pull request #186 from longbai/unicode
2.x unicode
2 parents 13c73a9 + d6872dc commit 47a2dd0

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
#Changelog
22

3+
## 7.0.6 (2015-12-05)
4+
### 修正
5+
* 2.x unicode 问题 by @hunter007
6+
* 上传重试判断
7+
8+
### 增加
9+
* fsizeMin 上传策略
10+
* 断点上传记录 by @hokein
11+
* 计算stream etag
12+
* 3.5 ci 支持
13+
314
## 7.0.5 (2015-06-25)
415
### 变更
516
* 配置up_host 改为配置zone

qiniu/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# flake8: noqa
1111

12-
__version__ = '7.0.5'
12+
__version__ = '7.0.6'
1313

1414
from .auth import Auth
1515

qiniu/compat.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
numeric_types = (int, long, float) # noqa
4444

4545
def b(data):
46-
return data
46+
return bytes(data)
4747

4848
def s(data):
49-
return data
49+
return bytes(data)
5050

5151
def u(data):
5252
return unicode(data, 'unicode_escape') # noqa

0 commit comments

Comments
 (0)