Skip to content

Commit

Permalink
New distribution [0.3.1]
Browse files Browse the repository at this point in the history
 * Fix LINESEP typos and incorrectly copied F2FORMAT
 * Fix function parsing in decorate_funcdef()
 * Fix multiprocessing ResourceWarning
   (special thx to @gousaiyang for pull request #1)
 * bumping version to 0.3.1
  • Loading branch information
JarryShaw committed Oct 23, 2019
1 parent 8be3a92 commit a2330b6
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 81 deletions.
145 changes: 72 additions & 73 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions poseur.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
del multiprocessing

# version string
__version__ = '0.3.0'
__version__ = '0.3.1'

# from configparser
BOOLEAN_STATES = {'1': True, '0': False,
Expand Down Expand Up @@ -836,8 +836,8 @@ def main(argv=None):
if mp is None or CPU_CNT <= 1:
[poseur(filename) for filename in filelist] # pylint: disable=expression-not-assigned # pragma: no cover
else:
with mp.Pool(processes=CPU_CNT) as p:
p.map(poseur, filelist)
with mp.Pool(processes=CPU_CNT) as pool:
pool.map(poseur, filelist)


if __name__ == '__main__':
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
long_desc = file.read()

# version string
__version__ = '0.3.0'
__version__ = '0.3.1'

# set-up script for pip distribution
setup(
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.pypitest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
long_desc = file.read()

# version string
__version__ = '0.3.0'
__version__ = '0.3.1'

# set-up script for pip distribution
setup(
Expand Down
2 changes: 1 addition & 1 deletion share/poseur.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH POSEUR 1 "August 10, 2019" "v0.3.0" ""
.TH POSEUR 1 "October 24, 2019" "v0.3.1" ""
.SH NAME
poseur \- back-port compiler for Python 3.8 positional-only parameter syntax
.
Expand Down
4 changes: 2 additions & 2 deletions share/poseur.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ poseur
back-port compiler for Python 3.8 positional-only parameter syntax
------------------------------------------------------------------

:Version: v0.3.0
:Date: August 10, 2019
:Version: v0.3.1
:Date: October 24, 2019
:Manual section: 1
:Author:
Jarry Shaw, a newbie programmer, is the author, owner and maintainer
Expand Down

0 comments on commit a2330b6

Please sign in to comment.