টুইট

আপনি @kurtbrose-কে ব্লক করেছেন

আপনি কি এই টুইটগুলি দেখতে চাওয়ার বিষয়ে নিশ্চিত? টুইটগুলি দেখা হলে @kurtbrose অবরোধ মুক্ত হবে না।

  1. পুনঃ টুইট করেছেন
    ২৫ মে

    When trying to index into a non-subscriptable object, the error message now shows the key in PyPy. This is useful in a chain of indexing to see which index caused the error. Inspired by the motivating example in the glom tutorial: /CC

    A Python interactive console session with the following code:

>>>> data2 = {'a': {'b': None}}
>>>> data2['a']['b']['c']
Traceback (application-level):
  File "<inline>", line 1 in <module>
    data2['a']['b']['c']
TypeError: 'NoneType' object is not subscriptable (key 'c')
    পূর্বাবস্থায়
  2. ১১ মে, ২০১৭

    zip() iterates over dict by keys (whoops) >>> zip({'a': 1}, [2]) [('a', 2)]

    পূর্বাবস্থায়
  3. ১৪ এপ্রিল, ২০১৭

    echo "print 'module'" > a.py; mkdir a; echo "print 'package'" > a/__init__.py; python -c "import a" # package wins over module

    পূর্বাবস্থায়
  4. ১১ এপ্রিল, ২০১৭

    Just Working (tm)

    পূর্বাবস্থায়
  5. ২১ মার্চ, ২০১৭

    Save a call to type()? >>> class Bar(object): ... locals().update({'cat':1}) ... >>> 1

    পূর্বাবস্থায়
  6. পুনঃ টুইট করেছেন
    ২০ মার্চ, ২০১৭

    GOP: The healing potion is 5,000 gold pieces. PC: But we don't have that much gold. GOP: No, but you have ACCESS to health potions.

    পূর্বাবস্থায়
  7. পুনঃ টুইট করেছেন
    ২০ মার্চ, ২০১৭

    DM: The fighter takes a big hit from the Ogre's club. Cleric? Cleric: If I heal him, he'll have no incentive to avoid Ogre attacks.

    পূর্বাবস্থায়
  8. পুনঃ টুইট করেছেন
    ১৭ মার্চ, ২০১৭

    DM:"The dragon rests on a hoard of gold." PC:"We gather the town's wealth and add it in. The dragon will surely create jobs now."

    পূর্বাবস্থায়
  9. ১৩ মার্চ, ২০১৭

    >>> class JSON(int): ... from json import * ... >>> json = JSON() >>> json.dumps() '0'

    পূর্বাবস্থায়
  10. ২৪ ফেব, ২০১৭

    thanks, docker-- rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec:

    পূর্বাবস্থায়
  11. ৩১ জানু, ২০১৭
    পূর্বাবস্থায়
  12. ১৬ ডিসেম্বর, ২০১৬

    >>> class A(object): pass ... >>> >>> a = A() >>> a.b = a >>> a.b.c = 'ding' >>> reduce(getattr, [a, 'b', 'c']) 'ding'

    পূর্বাবস্থায়
  13. ২৯ নভেম্বর, ২০১৬

    >>> getattr(type, dir(type)[0]) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: __abstractmethods__

    পূর্বাবস্থায়
  14. ২১ নভেম্বর, ২০১৬

    bool subclass integer >>> True == (False + True) True

    পূর্বাবস্থায়
  15. ২১ নভেম্বর, ২০১৬

    >>> {1: 'first', 1.0: 'second'} {1: 'second'} >>> {1.0: 'first', 1: 'second'} {1.0: 'second'}

    পূর্বাবস্থায়
  16. ১৫ নভেম্বর, ২০১৬
    পূর্বাবস্থায়
  17. ১৪ নভেম্বর, ২০১৬

    A step up from legos for Raspberry Pi clusters?

    পূর্বাবস্থায়
  18. ১১ নভেম্বর, ২০১৬

    I'm not the only one with docker mounted file-system crashes

    পূর্বাবস্থায়
  19. ১১ নভেম্বর, ২০১৬

    Docker is an amazing. fatal error: ./boost/python/overloads.hpp: Transport endpoint is not connected. Compilation terminated.

    পূর্বাবস্থায়

লোড হতে বেশ কিছুক্ষণ সময় নিচ্ছে।

টুইটার তার ক্ষমতার বাইরে চলে গেছে বা কোনো সাময়িক সমস্যার সম্মুখীন হয়েছে আবার চেষ্টা করুন বা আরও তথ্যের জন্য টুইটারের স্থিতি দেখুন।

    আপনিও পছন্দ করতে পারেন

    ·