Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

twill

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twill - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+1
-1
.bumpversion.cfg
[bumpversion]
current_version = 3.0.1
current_version = 3.0.2
commit = False

@@ -4,0 +4,0 @@ tag = False

@@ -7,2 +7,8 @@ .. _changelog:

3.0.2 (released 2022-04-10)
---------------------------
* Save HTML file with browser encoding or as UTF-8 (#9).
* Do not modify root logger any more (#10).
3.0.1 (released 2021-12-04)

@@ -9,0 +15,0 @@ ---------------------------

@@ -21,7 +21,7 @@ # Configuration file for the Sphinx documentation builder.

project = 'twill'
copyright = '2021, C. Titus Brown, Ben R. Taylor et al'
copyright = '2022, C. Titus Brown, Ben R. Taylor et al'
author = 'C. Titus Brown, Ben R. Taylor et al'
# The full version, including alpha/beta/rc tags
version = release = '3.0.1'
version = release = '3.0.2'

@@ -28,0 +28,0 @@

Metadata-Version: 2.1
Name: twill
Version: 3.0.1
Version: 3.0.2
Summary: twill web browsing and testing language and associated utilities.

@@ -45,3 +45,3 @@ Home-page: https://github.com/twill-tools/twill

The current version 3.0.1 supports Python 3.6 to 3.10.
The current version 3.0.2 supports Python 3.6 to 3.10.

@@ -48,0 +48,0 @@ See also the [changelog](https://twill-tools.github.io/twill/changelog.html) for a summary of the things that have been changed and improved since version 2.0, and the [acknowledgements](https://twill-tools.github.io/twill/overview.html#acknowledgements) for a short overview of the earlier history of twill.

@@ -6,3 +6,3 @@ twill: a simple scripting language for web browsing

The current version 3.0.1 supports Python 3.6 to 3.10.
The current version 3.0.2 supports Python 3.6 to 3.10.

@@ -9,0 +9,0 @@ See also the [changelog](https://twill-tools.github.io/twill/changelog.html) for a summary of the things that have been changed and improved since version 2.0, and the [acknowledgements](https://twill-tools.github.io/twill/overview.html#acknowledgements) for a short overview of the earlier history of twill.

Metadata-Version: 2.1
Name: twill
Version: 3.0.1
Version: 3.0.2
Summary: twill web browsing and testing language and associated utilities.

@@ -45,3 +45,3 @@ Home-page: https://github.com/twill-tools/twill

The current version 3.0.1 supports Python 3.6 to 3.10.
The current version 3.0.2 supports Python 3.6 to 3.10.

@@ -48,0 +48,0 @@ See also the [changelog](https://twill-tools.github.io/twill/changelog.html) for a summary of the things that have been changed and improved since version 2.0, and the [acknowledgements](https://twill-tools.github.io/twill/overview.html#acknowledgements) for a short overview of the earlier history of twill.

@@ -23,3 +23,3 @@ """twill web browsing and testing language and associated utilities.

__version__ = '3.0.1'
__version__ = '3.0.2'

@@ -52,3 +52,3 @@ __url__ = 'https://github.com/twill-tools/twill'

log = logging.getLogger()
log = logging.getLogger(__name__)
handler = None

@@ -55,0 +55,0 @@

@@ -253,5 +253,11 @@ """

f = open(filename, 'w')
f.write(html)
f.close()
encoding = browser.encoding or 'utf-8'
try:
with open(filename, 'w', encoding=encoding) as f:
f.write(html)
except UnicodeEncodeError:
if encoding == 'utf-8':
raise
with open(filename, 'w', encoding='utf-8') as f:
f.write(html)

@@ -258,0 +264,0 @@