Re: Automate deployment of Python application from multiple VCS repositories

2015-04-08 Thread Damien Wyart
Fabric might help but is more low-level than what you seem to look for. http://docs.fabfile.org/en/latest/tutorial.html Elsewhere in the spectrum is Saltstack, but application deployment usecases are not that well documented.

Re: Automate deployment of Python application from multiple VCS repositories

2015-04-08 Thread Damien Wyart
* Ben Finney ben+pyt...@benfinney.id.au in comp.lang.python: What tools are available to automate deployment of a Python application comprising many discrete modules, spread across different code bases in different VCS repositories? Fabric might help but is more low-level than what you seem to

Re: How to find out which named regular expression group corresponds to which positional regex group

2015-04-08 Thread Damien Wyart
* Mattias Ugelvik ugle...@gmail.com in comp.lang.python: I'm making a string manipulation tool in which I need to know this correlation. Take this example: re.match('(?Pfirsta?)(?Psecondb?)', '') I need to know that 'first' is group #1, and 'second' is group #2. I need this to resolve certain

Re: Will Python 3.x ever become the actual standard?

2013-10-24 Thread Damien Wyart
I am starting to have doubts as to whether Python 3.x will ever be actually adopted by the Python community at large as their standard. Years have passed, and a LARGE number of Python programmers has not even bothered learning version 3.x. Why am I bothered by this? Because of lot of good

Re: Sudoku

2013-03-27 Thread Damien Wyart
* Eric Parry joan4e...@gmail.com in comp.lang.python: I downloaded the following program from somewhere using a link from Wikipedia and inserted the “most difficult Sudoku puzzle ever” string into it and ran it. It worked fine and solved the puzzle in about 4 seconds. However I cannot

Re: Cannot connect to IMAP server in Python 3.2

2012-04-05 Thread Damien Wyart
* Steven D'Aprano steve+comp.lang.pyt...@pearwood.info in comp.lang.python: IMAP4_SSL is documented as existing in Python 3. And when I run Python 3.2 on a Centos machine, instead of Debian, it includes IMAP4_SSL which works fine. So there's something screwy going on here. Why does my Python

Re: Emacs users: feedback on diffs between python-mode.el and python.el?

2008-10-17 Thread Damien Wyart
* Carl Banks [EMAIL PROTECTED] in comp.lang.python: The python-mode.el on Subversion (python-mode's Subversion on source forge, not the ancient version of python-mode in the Python repository) has a fix for this issue. It doesn't look like there's any way to browse the subversion any more,

Re: Emacs users: feedback on diffs between python-mode.el and python.el?

2008-10-17 Thread Damien Wyart
* Carl Banks [EMAIL PROTECTED] in comp.lang.python: The python-mode.el on Subversion (python-mode's Subversion on source forge, not the ancient version of python-mode in the Python repository) has a fix for this issue. Btw, I have not found a reference to this fix in the subversion history.

Re: One-step multiples list generation?

2006-01-03 Thread Damien Wyart
* Efrat Regev [EMAIL PROTECTED] in comp.lang.python: Suppose I have some non-numerical Foo and would like to create a list of 20 Foo-s. Is there a one-step method (not a loop) of doing so? Maybe : [ Foo ] * 20 or, more verbose, [ Foo for _ in range(20) ] ? -- DW --

Re: One-step multiples list generation?

2006-01-03 Thread Damien Wyart
Thanks for these important and useful additions, they are very welcome ! In writing my answer I had immutables in mind, but mutables are a bit more dangerous, here... -- DW -- http://mail.python.org/mailman/listinfo/python-list

Re: DIY Spam Filter in Python

2005-04-04 Thread Damien Wyart
* [EMAIL PROTECTED] (Peter Ballard) in comp.lang.python: Source code, and a bit of documentation, is at: http://members.ozemail.com.au/~pballard/diyspamfilter.html BTW, 2 of the 3 files are links, so missing from the tar archive... -- DW -- http://mail.python.org/mailman/listinfo/python-list

Re: parsing IMAP responses?

2005-02-14 Thread Damien Wyart
* Grant Edwards [EMAIL PROTECTED] in comp.lang.python: Is there a library somewhere that impliments the IMAP protocol syntax? Maybe the core part of getmail could be reused, it seems cleanly written. http://www.qcc.ca/~charlesc/software/getmail-4/ -- DW --