Skip to content

Commit 0523bde

Browse files
committed
New distribution [0.8.2]
* revised open usage * updated TODO status * updated Pipfile.lock * updated setup.py with Python 3.8 tag
1 parent 0c0056c commit 0523bde

7 files changed

Lines changed: 45 additions & 43 deletions

File tree

Pipfile.lock

Lines changed: 36 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111
[ ] Deal with files with coding cookie.
1212
[ ] f-strings with Python 3.8 assignment expressions: https://github.com/python/peps/commit/6a705de78ecbb61ff54ddd4ea798a13b2f4fa378
13-
[ ] Python 3.8 add f-string debugging using '=': https://github.com/python/cpython/pull/13123/files
13+
[x] Python 3.8 add f-string debugging using '=': https://github.com/python/cpython/pull/13123/files
1414
[ ] Test reference: https://github.com/python/cpython/blob/master/Lib/test/test_fstring.py

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# basic info
22
FROM library/ubuntu
3-
LABEL version 0.8.1
3+
LABEL version 0.8.2
44
LABEL description "Ubuntu Environment for F2FORMAT"
55

66
# prepare environment

f2format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
del multiprocessing
3232

3333
# version string
34-
__version__ = '0.8.1'
34+
__version__ = '0.8.2'
3535

3636
# from configparser
3737
BOOLEAN_STATES = {'1': True, '0': False,
@@ -297,7 +297,7 @@ def f2format(filename):
297297
print('Now converting %r...' % filename)
298298

299299
# fetch encoding
300-
encoding = os.getenv('F2FORMAT_ENCODING', LOCALE_ENCODING)
300+
encoding = os.getenv('F2FORMAT_ENCODING')
301301

302302
# file content
303303
with open(filename, 'r', encoding=encoding) as file:

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
long_desc = file.read()
1616

1717
# version string
18-
__version__ = '0.8.1'
18+
__version__ = '0.8.2'
1919

2020
# set-up script for pip distribution
2121
setup(
@@ -65,6 +65,7 @@
6565
'Programming Language :: Python :: 3.5',
6666
'Programming Language :: Python :: 3.6',
6767
'Programming Language :: Python :: 3.7',
68+
'Programming Language :: Python :: 3.8',
6869
'Programming Language :: Python :: 3 :: Only',
6970
'Topic :: Software Development',
7071
'Topic :: Utilities',

share/f2format.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Man page generated from reStructuredText.
22
.
3-
.TH F2FORMAT 1 "July 26, 2019" "v0.8.1" ""
3+
.TH F2FORMAT 1 "August 04, 2019" "v0.8.2" ""
44
.SH NAME
55
f2format \- back-port compiler for Python 3.6 f-string literals
66
.

share/f2format.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ f2format
66
back-port compiler for Python 3.6 f-string literals
77
---------------------------------------------------
88

9-
:Version: v0.8.1
10-
:Date: July 26, 2019
9+
:Version: v0.8.2
10+
:Date: August 04, 2019
1111
:Manual section: 1
1212
:Author:
1313
Jarry Shaw, a newbie programmer, is the author, owner and maintainer

0 commit comments

Comments
 (0)