Skip to content
#

python2

python logo

Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.

Here are 2,126 public repositories matching this topic...

zachriggle
zachriggle commented Apr 28, 2020

I'm not sure what's causing this issue, but it looks like ROP.raw() does something weird when given one-byte arguments.

This happens on both Python2 and Python3.

Correct

>>> r=ROP([])
>>> r.raw(32)
>>> print(r.dump())
0x0000:             0x20
>>> r.raw(pack(32))
>>> print(r.dump())
0x0000:             0x20
0x0004:  ' \x00\x00\x00' ' \x00\x00\x00'
>>> print(hexdump(str(
gpotter2
gpotter2 commented Jul 21, 2019

Project "Hinty" aims at adding Type hints to Scapy. It will help discover bugs, improve the API, and make Scapy up-to-date with the high standards of Python libraries.

Implementation

We use mypy to ensure automatic testing of the work that has already been completed. PRs that fall under project Hinty will process one (or a few) files and register them into the checks. The file

AndrewOwenMartin
AndrewOwenMartin commented Apr 26, 2019

The documentation says that the "message" attribute of a question can be a string or a function that takes the current answers and returns a string. That doesn't appear to be accurate documentation as any function, or lambda, I use as a questions "message" gets evaluated as a string in the prompt.

e.g. This question definition;

def my_message(answers):
    return "Hello {x}".format(x=len
dezmaeth
dezmaeth commented Apr 22, 2020

Summary:

No module named 'celery.utils.time'

  • Celery Version: 3.3.1
  • Celery-Beat Version: 2.0.0

Exact steps to reproduce the issue:

  1. create virtualenv , pip install following packages
django==3.0.5
six==1.13.0
celery==3.1.25
django-celery>=3.3.1
django-celery-beat==2.0.0
  1. start django with manage command

Detailed information

 File "/home/maeth/

Created by Guido van Rossum

Released February 20, 1991

Organization
python
Website
www.python.org
Wikipedia
Wikipedia

Related Topics

language ruby
You can’t perform that action at this time.