Files
loustique-home/venv/lib/python3.11/site-packages/gpiozero/__pycache__/exc.cpython-311.pyc

135 lines
17 KiB
Plaintext
Raw Normal View History

2026-03-21 10:53:02 +01:00
<EFBFBD>
?<3F><>i<EFBFBD><00><00><><00>Gd<00>de<00><00>ZGd<02>de<01><00>ZGd<04>dee<03><00>ZGd<06>dee<03><00>ZGd<08>d ee<03><00>ZGd
<EFBFBD>d ee<07><00>ZGd <0C>d ee <09><00>Z
Gd<0E>de<01><00>Z Gd<10>de e<03><00>Z Gd<12>de e<03><00>Z Gd<14>de e<03><00>ZGd<16>de e<03><00>ZGd<18>de e<03><00>ZGd<1A>de<01><00>ZGd<1C>dee<03><00>ZGd<1E>dee<03><00>ZGd <20>d!ee<14><00>ZGd"<22>d#ee<03><00>ZGd$<24>d%ee<14><00>ZGd&<26>d'ee<14><00>ZGd(<28>d)ee<14><00>ZGd*<2A>d+ee<14><00>ZGd,<2C>d-ee<03><00>ZGd.<2E>d/e<01><00>ZGd0<64>d1ee<02><00>ZGd2<64>d3e<1C><00>ZGd4<64>d5ee<03><00>ZGd6<64>d7e<1C><00>Z Gd8<64>d9e<1C><00>Z!Gd:<3A>d;e!e<03><00>Z"Gd<<3C>d=e<01><00>Z#Gd><3E>d?e#e<03><00>Z$Gd@<40>dAe#e<03><00>Z%GdB<64>dCe#e<03><00>Z&GdD<64>dEe#e<03><00>Z'GdF<64>dGe#e<03><00>Z(GdH<64>dIe#e<14><00>Z)GdJ<64>dKe#e<14><00>Z*GdL<64>dMe#e<14><00>Z+GdN<64>dOe#e,<2C><00>Z-GdP<64>dQe#e,<2C><00>Z.GdR<64>dSe#<23><00>Z/GdT<64>dUe/e<14><00>Z0GdV<64>dWe/e<14><00>Z1GdX<64>dYe#e <09><00>Z2GdZ<64>d[e#e <09><00>Z3Gd\<5C>d]e#e <09><00>Z4Gd^<5E>d_e#e<03><00>Z5Gd`<60>dae6<65><00>Z7Gdb<64>dce7<65><00>Z8Gdd<64>dee7<65><00>Z9Gdf<64>dge9<65><00>Z:Gdh<64>die7<65><00>Z;Gdj<64>dke;<3B><00>Z<Gdl<64>dme7<65><00>Z=Gdn<64>doe=<3D><00>Z>Gdp<64>dqe=<3D><00>Z?Gdr<64>dse=<3D><00>Z@Gdt<64>due7<65><00>ZAGdv<64>dwe7<65><00>ZBGdx<64>dye7<65><00>ZCdzS){c<00><00>eZdZdZdS)<03> GPIOZeroErrorz*Base class for all exceptions in GPIO ZeroN<6F><04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F><00><00>X/home/maxime/Documents/loustiques-home/venv/lib/python3.11/site-packages/gpiozero/exc.pyrr s<00><00><00><00><00><00>0<>0<>0<>0r
rc<00><00>eZdZdZdS)<03> DeviceClosedz>Error raised when an operation is attempted on a closed deviceNrr r
r r r <00><00><00><00><00><00><00>D<>D<>D<>Dr
r c<00><00>eZdZdZdS)<03>BadEventHandlerzNError raised when an event handler with an incompatible prototype is specifiedNrr r
r rr<00><00><00><00><00><00><00>T<>T<>T<>Tr
rc<00><00>eZdZdZdS)<03> BadWaitTimez3Error raised when an invalid wait time is specifiedNrr r
r rr<00><00><00><00><00><00><00>9<>9<>9<>9r
rc<00><00>eZdZdZdS)<03> BadQueueLenz8Error raised when non-positive queue length is specifiedNrr r
r rr<00><00><00><00><00><00><00>><3E>><3E>><3E>>r
rc<00><00>eZdZdZdS)<03> BadPinFactoryz:Error raised when an unknown pin factory name is specifiedNrr r
r rr<00><00><00><00><00><00><00>@<40>@<40>@<40>@r
rc<00><00>eZdZdZdS)<03> ZombieThreadz>Error raised when a thread fails to die within a given timeoutNrr r
r rrrr
rc<00><00>eZdZdZdS)<03>CompositeDeviceErrorz?Base class for errors specific to the CompositeDevice hierarchyNrr r
r rr"<00><00><00><00><00><00><00>E<>E<>E<>Er
rc<00><00>eZdZdZdS)<03>CompositeDeviceBadNamezHError raised when a composite device is constructed with a reserved nameNrr r
r r!r!%<00><00><00><00><00><00><00>N<>N<>N<>Nr
r!c<00><00>eZdZdZdS)<03>CompositeDeviceBadOrderzLError raised when a composite device is constructed with an incomplete orderNrr r
r r$r$(s<00><00><00><00><00><00>R<>R<>R<>Rr
r$c<00><00>eZdZdZdS)<03>CompositeDeviceBadDevicezlError raised when a composite device is constructed with an object that doesn't inherit from :class:`Device`Nrr r
r r&r&+s<00><00><00><00><00><00>r<>r<>r<>rr
r&c<00><00>eZdZdZdS)<03>EnergenieSocketMissingz0Error raised when socket number is not specifiedNrr r
r r(r(.s<00><00><00><00><00><00>6<>6<>6<>6r
r(c<00><00>eZdZdZdS)<03>EnergenieBadSocketzJError raised when an invalid socket number is passed to :class:`Energenie`Nrr r
r r*r*1<00><00><00><00><00><00><00>P<>P<>P<>Pr
r*c<00><00>eZdZdZdS)<03>SPIErrorz7Base class for errors related to the SPI implementationNrr r
r r-r-4s<00><00><00><00><00><00>=<3D>=<3D>=<3D>=r
r-c<00><00>eZdZdZdS)<03>
SPIBadArgszSError raised when invalid arguments are given while constructing :class:`SPIDevice`Nrr r
r r/r/7s<00><00><00><00><00><00>Y<>Y<>Y<>Yr
r/c<00><00>eZdZdZdS)<03> SPIBadChannelzNError raised when an invalid channel is given to an :class:`AnalogInputDevice`Nrr r
r r1r1:rr
r1c<00><00>eZdZdZdS)<03>SPIFixedClockModez6Error raised when the SPI clock mode cannot be changedNrr r
r r3r3=<00><00><00><00><00><00><00><<3C><<3C><<3C><r
r3c<00><00>eZdZdZdS)<03>SPIInvalidClockModezIError raised when an invalid clock mode is given to an SPI implementationNrr r
r r6r6@<00><00><00><00><00><00><00>O<>O<>O<>Or
r6c<00><00>eZdZdZdS)<03>SPIFixedBitOrderz:Error raised when the SPI bit-endianness cannot be changedNrr r
r r9r9Crr
r9c<00><00>eZdZdZdS)<03>SPIFixedSelectz;Error raised when the SPI select polarity cannot be changedNrr r
r r;r;F<00><00><00><00><00><00><00>A<>A<>A<>Ar
r;c<00><00>eZdZdZdS)<03>SPIFixedWordSizez?Error raised when the number of bits per word cannot be changedNrr r
r r>r>Irr
r>c<00><00>eZdZdZdS)<03> SPIFixedRatezBError raised when the baud-rate of the interface cannot be changedNrr r
r r@r@L<00><00><00><00><00><00><00>H<>H<>H<>Hr
r@c<00><00>eZdZdZdS)<03>SPIInvalidWordSizezPError raised when an invalid (out of range) number of bits per word is specifiedNrr r
r rCrCO<00><00><00><00><00><00><00>V<>V<>V<>Vr
rCc<00><00>eZdZdZdS)<03>GPIODeviceErrorz:Base class for errors specific to the GPIODevice hierarchyNrr r
r rFrFRrr
rFc<00><00>eZdZdZdS)<03>GPIODeviceClosedz,Deprecated descendent of :exc:`DeviceClosed`Nrr r
r rHrHUs<00><00><00><00><00><00>2<>2<>2<>2r
rHc<00><00>eZdZdZdS)<03> GPIOPinInUsezJError raised when attempting to use a pin already in use by another deviceNrr r
r rJrJXr+r
rJc<00><00>eZdZdZdS)<03>GPIOPinMissingz2Error raised when a pin specification is not givenNrr r
r rLrL[s<00><00><00><00><00><00>8<>8<>8<>8r
rLc<00><00>eZdZdZdS)<03>InputDeviceErrorz;Base class for errors specific to the InputDevice hierarchyNrr r
r rNrN^r<r
rNc<00><00>eZdZdZdS)<03>OutputDeviceErrorz=Base class for errors specified to the OutputDevice hierarchyNrr r
r rPrPas<00><00><00><00><00><00>C<>C<>C<>Cr
rPc<00><00>eZdZdZdS)<03>OutputDeviceBadValuez6Error raised when ``value`` is set to an invalid valueNrr r
r rRrRdr4r
rRc<00><00>eZdZdZdS)<03>PinErrorz4Base class for errors related to pin implementationsNrr r
r rTrTg<00><00><00><00><00><00><00>:<3A>:<3A>:<3A>:r
rTc<00><00>eZdZdZdS)<03>PinInvalidFunctionzPError raised when attempting to change the function of a pin to an invalid valueNrr r
r rWrWjrDr
rWc<00><00>eZdZdZdS)<03>PinInvalidStatez@Error raised when attempting to assign an invalid state to a pinNrr r
r rYrYm<00><00><00><00><00><00><00>F<>F<>F<>Fr
rYc<00><00>eZdZdZdS)<03>PinInvalidPullzBError raised when attempting to assign an invalid pull-up to a pinNrr r
r r\r\prAr
r\c<00><00>eZdZdZdS)<03>PinInvalidEdgeszIError raised when attempting to assign an invalid edge detection to a pinNrr r
r r^r^sr7r
r^c<00><00>eZdZdZdS)<03>PinInvalidBouncezFError raised when attempting to assign an invalid bounce time to a pinNrr r
r r`r`v<00><00><00><00><00><00><00>L<>L<>L<>Lr
r`c<00><00>eZdZdZdS)<03> PinSetInputz3Error raised when attempting to set a read-only pinNrr r
r rcrcyrr
rcc<00><00>eZdZdZdS)<03> PinFixedPullzHError raised when attempting to set the pull of a pin with fixed pull-upNrr r
r rere|r"r
rec<00><00>eZdZdZdS)<03>PinEdgeDetectUnsupportedzFError raised when attempting to use edge detection on unsupported pinsNrr r
r rgrgrar
rgc<00><00>eZdZdZdS)<03>PinUnsupportedzJError raised when attempting to obtain a pin interface on unsupported pinsNrr r
r riri<00>r+r
ric<00><00>eZdZdZdS)<03>PinSPIUnsupportedzKError raised when attempting to obtain an SPI interface on unsupported pinsNrr r
r rkrk<00>s<00><00><00><00><00><00>Q<>Q<>Q<>Qr
rkc<00><00>eZdZdZdS)<03> PinPWMErrorz4Base class for errors related to PWM implementationsNrr r
r rmrm<00>rUr
rmc<00><00>eZdZdZdS)<03>PinPWMUnsupportedz@Error raised when attempting to activate PWM on unsupported pinsNrr r
r roro<00>rZr
roc<00><00>eZdZdZdS)<03>PinPWMFixedValuez>Error raised when attempting to initialize PWM on an input pinNrr r
r rqrq<00>rr
rqc<00><00>eZdZdZdS)<03> PinUnknownPizAError raised when gpiozero doesn't recognize a revision of the PiNrr r
r rsrs<00>s<00><00><00><00><00><00>G<>G<>G<>Gr
rsc<00><00>eZdZdZdS)<03>PinMultiplePinsz>Error raised when multiple pins support the requested functionNrr r
r ruru<00>rr
ruc<00><00>eZdZdZdS)<03> PinNoPinsz8Error raised when no pins support the requested functionNrr r
r rwrw<00>rr
rwc<00><00>eZdZdZdS)<03> PinInvalidPinz:Error raised when an invalid pin specification is providedNrr r
r ryry<00>rr
ryc<00><00>eZdZdZdS)<03>GPIOZeroWarningz(Base class for all warnings in GPIO ZeroNrr r
r r{r{<00>s<00><00><00><00><00><00>.<2E>.<2E>.<2E>.r
r{c<00><00>eZdZdZdS)<03>DistanceSensorNoEchoz;Warning raised when the distance sensor sees no echo at allNrr r
r r}r}<00>r<r
r}c<00><00>eZdZdZdS)<03>
SPIWarningz9Base class for warnings related to the SPI implementationNrr r
r rr<00>s<00><00><00><00><00><00>?<3F>?<3F>?<3F>?r
rc<00><00>eZdZdZdS)<03>SPISoftwareFallbackzCWarning raised when falling back to the SPI software implementationNrr r
r r<>r<><00><00><00><00><00><00><00><00>I<>I<>I<>Ir
r<>c<00><00>eZdZdZdS)<03>
PWMWarningzBase class for PWM warningsNrr r
r r<>r<><00>s<00><00><00><00><00><00>!<21>!<21>!<21>!r
r<>c<00><00>eZdZdZdS)<03>PWMSoftwareFallbackzCWarning raised when falling back to the PWM software implementationNrr r
r r<>r<><00>r<>r
r<>c<00><00>eZdZdZdS)<03>
PinWarningz6Base class for warnings related to pin implementationsNrr r
r r<>r<><00>r4r
r<>c<00><00>eZdZdZdS)<03>PinFactoryFallbackzOWarning raised when a default pin factory fails to load and a fallback is triedNrr r
r r<>r<><00><00><00><00><00><00><00><00>U<>U<>U<>Ur
r<>c<00><00>eZdZdZdS)<03>NativePinFactoryFallbackzZWarning raised when all other default pin factories fail to load and NativeFactory is usedNrr r
r r<>r<><00>s<00><00><00><00><00><00>`<60>`<60>`<60>`r
r<>c<00><00>eZdZdZdS)<03>PinNonPhysicalzDWarning raised when a non-physical pin is specified in a constructorNrr r
r r<>r<><00>s<00><00><00><00><00><00>J<>J<>J<>Jr
r<>c<00><00>eZdZdZdS)<03>ThresholdOutOfRangezOWarning raised when a threshold is out of range specified by min and max valuesNrr r
r r<>r<><00>r<>r
r<>c<00><00>eZdZdZdS)<03>CallbackSetToNonezNWarning raised when a callback is set to None when its previous value was NoneNrr r
r r<>r<><00>rr
r<>c<00><00>eZdZdZdS)<03> AmbiguousTonezBWarning raised when a Tone is constructed with an ambiguous numberNrr r
r r<>r<><00>rAr
r<>N)D<> Exceptionrr <00>
ValueErrorrrr<00> ImportErrorr<00> RuntimeErrorrrr!r$r&r(r*r-r/r1<00>AttributeErrorr3r6r9r;r>r@rCrFrHrJrLrNrPrRrTrWrYr\r^r`rcrerg<00>NotImplementedErrorrirkrmrorqrsrurwry<00>Warningr{r}rr<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r r
r <00><module>r<>s<> <00><01>1<>1<>1<>1<>1<>I<EFBFBD>1<>1<>1<>E<01>E<01>E<01>E<01>E<01>=<3D>E<01>E<01>E<01>U<01>U<01>U<01>U<01>U<01>m<EFBFBD>Z<EFBFBD>U<01>U<01>U<01>:<3A>:<3A>:<3A>:<3A>:<3A>-<2D><1A>:<3A>:<3A>:<3A>?<3F>?<3F>?<3F>?<3F>?<3F>-<2D><1A>?<3F>?<3F>?<3F>A<01>A<01>A<01>A<01>A<01>M<EFBFBD>;<3B>A<01>A<01>A<01>E<01>E<01>E<01>E<01>E<01>=<3D>,<2C>E<01>E<01>E<01>F<01>F<01>F<01>F<01>F<01>=<3D>F<01>F<01>F<01>O<01>O<01>O<01>O<01>O<01>1<>:<3A>O<01>O<01>O<01>S<01>S<01>S<01>S<01>S<01>2<>J<EFBFBD>S<01>S<01>S<01>s<01>s<01>s<01>s<01>s<01>3<>Z<EFBFBD>s<01>s<01>s<01>7<>7<>7<>7<>7<>1<>:<3A>7<>7<>7<>Q<01>Q<01>Q<01>Q<01>Q<01>-<2D>z<EFBFBD>Q<01>Q<01>Q<01>><3E>><3E>><3E>><3E>><3E>}<7D>><3E>><3E>><3E>Z<01>Z<01>Z<01>Z<01>Z<01><18>:<3A>Z<01>Z<01>Z<01>U<01>U<01>U<01>U<01>U<01>H<EFBFBD>j<EFBFBD>U<01>U<01>U<01>=<3D>=<3D>=<3D>=<3D>=<3D><08>.<2E>=<3D>=<3D>=<3D>P<01>P<01>P<01>P<01>P<01>(<28>J<EFBFBD>P<01>P<01>P<01>A<01>A<01>A<01>A<01>A<01>x<EFBFBD><1E>A<01>A<01>A<01>B<01>B<01>B<01>B<01>B<01>X<EFBFBD>~<7E>B<01>B<01>B<01>F<01>F<01>F<01>F<01>F<01>x<EFBFBD><1E>F<01>F<01>F<01>I<01>I<01>I<01>I<01>I<01>8<EFBFBD>^<5E>I<01>I<01>I<01>W<01>W<01>W<01>W<01>W<01><18>:<3A>W<01>W<01>W<01>A<01>A<01>A<01>A<01>A<01>m<EFBFBD>A<01>A<01>A<01>3<>3<>3<>3<>3<><EFBFBD> <0C>3<>3<>3<>Q<01>Q<01>Q<01>Q<01>Q<01>?<3F>Q<01>Q<01>Q<01>9<>9<>9<>9<>9<>_<EFBFBD>j<EFBFBD>9<>9<>9<>B<01>B<01>B<01>B<01>B<01><EFBFBD>B<01>B<01>B<01>D<01>D<01>D<01>D<01>D<01><0F>D<01>D<01>D<01>=<3D>=<3D>=<3D>=<3D>=<3D>,<2C>j<EFBFBD>=<3D>=<3D>=<3D>;<3B>;<3B>;<3B>;<3B>;<3B>}<7D>;<3B>;<3B>;<3B>W<01>W<01>W<01>W<01>W<01><18>:<3A>W<01>W<01>W<01>G<01>G<01>G<01>G<01>G<01>h<EFBFBD>
<EFBFBD>G<01>G<01>G<01>I<01>I<01>I<01>I<01>I<01>X<EFBFBD>z<EFBFBD>I<01>I<01>I<01>P<01>P<01>P<01>P<01>P<01>h<EFBFBD>
<EFBFBD>P<01>P<01>P<01>M<01>M<01>M<01>M<01>M<01>x<EFBFBD><1A>M<01>M<01>M<01>:<3A>:<3A>:<3A>:<3A>:<3A>(<28>N<EFBFBD>:<3A>:<3A>:<3A>O<01>O<01>O<01>O<01>O<01>8<EFBFBD>^<5E>O<01>O<01>O<01>M<01>M<01>M<01>M<01>M<01>x<EFBFBD><1E>M<01>M<01>M<01>Q<01>Q<01>Q<01>Q<01>Q<01>X<EFBFBD>2<>Q<01>Q<01>Q<01>R<01>R<01>R<01>R<01>R<01><08>"5<>R<01>R<01>R<01>;<3B>;<3B>;<3B>;<3B>;<3B>(<28>;<3B>;<3B>;<3B>G<01>G<01>G<01>G<01>G<01> <0B>^<5E>G<01>G<01>G<01>E<01>E<01>E<01>E<01>E<01>{<7B>N<EFBFBD>E<01>E<01>E<01>H<01>H<01>H<01>H<01>H<01>8<EFBFBD>\<5C>H<01>H<01>H<01>E<01>E<01>E<01>E<01>E<01>h<EFBFBD> <0C>E<01>E<01>E<01>?<3F>?<3F>?<3F>?<3F>?<3F><08>,<2C>?<3F>?<3F>?<3F>A<01>A<01>A<01>A<01>A<01>H<EFBFBD>j<EFBFBD>A<01>A<01>A<01>/<2F>/<2F>/<2F>/<2F>/<2F>g<EFBFBD>/<2F>/<2F>/<2F>B<01>B<01>B<01>B<01>B<01>?<3F>B<01>B<01>B<01>@<01>@<01>@<01>@<01>@<01><1F>@<01>@<01>@<01>J<01>J<01>J<01>J<01>J<01>*<2A>J<01>J<01>J<01>"<22>"<22>"<22>"<22>"<22><1F>"<22>"<22>"<22>J<01>J<01>J<01>J<01>J<01>*<2A>J<01>J<01>J<01>=<3D>=<3D>=<3D>=<3D>=<3D><1F>=<3D>=<3D>=<3D>V<01>V<01>V<01>V<01>V<01><1A>V<01>V<01>V<01>a<01>a<01>a<01>a<01>a<01>z<EFBFBD>a<01>a<01>a<01>K<01>K<01>K<01>K<01>K<01>Z<EFBFBD>K<01>K<01>K<01>V<01>V<01>V<01>V<01>V<01>/<2F>V<01>V<01>V<01>U<01>U<01>U<01>U<01>U<01><0F>U<01>U<01>U<01>I<01>I<01>I<01>I<01>I<01>O<EFBFBD>I<01>I<01>I<01>I<01>Ir