psycopg-binary 3.2.4__cp38-cp38-musllinux_1_2_x86_64.whl → 3.2.6__cp38-cp38-musllinux_1_2_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of psycopg-binary might be problematic. Click here for more details.

@@ -1,5 +1,5 @@
1
1
  """
2
- Stub representaton of the public objects exposed by the _psycopg module.
2
+ Stub representation of the public objects exposed by the _psycopg module.
3
3
 
4
4
  TODO: this should be generated by mypy's stubgen but it crashes with no
5
5
  information. Will submit a bug.
@@ -11,7 +11,7 @@ from __future__ import annotations
11
11
 
12
12
  from typing import Any, Sequence
13
13
 
14
- from psycopg import pq, abc, BaseConnection
14
+ from psycopg import BaseConnection, abc, pq
15
15
  from psycopg.rows import Row, RowMaker
16
16
  from psycopg.adapt import AdaptersMap, PyFormat
17
17
  from psycopg.pq.abc import PGcancelConn, PGconn, PGresult
@@ -0,0 +1,28 @@
1
+ """
2
+ Internal objects to support the UUID adapters.
3
+ """
4
+
5
+ # Copyright (C) 2025 The Psycopg Team
6
+
7
+ import uuid
8
+
9
+ # Re-exports
10
+ UUID = uuid.UUID
11
+ SafeUUID_unknown = uuid.SafeUUID.unknown
12
+
13
+
14
+ class _WritableUUID(UUID):
15
+ """Temporary class, with the same memory layout of UUID, but writable.
16
+
17
+ This class must have the same memory layout of the UUID class, so we can
18
+ create one, setting the `int` attribute, and changing the `__class__`,
19
+ which should be faster than calling the complex UUID.__init__ machinery.
20
+
21
+ u = _WritableUUID()
22
+ u.is_safe = ...
23
+ u.int = ...
24
+ u.__class__ = UUID
25
+ """
26
+
27
+ __slots__ = () # Give the class the same memory layout of the base clasee
28
+ __setattr__ = object.__setattr__ # make the class writable
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: psycopg-binary
3
- Version: 3.2.4
3
+ Version: 3.2.6
4
4
  Summary: PostgreSQL database adapter for Python -- C optimisation distribution
5
5
  Home-page: https://psycopg.org/psycopg3/
6
6
  Author: Daniele Varrazzo
@@ -1,23 +1,24 @@
1
- psycopg_binary/_psycopg.cpython-38-x86_64-linux-gnu.so,sha256=8N4SEYDqqPgCLa7EIZEVilxJ7vL8hcGSTd9pI2Sg8FU,873553
2
- psycopg_binary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- psycopg_binary/__init__.py,sha256=5kxw9Qdn8ubIi4ik92mxZOsjr5UO0vwq5T5S0BhCWGg,402
4
- psycopg_binary/pq.cpython-38-x86_64-linux-gnu.so,sha256=Ar_VUmuyw8KHS5vlFTWlOIslwohvHpokym8WdMdvA3c,406857
5
- psycopg_binary/_psycopg.pyi,sha256=czikCGEKdbZ9RkcWNmPUvI2j7mcOX6jTDLVI-5oHtaM,3239
6
- psycopg_binary/version.py,sha256=MfZD84KKXi17AqKx1JY_ne89d_c8sERObKoe47f_48o,236
1
+ psycopg_binary-3.2.6.dist-info/WHEEL,sha256=AtKzrIIwO6LyEQPNa-CKogjoLSeXFnST8-hqmpwwZQA,110
2
+ psycopg_binary-3.2.6.dist-info/RECORD,,
3
+ psycopg_binary-3.2.6.dist-info/LICENSE.txt,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
4
+ psycopg_binary-3.2.6.dist-info/top_level.txt,sha256=8OM_PsAa5oKkzVvRu8kDESihBQo_LXqwG_nrlecubIk,15
5
+ psycopg_binary-3.2.6.dist-info/METADATA,sha256=UHt-jdG3qa8beMTjiMgf2FQ2wYCKt0-bsDiwUFP1550,2833
6
+ psycopg_binary.libs/libpq-d531c234.so.5.17,sha256=bW1HQkyJ1hZzHVziY0ZX4y88_OAxiganiIAY1RadWak,383361
7
+ psycopg_binary.libs/libkeyutils-68f1404b.so.1.10,sha256=QeummfoGHoFFjCnE1Ei3dUTtHn3or9N8JXC_OAt-aDs,22609
8
+ psycopg_binary.libs/libcom_err-2ea95f99.so.2.1,sha256=rgAPpY0wv8izBJjLcT20w632jRosT3y3sfx-9C_3p94,21553
7
9
  psycopg_binary.libs/libcrypto-9f64ec04.so.3,sha256=jVOD6j-6PZ2AXpe9oyo_d9b_4hkGq7P5G98qGWtu-_8,4629569
8
- psycopg_binary.libs/libkrb5support-3ddac1d5.so.0.1,sha256=yxiYu0JZsKSr2gL9AWvyaCc254zwYyg-l1Pp3KYg3P4,48921
9
- psycopg_binary.libs/libsasl2-655ad0af.so.3.0.0,sha256=8sAJefsvb_QF4UbPMiZkyY3YdEBrMycxLCLRWqA9uiY,111697
10
+ psycopg_binary.libs/libssl-92df611d.so.3,sha256=0BCp7535AoASYmf7SvEd6Vm5Og4YEWD1cc_xt9h18IU,855393
10
11
  psycopg_binary.libs/libkrb5-c1f85abb.so.3.3,sha256=FzX2wafL79KbQyJyEXHp_ITik8STR3qsR-gG088g0t4,764449
11
- psycopg_binary.libs/libcom_err-2ea95f99.so.2.1,sha256=rgAPpY0wv8izBJjLcT20w632jRosT3y3sfx-9C_3p94,21553
12
- psycopg_binary.libs/libkeyutils-68f1404b.so.1.10,sha256=QeummfoGHoFFjCnE1Ei3dUTtHn3or9N8JXC_OAt-aDs,22609
12
+ psycopg_binary.libs/libk5crypto-017700a7.so.3.1,sha256=K9kxZ7q8DLGJtQGlMGQ0xqoYn3M_TgjRVn-ueHRuVXk,178721
13
+ psycopg_binary.libs/libsasl2-655ad0af.so.3.0.0,sha256=8sAJefsvb_QF4UbPMiZkyY3YdEBrMycxLCLRWqA9uiY,111697
13
14
  psycopg_binary.libs/liblber-f95027dc.so.2.0.200,sha256=UOiu9uFbMOOFQ7ejWhUVtLegb6ZIxewYAwMet6tmHw8,57361
14
15
  psycopg_binary.libs/libldap-1eff5298.so.2.0.200,sha256=s1-ZQ0PxKznkV6daUaOv06P_gJHYq25vjqf-WIhXD6w,365273
15
16
  psycopg_binary.libs/libgssapi_krb5-b9b9bcdb.so.2.2,sha256=Zugp7XUN0wVWf9TkY1Wdk9T8f5R05ssLVh9PlbRBtIY,300625
16
- psycopg_binary.libs/libssl-92df611d.so.3,sha256=0BCp7535AoASYmf7SvEd6Vm5Og4YEWD1cc_xt9h18IU,855393
17
- psycopg_binary.libs/libk5crypto-017700a7.so.3.1,sha256=K9kxZ7q8DLGJtQGlMGQ0xqoYn3M_TgjRVn-ueHRuVXk,178721
18
- psycopg_binary.libs/libpq-312e9e7a.so.5.17,sha256=VtQcf7Ms3K_jUGX0yzGEE1uVybcyKXCxhoifT8YStWk,383361
19
- psycopg_binary-3.2.4.dist-info/METADATA,sha256=V0foZ38jx1UYi_FKGkWw6ASpya0IiAjMuvVUTzLucGk,2833
20
- psycopg_binary-3.2.4.dist-info/RECORD,,
21
- psycopg_binary-3.2.4.dist-info/top_level.txt,sha256=8OM_PsAa5oKkzVvRu8kDESihBQo_LXqwG_nrlecubIk,15
22
- psycopg_binary-3.2.4.dist-info/WHEEL,sha256=JMCHihuaOwyE4j7UN3MRJaa_mm3Hn9L3awlgWmPJIX8,110
23
- psycopg_binary-3.2.4.dist-info/LICENSE.txt,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
17
+ psycopg_binary.libs/libkrb5support-3ddac1d5.so.0.1,sha256=yxiYu0JZsKSr2gL9AWvyaCc254zwYyg-l1Pp3KYg3P4,48921
18
+ psycopg_binary/_uuid.py,sha256=2qmCSE61jkn5o6HFqiS6o7a_YtQj19ZeogUO-4YVuG0,765
19
+ psycopg_binary/pq.cpython-38-x86_64-linux-gnu.so,sha256=WjrUJyY_U1Azgu4zS2daNkjhsQx_ypzGIloJQzBSmac,406857
20
+ psycopg_binary/version.py,sha256=MfZD84KKXi17AqKx1JY_ne89d_c8sERObKoe47f_48o,236
21
+ psycopg_binary/_psycopg.cpython-38-x86_64-linux-gnu.so,sha256=3Zn4cjcls6ShnsLBmBegBq2x43rFQKyD82RcWfvIMLM,885897
22
+ psycopg_binary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ psycopg_binary/__init__.py,sha256=5kxw9Qdn8ubIi4ik92mxZOsjr5UO0vwq5T5S0BhCWGg,402
24
+ psycopg_binary/_psycopg.pyi,sha256=uCDlLoK7ipWj-XdkRpR5d1ZwQBr6kn4QKywzbuphA2Q,3240
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.3.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-musllinux_1_2_x86_64
5
5
 
index 694fc61..9850040 100755
Binary file