Skip to content
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

adodbapi: Remove outdated and unused remote feature #2098

Merged
merged 6 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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
Loading