Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
23a86eb
smtplib: Add from CPython 3.3.6
alex-robbins Jun 26, 2017
297c03f
smtplib: Close before raising
alex-robbins Jun 27, 2017
7a98312
smtplib: Use OSError, not socket.error
alex-robbins Jun 27, 2017
32eedbb
smtplib: Correctly escape docstring
alex-robbins Jun 27, 2017
8fd5856
smtplib: Raise exception on starttls error
alex-robbins Jun 27, 2017
9b38482
smtplib: Remove old reference to 7bit encoding
alex-robbins Jun 27, 2017
9339d85
smtplib: Try harder to close resources
alex-robbins Jun 27, 2017
2603d2b
smtplib: Require new EHLO when reconnecting
alex-robbins Jun 27, 2017
c780c1b
smtplib: Defer SMTPServerDisconnected during RSET
alex-robbins Jun 27, 2017
69c2b18
smtplib: Don't look for a local FQDN
alex-robbins Jun 28, 2017
15a3713
smtplib: Move some imports to send_message
alex-robbins Jun 27, 2017
3ab1165
smtplib: Don't flush stdout
alex-robbins Jun 28, 2017
d34bf9c
smtplib: Parse 'auth=' EHLO responses without re
alex-robbins Jun 30, 2017
338dc85
smtplib: Parse EHLO responses without re
alex-robbins Jun 30, 2017
4ce656f
smtplib: Stuff dots without re
alex-robbins Jun 30, 2017
15fe460
smtplib: Convert line endings without re
alex-robbins Jun 30, 2017
f20e96a
smtplib: quotedata without re
alex-robbins Jul 1, 2017
1bf95e5
smtplib: Drop dependency on re
alex-robbins Jul 6, 2017
f5a4e50
smtplib: Catch ImportError for email.utils
alex-robbins Jul 6, 2017
0013157
smtplib: Use ubinascii for base64
alex-robbins Jul 6, 2017
6520bc5
smtplib: Don't use str.partition
alex-robbins Jul 13, 2017
7ac32d8
smtplib: Get struct sockaddr_un from caller
alex-robbins Jul 11, 2017
fc207e9
smtplib: Don't use socket._GLOBAL_DEFAULT_TIMEOUT
alex-robbins Jul 11, 2017
efff628
smtplib: Don't use socket.sendall
alex-robbins Jul 12, 2017
5b2e438
smtplib: Use usocket for socket
alex-robbins Jul 12, 2017
b866d05
smtplib: Prefer self.file over self.sock
alex-robbins Jul 12, 2017
465af6d
smtplib: Update metadata
alex-robbins Jul 14, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion smtplib/metadata.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
srctype=dummy
srctype = cpython
type=module
version = 0.0.1
depends = hmac
13 changes: 7 additions & 6 deletions smtplib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@

setup(name='micropython-smtplib',
version='0.0.1',
description='Dummy smtplib module for MicroPython',
long_description='This is a dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the module\nwill be provided later. Please help with the development if you are\ninterested in this module.',
description='CPython smtplib module ported to MicroPython',
long_description='This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.',
url='https://github.com/micropython/micropython-lib',
author='MicroPython Developers',
author_email='micro-python@googlegroups.com',
author='CPython Developers',
author_email='python[email protected]',
maintainer='MicroPython Developers',
maintainer_email='[email protected]',
license='MIT',
license='Python',
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
py_modules=['smtplib'])
py_modules=['smtplib'],
install_requires=['micropython-hmac'])
Loading