Skip to content

Conversation

@a-detiste
Copy link
Contributor

Hi, I continue working on this in small steps.

pyflakes3 linter is giving me scary warnings.

./pywebdav/lib/davcopy.py:98:17: undefined name 'ms' seems to be a good catch.

tchet@quieter:~/git/PyWebDAV3$ pyflakes3 .  | grep undef
./pywebdav/lib/iface.py:232:16: undefined name 'moveone'
./pywebdav/lib/iface.py:236:16: undefined name 'movetree'
./pywebdav/lib/iface.py:242:16: undefined name 'copyone'
./pywebdav/lib/iface.py:246:16: undefined name 'copytree'
./pywebdav/lib/davcopy.py:98:17: undefined name 'ms'
./pywebdav/server/mysqlauth.py:33:12: undefined name 'Mconn'
./pywebdav/server/fshandler.py:42:13: undefined name 'time'
./pywebdav/server/fshandler.py:53:25: undefined name 'dav_interface'

@a-detiste
Copy link
Contributor Author

@andrewleech

Hi, little ping as I stumble on this one package again

@andrewleech
Copy link
Owner

Thanks, this does look good.
When you raised this I didn't have any time or energy to put towards this project (2 kids under 2), sorry for not at least responding to you though!

Now, I still don't really have any spare time, but I do have Claude code and many many hours of experience using it effectively; one thing it helps a lot with is maintaining projects like this :-)

@andrewleech andrewleech merged commit bc4b2dc into andrewleech:master Nov 3, 2025
andrewleech pushed a commit that referenced this pull request Nov 3, 2025
This completes the migration started in PR #47 by removing all remaining
references to the six library and replacing them with native Python 3
standard library imports.

Changes:
- Replace six.moves.BaseHTTPServer with http.server
- Replace six.moves.socketserver with socketserver
- Remove six from setup.py install_requires

Files modified:
- pywebdav/lib/utils.py: Import BaseHTTPRequestHandler from http.server
- pywebdav/server/server.py: Import HTTPServer and ThreadingMixIn from stdlib
- pywebdav/lib/AuthServer.py: Replace all six.moves.BaseHTTPServer references
- setup.py: Remove six dependency

All imports verified to work correctly with Python 3.
andrewleech pushed a commit that referenced this pull request Nov 3, 2025
This completes the migration started in PR #47 by removing all remaining
references to the six library and replacing them with native Python 3
standard library imports.

Changes:
- Replace six.moves.BaseHTTPServer with http.server
- Replace six.moves.socketserver with socketserver
- Remove six from setup.py install_requires

Files modified:
- pywebdav/lib/utils.py: Import BaseHTTPRequestHandler from http.server
- pywebdav/server/server.py: Import HTTPServer and ThreadingMixIn from stdlib
- pywebdav/lib/AuthServer.py: Replace all six.moves.BaseHTTPServer references
- setup.py: Remove six dependency

All imports verified to work correctly with Python 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants