On 07/06/13 16:53, letsplaysf...@gmail.com wrote:
I was planning on making a small 2D game in Python. Are there any libraries for
this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want multi-platform)
On Fri, 07 Jun 2013 21:32:39 -0500, Tim Chase wrote:
Playing around, I've been trying to figure out the most pythonic way of
incrementing multiple values based on the return of a function.
Something like
[...skip misleading and irrelevant calculate() function...]
alpha = beta = 0
Tim Chase wrote:
On 2013-06-07 23:46, Jason Swails wrote:
On Fri, Jun 7, 2013 at 10:32 PM, Tim Chase
def calculate(params):
a = b = 0
if some_calculation(params):
a += 1
if other_calculation(params):
b += 1
return (a, b)
alpha = beta = 0
Τη Σάββατο, 8 Ιουνίου 2013 5:52:22 π.μ. UTC+3, ο χρήστης Cameron Simpson έγραψε:
On 07Jun2013 11:52, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| ni...@superhost.gr [~/www/cgi-bin]# [Fri Jun 07 21:49:33 2013] [error]
[client 79.103.41.173] File
Τη Παρασκευή, 7 Ιουνίου 2013 11:47:58 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
Can find what? koukos.py is there inside the cg-bin dir with 755 perms.
It's looking for
On Sat, Jun 8, 2013 at 4:49 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Oh my God i cant beleive i missed a colon *again*:
For most Python programmers, this is a matter of moments to solve. Run
the program, get a SyntaxError, fix it. Non-interesting event. (Maybe
even sooner than that, if
On Sat, Jun 8, 2013 at 4:53 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 11:47:58 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
\ Τη Παρασκευή, 7 Ιουνίου 2013 5:32:09 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
It's looking for
On Fri, 07 Jun 2013 23:49:17 -0700, Νικόλαος Κούρας wrote:
[...]
Oh iam very sorry.
Oh my God i cant beleive i missed a colon *again*:
I have corrected this:
[snip code]
Stop posting your code after every trivial edit!!!
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jun 8, 2013 at 5:26 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Fri, 07 Jun 2013 23:49:17 -0700, Νικόλαος Κούρας wrote:
[...]
Oh iam very sorry.
Oh my God i cant beleive i missed a colon *again*:
I have corrected this:
[snip code]
Stop posting your code
On Thu, 06 Jun 2013 23:35:33 -0700, nagia.retsina wrote:
Working with bytes is only for when the file names are turned to
garbage. Your file names (some of them) are turned to garbage. Fix
them, and then use file names as strings.
Can't '~/data/apps/' is filled every day with more and more
Νικόλαος Κούρας schreef:
Session settings afaik is for putty to remember hosts to connect to,
not terminal options. I might be worng though. No matter how many times
i change its options next time i run it always defaults back.
Putty can most definitely remember its settings:
- Start PuTTY;
On Sat, Jun 8, 2013 at 2:47 AM, Peter Otten __pete...@web.de wrote:
You can hide the complexity in a custom class:
class T(tuple):
... def __add__(self, other):
... return T((a+b) for a, b in zip(self, other))
...
t = T((0, 0))
for pair in [(1, 10), (2, 20), (3, 30)]:
On 07.06.2013 18:53, letsplaysf...@gmail.com wrote:
I was planning on making a small 2D game in Python. Are there any libraries for
this? I know of:
• Pygame - As far as I know it's dead and has been for almost a year
• PyOgre - Linux and Windows only(I do have those, but I want
On Fri, 07 Jun 2013 08:53:03 -0700, letsplaysforu wrote:
I was planning on making a small 2D game in Python. Are there any
libraries for this? I know of:
[snip]
There's also Pyglet.
--
http://mail.python.org/mailman/listinfo/python-list
This may be of interest to the group:
Riemann and Bernhard, a distributed systems monitor and Python client
http://jugad2.blogspot.in/2013/06/riemann-and-bernhard-distributed.html
- Vasudev Ram
dancingbison.com
Python training and consulting
--
Τη Σάββατο, 8 Ιουνίου 2013 10:01:51 π.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
On Sat, Jun 8, 2013 at 4:53 PM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 11:47:58 μ.μ. UTC+3, ο χρήστης MRAB έγραψε:
On 07/06/2013 19:24, Νικόλαος Κούρας wrote:
\ Τη
On Sun, Jun 9, 2013 at 1:36 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Τη Σάββατο, 8 Ιουνίου 2013 10:01:51 π.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
On Sat, Jun 8, 2013 at 4:53 PM, Νικόλαος Κούρας nikos.gr...@gmail.com
wrote:
Τη Παρασκευή, 7 Ιουνίου 2013 11:47:58 μ.μ. UTC+3, ο
On Fri, 07 Jun 2013 08:53:03 -0700, letsplaysforu wrote:
I was planning on making a small 2D game in Python. Are there any
libraries for this? I know of:
It wasn't your question, but I was happy to find out that box2d exists for
python.
--
http://mail.python.org/mailman/listinfo/python-list
Perhaps this isn't the right place to post this, but it's the only place I
could find.
I asked yesterday or the day before about Python Game Development, and have
found a few tutorials on PyGame. Now I have a bigger problem: HOW THE HECK DO I
INSTALL PYGAME!?!?! System Details:
• Mac OS X
On 08/06/2013 07:49, Νικόλαος Κούρας wrote:
Τη Σάββατο, 8 Ιουνίου 2013 5:52:22 π.μ. UTC+3, ο χρήστης Cameron Simpson έγραψε:
On 07Jun2013 11:52, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| ni...@superhost.gr [~/www/cgi-bin]# [Fri Jun 07 21:49:33 2013] [error]
On 8 Jun 2013 17:17, Eam onn letsplaysf...@gmail.com wrote:
I keep getting an error in all my versions of IDLE.
What error is that? Show us. Errors carry strong hints.
Also, are you following an install guide/tutorial? Which one?
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
Sorry for th delay guys, was busy with other thigns today and i am still
reading your resposes, still ahvent rewad them all just Cameron's:
Here is what i have now following Cameron's advices:
#
# Collect filenames of the path directory
Τη Σάββατο, 8 Ιουνίου 2013 7:03:57 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
On Sun, Jun 9, 2013 at 1:36 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Well, www as symlink to public_html is always a symlink to any system i
have used so its something defaulted.
It's most certainly not
On Saturday, June 8, 2013 5:41:40 PM UTC+1, Fábio Santos wrote:
On 8 Jun 2013 17:17, Eam onn letspl...@gmail.com wrote:
I keep getting an error in all my versions of IDLE.
What error is that? Show us. Errors carry strong hints.
Also, are you following an install guide/tutorial? Which
On 6/8/2013 12:16 AM, Tim Chase wrote:
On 2013-06-08 07:04, Carlos Nepomuceno wrote:
alpha, beta = (1 if some_calculation(params) else 0, 1 if
other_calculation(params) else 0)
This one sets them to absolute values, rather than the incrementing
functionality in question:
alpha += temp_a
Okey after reading also Steven post, i was relived form the previous suck
position i was, so with an alternation of a few variable names here is the code
now:
#
# Collect directory and its filenames as bytes
path =
On 08/06/2013 17:53, Νικόλαος Κούρας wrote:
Sorry for th delay guys, was busy with other thigns today and i am still
reading your resposes, still ahvent rewad them all just Cameron's:
Here is what i have now following Cameron's advices:
At the Terminal prompt type: python -c help('modules')
If Pygame is not somewhere in the output then Pygame is not yet installed.
If it is not installed then type: pip install --upgrade pygame
--
http://mail.python.org/mailman/listinfo/python-list
On 8/6/2013 5:49 πμ, Cameron Simpson wrote:
On 07Jun2013 04:53, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| Τη Παρασκευή, 7 Ιουνίου 2013 11:53:04 π.μ. UTC+3, ο χρήστης Cameron Simpson
έγραψε:
| | | errors='replace' mean dont break in case or error?
|
| | Yes. The
On Saturday, June 8, 2013 6:58:53 PM UTC+1, ccl...@bluewin.ch wrote:
At the Terminal prompt type: python -c help('modules')
If Pygame is not somewhere in the output then Pygame is not yet installed.
If it is not installed then type: pip install --upgrade pygame
python -c
On Saturday, June 8, 2013 7:05:49 PM UTC+1, Eam onn wrote:
On Saturday, June 8, 2013 6:58:53 PM UTC+1, ccl...@bluewin.ch wrote:
At the Terminal prompt type: python -c help('modules')
If Pygame is not somewhere in the output then Pygame is not yet installed.
Ok,
thanks for your reply.
But i have another problem: i hadn't always the hardware needed for the tests.
Before i've used a terminal and com0com to simulate a serial input: if i want
to simulate a transmission every 5ms how can i do? I need a program or a code
that i'm sure about its
On Sat, 08 Jun 2013 21:01:23 +0300, Νικόλαος Κούρας wrote:
In the beginning there was ASCII with 0-127 values
No, there were encoding systems that existed before ASCII, such as
EBCDIC. But we can ignore those, and just start with ASCII.
and then there was
Unicode with 0-127 of ASCII's + i
On 8 Jun 2013 19:19, Eam onn letsplaysf...@gmail.com wrote:
Wait, the python -c help('modules') worked after spamming it a few
times. Pygame was listed but it won't do anything when I type in 'import
pygame' I still get the error :(
Try to always say what your error was.
Do you have pip
On Sun, Jun 9, 2013 at 4:01 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Hold on!
In the beginning there was ASCII with 0-127 values and then there was
Unicode with 0-127 of ASCII's + i dont know how much many more?
Now ASCIII needs 1 byte to store a single character while Unicode needs
Type: python -V
(That was a capitol V) What version of python is running?
Type: python3 -V
(That was a capitol V) What version of python is running?
Type: python -c 'import pygame'
What is the exact error message?
Type: python
Your prompt should change to something like:
Type: import pygame
Τη Σάββατο, 8 Ιουνίου 2013 10:01:57 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
ASCII actually needs 7 bits to store a character. Since computers are
optimized to work with bytes, not bits, normally ASCII characters are
stored in a single byte, with one bit wasted.
So ASCII and Unicode
On 06/08/2013 10:56 AM, Νικόλαος Κούρας wrote:
its very tedious to always triming everything for me and i know it is
for you to ead it assuc. Damn google groups, why is it behaving as
such? Dont the programmers know about it?
Most of us on the list don't use google groups. A number of us use
Sorry for displaying my code so many times, i know i ahve exhaust you but hti
is the last thinkg i am gonna ask from you in this thread. We are very close to
have this working.
#
# Collect directory and its filenames as bytes
path =
Hello,
I have written a small utility to locate errors in regular expressions
that I want to upload to PyPI. Before I do that, I would like to learn
a litte more about the legal aspects of open-source software. What would
be a good introductory reading?
Plus, I have one very specific question:
Τη Κυριακή, 9 Ιουνίου 2013 12:17:16 π.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
What does this error means anyway?
It means that Apache is unable to find your cgi script. It's turning
the url into a file path, but it can't find the file path. Sometimes
Apache is configured to not
On 2013.06.08 16:31, Malte Forkel wrote:
Hello,
I have written a small utility to locate errors in regular expressions
that I want to upload to PyPI. Before I do that, I would like to learn
a litte more about the legal aspects of open-source software. What would
be a good introductory
On Sun, Jun 9, 2013 at 7:21 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Sorry for displaying my code so many times, i know i ahve exhaust you but hti
is the last thinkg i am gonna ask from you in this thread. We are very close
to have this working.
You need to spend more time reading
On Sat, Jun 8, 2013 at 2:31 PM, Malte Forkel malte.for...@berlin.de wrote:
Hello,
I have written a small utility to locate errors in regular expressions
that I want to upload to PyPI. Before I do that, I would like to learn
a litte more about the legal aspects of open-source software. What
On Sun, Jun 9, 2013 at 7:31 AM, Malte Forkel malte.for...@berlin.de wrote:
# This version of the SRE library can be redistributed under CNRI's
# Python 1.6 license. For any other use, please contact Secret Labs
# AB (i...@pythonware.com).
I presume that's referring to this:
On Sun, Jun 9, 2013 at 2:56 AM, Νικόλαος Κούρας nikos.gr...@gmail.com wrote:
Τη Σάββατο, 8 Ιουνίου 2013 7:03:57 μ.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
On Sun, Jun 9, 2013 at 1:36 AM, Νικόλαος Κούρας nikos.gr...@gmail.com
wrote:
Well, www as symlink to public_html is always a symlink
On 08Jun2013 14:14, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| Τη Σάββατο, 8 Ιουνίου 2013 10:01:57 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
| ASCII actually needs 7 bits to store a character. Since computers are
| optimized to work with bytes, not bits,
On 2013.06.08 17:09, Benjamin Kaplan wrote:
On Sat, Jun 8, 2013 at 2:31 PM, Malte Forkel malte.for...@berlin.de wrote:
# This version of the SRE library can be redistributed under CNRI's
# Python 1.6 license. For any other use, please contact Secret Labs
# AB (i...@pythonware.com).
#
#
Eam onn:
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so,
2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so:
no matching architecture
I can't tell you as a lawyer, but I can tell you that regarding code
for non-commercial use, the only supportable case is requiring
fair-credit assignment. If reading the original license (which you
are obligated to do if you re-use and re-distribute the code), it
stipulates that you must
On Sat, 08 Jun 2013 23:31:10 +0200, Malte Forkel wrote:
Hello,
I have written a small utility to locate errors in regular expressions
that I want to upload to PyPI. Before I do that, I would like to learn
a litte more about the legal aspects of open-source software. What would
be a good
Hi,
I'm trying to write a function that programmatically obtains and returns the
exact location of all first-level modules for all installed packages.
For example, if the packages named 'django' and 'django-debug-toolbar' are
installed, I'd like this function to return something like:
On 9/6/2013 1:32 πμ, Cameron Simpson wrote:
On 08Jun2013 14:14, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?=
nikos.gr...@gmail.com wrote:
| Τη Σάββατο, 8 Ιουνίου 2013 10:01:57 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
| ASCII actually needs 7 bits to store a character. Since computers are
|
Τη Σάββατο, 8 Ιουνίου 2013 9:47:53 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
Fortunately, Python lets us hide away pretty much all those details,
just as it lets us hide away the details of what makes up a list, a
dictionary, or an integer. You can safely assume that the string foo
is a
print '\n'.join([re.findall(from '(.*)',str(v))[0] for k,v in
sys.modules.items() if str(v).find('from')-1])
Date: Sat, 8 Jun 2013 21:30:48 -0700
Subject: Listing modules from all installed packages
From: jpha...@gmail.com
To: python-list@python.org
Hi,
I'm trying to write a function
Trying
yum install dos2unix
and
root@nikos [/home/nikos/www/cgi-bin]# dos2unix koukos.py
dos2unix: converting file koukos.py to UNIX format ...
Then browsed to the page again in Chrome it worked as expected :-)
--
http://mail.python.org/mailman/listinfo/python-list
Ethan Furman added the comment:
Hopefully the final bit of code, plus docs.
Code changes:
_names_ are reserved
Doc changes (different from the PEP):
examples of AutoEnum, UniqueEnum, and OrderedEnum
--
Added file: http://bugs.python.org/file30504/pep-0435.08.stoneleaf.patch
Changes by Ethan Furman et...@stoneleaf.us:
Removed file: http://bugs.python.org/file30504/pep-0435.08.stoneleaf.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
Changes by Ethan Furman et...@stoneleaf.us:
Added file: http://bugs.python.org/file30505/pep-0435.08.stoneleaf.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
Changes by Ethan Furman et...@stoneleaf.us:
Removed file: http://bugs.python.org/file30505/pep-0435.08.stoneleaf.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
Ethan Furman added the comment:
Apologies for the noise -- was having trouble getting the correct patch
attached. :/
--
Added file: http://bugs.python.org/file30506/pep-0435.09.stoneleaf.patch
___
Python tracker rep...@bugs.python.org
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18111
___
___
Python-bugs-list
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +isoschiz, pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18112
___
___
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18129
___
___
Python-bugs-list
koobs added the comment:
Commit to 3.3 broke at least my FreeBSD buildbot:
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.3/builds/641/steps/test/logs/stdio
Also setting +Version: Python 3.3 on this.
--
nosy: +koobs
versions: +Python 3.3
Łukasz Langa added the comment:
Your patch leaks references with subinterpreters, which was exposed by
functools.singledispatch using weakref. While the actual bug is in atexit
(which doesn't properly unregister on subinterpreter termination), now all uses
of weakref leak.
Context:
Terry J. Reedy added the comment:
I don't think so. The idle test, test_idle, passed. The patch did not even
affect any of the three idle files that it currently tests. Just because a
commit triggers a test does not mean that it is the cause of any failure that
happens. The log says the
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18111
___
koobs added the comment:
Apologies for the noise Terry, rebuilding passes.
Unsetting versions: 3.3
Is the failure on the build I reported worth opening an issue for?
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17343
___
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7796
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Your raw parameter is one too many IMO. You should find a way to present all
relevant information in a single API call.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18143
Roundup Robot added the comment:
New changeset d6ad9d7468f7 by Richard Oudkerk in branch 'default':
Issue #15528: Delay importing atexit until weakref.finalize() used.
http://hg.python.org/cpython/rev/d6ad9d7468f7
--
___
Python tracker
Ethan Furman added the comment:
So, which is better?
To have a @unique class decorator as part of the module, or to have a
UniqueEnum recipe in the docs?
A decorator is immediately usable, but requires remembering an extra line of
code.
An example requires being put into a local utility
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17375
___
___
Python-bugs-list
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1772673
___
___
Python-bugs-list
Eli Bendersky added the comment:
Nick prudently moved the unique discussion to its own issue - 18042. Let's get
the initial implementation docs committed first (without unique in the
implementation, although it's fine to have it as an example in the docs for
now), close this issue, and then
Ethan Furman added the comment:
Good idea, thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17947
___
___
Python-bugs-list mailing list
Eli Bendersky added the comment:
I sent a fresh review - nothing major; it's very near commit readiness now.
Additional changes can be done after the initial commit. We have time until 3.4
beta (November 2013) to tweak stuff (and the documentation whenever...)
--
Barry A. Warsaw added the comment:
+1 for the decorator!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18042
___
___
Python-bugs-list mailing
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18042
___
___
Python-bugs-list mailing
Christian Heimes added the comment:
How about a single return value:
DefaultVerifyPaths = collections.namedtuple(DefaultVerifyPaths,
cafile capath openssl_cafile_env openssl_cafile openssl_capath_env
openssl_capath)
--
___
Python tracker
Richard Oudkerk added the comment:
PJE suggests importing atexit and registering finalize only when it's
actually used. I guess this would be the easiest workaround.
Done.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8902
___
João Bernardo added the comment:
Overriding __getattr__ doesn't look like the best solution
Another idea would be to allow the proxy class to be selectable, but this would
require the user to do much more coding for this simple thing...
I believe a proxy should be dynamic enough to avoid
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18113
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18110
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18119
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18156
___
___
Ezio Melotti added the comment:
'Import' is as easy to use as Graft and as far as I know, the result
when successful is the same.
I use import while importing patches from the tracker, but once I committed on
2.x it's easier to just graft instead of importing again (importing often
Changes by A.M. Kuchling li...@amk.ca:
--
nosy: +akuchling
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14015
___
___
Python-bugs-list mailing
Christian Heimes added the comment:
New patch with fixed doc string and indention.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa377189%28v=vs.85%29.aspx
explains how encoding type shall be interpreted. I haven't seen PKCS#7 certs
on my Windows system, though.
Instead of a flag I
Antoine Pitrou added the comment:
How about a single return value:
DefaultVerifyPaths = collections.namedtuple(DefaultVerifyPaths,
cafile capath openssl_cafile_env openssl_cafile openssl_capath_env
openssl_capath)
Sounds good.
--
___
Thomas Heller added the comment:
The modulefinder usage is directly exposed in its API as the return
value of a find_module method, which makes removal a pain. Adding
Thomas Heller to see what he has to say.
Some months ago, I have started to implement a brand-new modulefinder,
which is
Mher Movsisyan added the comment:
I think this is not a bug. plistlib api accepts dict (not OrderedDict) and
sorted output is a valid output. plistlib sorts dictionaries to be consistent
with Apple's tools.
property list format [1] uses CFDictionary [2] with CFString keys. CFDictionary
is
Eric Snow added the comment:
It may not enough, but the use of namedtuples (vs. plain tuples) with
functools.singledispatch() would be messier without a NamedTuple ABC (or other
base type). Of course, when would you want to dispatch specifically on
namedtuple? I can think of a few
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +hynek, ned.deily, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18168
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10652
___
___
New submission from Roman Zeyde:
Reproduction:
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type help, copyright, credits or license for more information.
import struct
struct.pack('!L', 0x01020304)
'\x01\x02\x03\x04'
struct.pack('L', 0x01020304)
'\x01\x02\x03\x04'
Ezio Melotti added the comment:
I’ve actually seen two contrary kinds of advice
and the best approach is most of the times something in between. Doing minor
cleanups while touching the code is fine, but if most of the changes are
cleanups then it gets distracting. In that case it's better
1 - 100 of 134 matches
Mail list logo