Skip to content
#

python-3

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 4,346 public repositories matching this topic...

Pillow
robertoetcheverryr
robertoetcheverryr commented May 6, 2020

As requested I am opening a new issue after testing with Python 3.7 and the latest PyInstaller development version.
Referencing issue #2533

Windows 10 x64 (Spanish locale)
PyInstaller 4.0.dev0+80d5078081
Python 3.7.7

Code modified from the initial example:

# parent.py
#!/usr/bin/python
import os
import sys
import time
from subprocess import Popen

if __name__ == "__main__":
ThomasWaldmann
ThomasWaldmann commented Apr 13, 2020

If somebody has some time for FUSE benchmarking:

diff --git a/src/borg/fuse.py b/src/borg/fuse.py
index 429790e4..27ab1c1a 100644
--- a/src/borg/fuse.py
+++ b/src/borg/fuse.py
@@ -644,12 +644,13 @@ def read(self, fh, offset, size):
                 data = self.data_cache[id]
                 if offset + n == len(data):
                     # evict fully read chunk from cache
-     
neirbowj
neirbowj commented May 27, 2018

Thank you for maintaining this great resource!

With Python 2 End of Life planned for about 19 months from now, it should be possible to run any snippet found on pysheets under the latest version of Python (3.6.5 today) unmodified. For example, all occurrences of print should be functions instead of statements. This is not to say that the snippets s

SebbyLaw
SebbyLaw commented Apr 20, 2020

Summary

sending a discord.File object through Messageable.send() changes the state of the file object.

Reproduction Steps

file = discord.File(io.BytesIO(my_bytes), filename='my_file')
await ctx.send(file=file)  # sends the file properly
await ctx.send(file=file)  # sends the file with zero bytes
await ctx.send(file=file)  # error

Expected Results

Sendi

psverkada
psverkada commented Jan 14, 2020

The fact that exclude takes dotted notation for nested fields, but unknown does not apply to nested fields, means that exclude doesn't work for nested fields in some common use cases unless the nested schema(s) have the desired Meta.unknown setting, and then they are not runtime-flexible, which is the great benefit of Schema and load taking exclude. Somewhat new to marshmallow so mayb

eyand
eyand commented Jun 21, 2017

In the documentation for the Mobileclient.get_promoted_songs() method, the docs say that the method determining the songs returned is unknown. When I run this method my liked/thumbs up auto-playlist is returned. Not sure if that is the case for anyone else.

usamitysam
usamitysam commented Feb 10, 2018

Thanks for the project!!!! The fact that examples exist is amazingly great. I have a philosophy recommendation for you. The examples exist so you don't have to answer stupid questions. In that spirit of saving you time and effort, you might want to spend a few minutes and adding clean separation in the code, remove command nesting and line splits. Finally consider adding painfully excessive

kevinhendricks
kevinhendricks commented Feb 19, 2020

porcelain.add does not work as documented:
"path - Paths to add. No value passed stages all modified files"

(emphasis is mine)

From looking at the porcelain.py code, If paths is none it only adds untracked changes and not unstaged changes.

So procelain.add(repo='.', paths=None) does not work like:

git add -A

FWIW, should be an easy fix to add unstaged to it.

bug
gyermolenko
gyermolenko commented May 13, 2019

Argument type for many SortedSet commands (for min/max kw) is enforced by isinstance check.
In one place it even has this comment:

if not isinstance(max, bytes):  # FIXME     Why only bytes?
    raise TypeError("max argument must be bytes")

I think it is more convenient (for me as a user) to pass strings inst. of bytes.
Some of these commands are for "lexicographical" op

cherrypy
dimaqq
dimaqq commented Mar 23, 2020

I'm curious what model is used to bridge Python and golang concurrency models.
I wish it was documented :)

Python has threads (1:1 mapped to lightweight system processes) and asyncio, explicit and quite so different.

Go has special handling for cpu-bound and io-bound goroutines, transparent to the user.

How would someone use gopy to interface go's amazing net/http module or some go p

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.