Re: [Twisted-Python] Conch SFTP Questions

2020-09-23 Thread Glyph

> On Sep 22, 2020, at 3:47 PM, Robert DiFalco  wrote:
> 
> Thanks! That is the full code. `connect` is from the conch library. 

To clarify Adi's comment somewhat, the "full" code would mean following the 
rules of http://sscce.org  here; i.e. minimize the example 
to be runnable on its own, then attach the code as you actually run it (as a 
.py file, or in a link to a gist or a repo), rather than pasted into the body 
of the email which can easily lead to transcription errors.

For example, when I do paste your code into a file and run it, what I get is:

Traceback (most recent call last):
  File "stuff.py", line 1, in 
@attr.s(frozen=True)
NameError: name 'attr' is not defined

and yeah, one could guess as to where to get `import attr`, from — me 
especially ;-) - but then we have to repeat that process for dozens of names, 
one at a time, gradually reassembling your code into something that 
approximates what it looked like to you; then we have to hook up your 
connection example to be runnable on its own, and after we're done guessing at 
all the imports we have to guess at the versions of things in your environment. 
 So a `requires.txt` generated by `pip freeze` or similar would also be a 
helpful addition here, just so someone attempting to tinker with your code can 
quickly get to the point rather than spending lots of time setting up things 
you've already done.

Thanks for using Twisted, and good luck with Conch!

-glyph

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Request for new Twisted release?

2020-09-23 Thread Glyph


> On Sep 22, 2020, at 3:42 PM, Craig Rodrigues  wrote:
> 
> Amber,
> 
> Can we have a new Twisted release within the next two months, say in 
> Nov./Dec. timeframe, or
> sooner if you'd like?

Given that Amber hasn't been super responsive lately, and that I firmly believe 
it should be possible to take breaks from open source (particularly amidst the, 
you know, global collapse of civilization and stuff), I will take the 
opportunity point out yet again that 
http://twisted.readthedocs.org/en/latest/core/development/policy/release-process.html
 

 documents the release process and any sufficiently-motivated volunteer (with 
at least a bit of history & trust within the community) can step forward and 
receive all the permissions necessary to do all of these steps.

I will personally volunteer to fill in the permissions gaps for any interested 
parties, although I don't have much bandwidth for the release itself.

Amber, if you want to do it, go ahead and get started, I'm just saying we don't 
need to put this on your shoulders :).

-glyph

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python