pypi smbprotocol 1.16.1
v1.16.1

10 hours ago

1.16.1 - 2026-04-02

  • Fix memory leaks in Structure and subclasses by converting lambda default values to static methods and using weakref.proxy to prevent circular references
  • Fix smbclient.shutil.copyfile to fallback to client-side copy when server-side SMB copy is not supported (STATUS_NOT_SUPPORTED)
  • Fix create context offset calculation when opening a file or directory
  • Fix potential deadlock when worker thread attempts to disconnect and join itself
  • Handle ECONNABORTED socket error during connection teardown

What's Changed

  • Fix create_context offset when opening a dir/file by @laxa in #338
  • Fix Memory Leaks in Structure and Structure Subclasses by @PyWoody in #340
  • Fix copyfile fallback when server-side SMB copy is unsupported by @K3N44N in #337
  • Handle ECONNABORTED and avoid joining the current thread by @avivbrg in #323

New Contributors

Full Changelog: v1.16.0...v1.16.1

Don't miss a new smbprotocol release

NewReleases is sending notifications on new releases.