Skip to content

Commit

Permalink
adodbapi: Remove outdated and unused remote feature (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored Apr 10, 2024
1 parent 4f39762 commit cd72712
Show file tree
Hide file tree
Showing 10 changed files with 81 additions and 1,290 deletions.
8 changes: 0 additions & 8 deletions adodbapi/process_connect_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,4 @@ def process(
macro_name, macro_code, kwargs
) # run the code in the local context
kwargs[new_key] = rslt # put the result back in the keywords dict
# special processing for PyRO IPv6 host address
try:
s = kwargs["proxy_host"]
if ":" in s: # it is an IPv6 address
if s[0] != "[": # is not surrounded by brackets
kwargs["proxy_host"] = s.join(("[", "]")) # put it in brackets
except KeyError:
pass
return kwargs
13 changes: 4 additions & 9 deletions adodbapi/quick_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@ Connection Methods: (non-standard)

Connection Attributes

- .errorhandler # (standard extension. See PEP.) (does not work on
remote)
- .errorhandler # (standard extension. See PEP.)

- .messages[] # (standard extension. See PEP)

Expand All @@ -360,8 +359,7 @@ the class for future connections.

- .dbms_version # string identifying the version of the db engine.

- .variantConversions # a map of ado types to the functions used to
import them.(not available on remote)
- .variantConversions # a map of ado types to the functions used to import them.

- .supportsTransactions # (bool) this driver is capable of commit()/rollback().

Expand Down Expand Up @@ -426,10 +424,9 @@ Cursor attributes (non-standard)
- .paramstyle # can be altered by the user to change paramstyle processing.
(default taken from connection.) (see below)

- .rs # the internal ADO recordset (local) or raw unpickled data (remote)
- .rs # the internal ADO recordset

- .converters[] # a list of input-conversion functions, one per column.
(not available on remote)

- .columnNames{} # a dictionary of: ((lower-cased) column name : (column number).

Expand Down Expand Up @@ -879,6 +876,4 @@ Convenient way to run the main and api tests using different Python versions.

- setuptestframework.py:

If run as a main program, initialize a not-really-temporary directory
for the server to use for remote testing. (Otherwise, it is a subroutine
for test setup.)
A subroutine for test setup.
Loading

0 comments on commit cd72712

Please sign in to comment.