Skip to content

Commit e30f984

Browse files
committed
New distribution [0.8.3]
* properly using Pool * updated README (addressing issue #4) * bumping version to 0.8.3
1 parent c49b209 commit e30f984

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,15 @@ folder. `test_driver.py` is the main entry point for tests.
232232

233233
## Known bugs
234234

235-
  ~~Since `f2format` is currently based on [`parso`](https://github.com/davidhalter/parso) project,
236-
it has encountered a grammar issue as described at [#74](https://github.com/davidhalter/parso/issues/74).
237-
Please __AVOID__ using such grammar when using *f-string*.~~ This issue has been resolved since [`parso`]
238-
version __0.5.0__.
235+
  Since `f2format` is currently based on [`parso`](https://github.com/davidhalter/parso) project,
236+
it has encountered had encountered several compatibility and parsing issues.
237+
238+
* ~~Parsing f-strings with nested format specifiers produces incorrect SyntaxError ([#74](https://github.com/davidhalter/parso/issues/74))~~
239+
This issue has been resolved since `parso` version __0.5.0__.
240+
241+
* Parsing f-strings with invalid quotes in expression part does not raise SyntaxError ([#86](https://github.com/davidhalter/parso/issues/86))
242+
243+
* Parsing f-strings with seeming assignment expressions produces incorrect SyntaxError ([#87](https://github.com/davidhalter/parso/issues/87))
239244

240245
## Contribution
241246

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.2
3+
LABEL version 0.8.3
44
LABEL description "Ubuntu Environment for F2FORMAT"
55

66
# prepare environment

f2format.py

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

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

3636
# from configparser
3737
BOOLEAN_STATES = {'1': True, '0': False,
@@ -451,8 +451,8 @@ def main(argv=None):
451451
if mp is None or CPU_CNT <= 1:
452452
[f2format(filename) for filename in filelist] # pylint: disable=expression-not-assigned # pragma: no cover
453453
else:
454-
with mp.Pool(processes=CPU_CNT) as p:
455-
p.map(f2format, filelist)
454+
with mp.Pool(processes=CPU_CNT) as pool:
455+
pool.map(f2format, filelist)
456456

457457

458458
if __name__ == '__main__':

setup.py

Lines changed: 1 addition & 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.2'
18+
__version__ = '0.8.3'
1919

2020
# set-up script for pip distribution
2121
setup(

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 "August 04, 2019" "v0.8.2" ""
3+
.TH F2FORMAT 1 "October 23, 2019" "v0.8.3" ""
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.2
10-
:Date: August 04, 2019
9+
:Version: v0.8.3
10+
:Date: October 23, 2019
1111
:Manual section: 1
1212
:Author:
1313
Jarry Shaw, a newbie programmer, is the author, owner and maintainer

0 commit comments

Comments
 (0)