Encode or decode XDR (IETF RFC-4506/1832/1014)
Project description
py-xdrlib
This is a copy of the Python xdrlib module, present in the standard library from release 1.4 to release 3.12. It is intended that this module will be maintained with a compatible API and functionality for as long as it is possible and useful.
Removal from Standard Library
PEP-594 proposed the removal of a number of less commonly used modules from the standard library. The removal of xdrlib was justified on the basis that it is rarely used other than for NFS at the time of writing in 2019.
The last version of Python to support xdrlib will be 3.12, and the module will not be part of the standard library in 3.13.
Roadmap
- Tests
- GitHub CI integration?
- Based off current test code from 3.11
- See if
flit
supports a test step
- Doc
- Clean up the cloned doc's structure so it can stand alone
- Push it to ... ReadTheDocs, I guess?
- Can this be a part of the
flit publish
process too?
- Can this be a part of the
- Check the docstrings in the module, and extend them if they're not already useful
- Add type hints to the code
Add some badges in this READMEGitHub CICoveragePyPIpepy.tech?
- Tell someone about this; maybe get it added to the PEP?
- Investigate the newer RFCs (1832/4506) and see if there's anything
needs to be done to comply with them.
- If so, and it can be done transparently, just do it.
- Otherwise, if it needs some sort of mode switch, add that.
- Extend the test suite with examples from modern NFS and elsewhere
- Check for any reported bugs in the Python bug tracker
- Mentioned in
gh-83162, which
seems to be dead, but the point is that the exception could be
renamed to something more descriptive. I think ... that's a bit
unnecessary, since
xdrlib.Error
is kinda fine?
- Mentioned in
gh-83162, which
seems to be dead, but the point is that the exception could be
renamed to something more descriptive. I think ... that's a bit
unnecessary, since
- Check for any CVEs
- TBD
- Can I subscribe for these?
- Push out a 4.0.1 fairly soon, with better tests, better doc, and otherwise unchanged functionality. That would be enough for anyone using the stdlib module to import this for 3.13 and their code would work.
Contributing
Contributions are welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py-xdrlib-4.0.1.tar.gz
.
File metadata
- Download URL: py-xdrlib-4.0.1.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522940af65791fb34e84f4d9b158467002fee23716033b79faedd023df1c0d7c |
|
MD5 | 84f4d4affdce0ce0c6677b5f8e76b19d |
|
BLAKE2b-256 | f365b8047b6015b702a075241bd01ec3a53f52229ffdb3151713992a1c1adc3a |
File details
Details for the file py_xdrlib-4.0.1-py3-none-any.whl
.
File metadata
- Download URL: py_xdrlib-4.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 976b3012c2ebe2a5a55d2fe96722c78cea714ed0b83a60f5c5805a2f1fca6d04 |
|
MD5 | 4eebd44b5ba8354ad91b18b1fb20b7fe |
|
BLAKE2b-256 | 9382c8391969ff220e3b36e95e90015a7e3c42e122197c630ec57f3d0a121367 |