Giter VIP home page Giter VIP logo

Comments (8)

mballance avatar mballance commented on May 27, 2024

Hello,
The short answer is that PyVSC doesn't yet support the 'in ' constraint. The 'in' constraint currently supports vsc.rangelist on the right-hand side.
I've been investigating the behavior you're currently seeing, and I'm not entirely sure I understand the root cause. Basically, the 'self.b in self.temp' statement is being converted by Python into 'self.b == self.temp[0]'.
If supporting the 'in' constraints on lists is important to you (seems it is), please open an enhancement request to support this.

Thanks and Best Regards,
Matthew

from pyvsc.

ShraddhaDevaiya avatar ShraddhaDevaiya commented on May 27, 2024

Yes Matthew, actually we need this feature and many more which I will update you like this. So,can you please open enhancement request on this, because I don't have write access to repo, you can only do this.

from pyvsc.

mballance avatar mballance commented on May 27, 2024

Hi Shraddha,
Sounds good. Please open an issue (just like this one) requesting 'in list' support. My reason for asking you to open the issue is that you'll be notified when the feature is supported.

Thanks and Best Regards,
Matthew

from pyvsc.

ShraddhaDevaiya avatar ShraddhaDevaiya commented on May 27, 2024

okay. Let me do it ! Thanks for your support @mballance .

from pyvsc.

ShraddhaDevaiya avatar ShraddhaDevaiya commented on May 27, 2024

Hi @mballance , I tried to install pyvsc 0.0.4 with pip3, but still it is installing 0.0.3 version. So Can you please take a look at it?

from pyvsc.

mballance avatar mballance commented on May 27, 2024

Hi @ShraddhaDevaiya, I double-checked on this and it seems I forgot to bump the version. The version is updated, which will ensure that a new release is available on PyPi. Apologies for the delay, and hope the new release works for you!

Best Regards,
Matthew

from pyvsc.

ShraddhaDevaiya avatar ShraddhaDevaiya commented on May 27, 2024

Hello @mballance , I am able to install the [email protected], but it is not randomizing the value of self.b from the list temp. Same result I am getting , which is shown below :

image

and one more thing, we can observe here, printing of set value. I have not written it in code. So, any significance of this ?

from pyvsc.

ShraddhaDevaiya avatar ShraddhaDevaiya commented on May 27, 2024

for set value , I got the thing, I have used list inside rangelist instead of tuple, as you said new release it should be tuple. also it is randomizing self.b value from list. Thanks @mballance , for your support !

from pyvsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.