Skip to content

Commit 08e609f

Browse files
committed
Drop psyco usage
1 parent 5acf9cd commit 08e609f

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Version 4.0 - in development
1212
- Removed CLI commands that use the VARBLOCK/bigfile format.
1313
- Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.
1414
- Dropped support for Python 2.6
15+
- Dropped support for Psyco
1516
- Miller-Rabin iterations determined by bitsize of key.
1617

1718

rsa/transform.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@
2121

2222
from __future__ import absolute_import
2323

24-
try:
25-
# We'll use psyco if available on 32-bit architectures to speed up code.
26-
# Using psyco (if available) cuts down the execution time on Python 2.5
27-
# at least by half.
28-
import psyco
29-
30-
psyco.full()
31-
except ImportError:
32-
pass
33-
3424
import binascii
3525
from struct import pack
3626
from rsa import common

0 commit comments

Comments
 (0)