Skip to content

Drop python 2 and make python 3.8 be the minimum. #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
shapefile.py: Minor cleanup of module comment and order includes.
  • Loading branch information
schwehr committed Aug 24, 2024
commit d0259ae95c4951fb8f27e4de2e6c4bd252f4443a
22 changes: 11 additions & 11 deletions shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,26 @@
Provides read and write support for ESRI Shapefiles.
authors: jlawhead<at>geospatialpython.com
maintainer: karim.bahgat.norway<at>gmail.com
Compatible with Python versions 2.7-3.x
Compatible with Python versions >= 3.8
"""

__version__ = "2.3.1"

from struct import pack, unpack, calcsize, error, Struct
import array
from datetime import date
import io
import logging
import os
from struct import pack, unpack, calcsize, error, Struct
import sys
import time
import array
import tempfile
import logging
import io
from datetime import date
import time
import zipfile

from urllib.error import HTTPError
from urllib.parse import urlparse, urlunparse
from urllib.request import urlopen, Request

# Create named logger
logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -76,10 +80,6 @@

xrange = range
izip = zip

from urllib.parse import urlparse, urlunparse
from urllib.error import HTTPError
from urllib.request import urlopen, Request

# Helpers

Expand Down
Loading