?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
http://ipaddr-py.googlecode.com/svn/branches/2.0.x/ipaddr.py
_compat_has_real_bytes = bytes != str
Wouldn't it be nicer bytes is not str?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
__new__ never create an
instance of its class, instead they create instances of other classes. Why
IPv4 and IPv6 are classes and not (factory) functions (like function IP)?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die
On Tue, Aug 18, 2009 at 01:53:36PM -0700, Peter Moody wrote:
hold over from when I was trying to be too fancy. fixed as well.
Thank you. The PEP and the code is Ok for me. Something like this should
be in the stdlib. Currently I'm using IPy.
Oleg.
--
Oleg Broytmannhttp
for sure:
Python 2.5: MSVC-7.1 (VC++ 2003)
Python 2.6: MSVC-9.0 (VS 2008)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
configuration mechanism.
Subversion handles these issues by providing svn:eol-style and
svn:mime-type (handles both MIME type and charset) properties on a
file-by-file basis.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just
On Wed, Aug 05, 2009 at 05:50:03PM +0400, Oleg Broytmann wrote:
Subversion handles these issues by providing ...
svn:mime-type (handles both MIME type and charset)
file-by-file basis.
Dirkjan, how does Mercurial handles charsets? If I have three files in
my repository - one in utf-8
.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
be marked, or converted to ascii or utf-8; the
coding pseudocomment (directive) should be changed accordingly.
Probably there are other files.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
On Thu, Aug 06, 2009 at 12:34:39AM +0900, Stephen J. Turnbull wrote:
Oleg Broytmann writes:
Dirkjan, how does Mercurial handles charsets? If I have three files in
my repository - one in utf-8, another in koi8-r, and the third in cp1251
encoding - I certainly don't want to convert them
developers to develop
Python (if you posted this to the python-dev mailing list instead of c.l.p
or c.l.p.a)?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
/
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
functions are declared in Python, so I think annotations is the
way to go for such declarations.
Python 3.0 has arguments and return value annotations:
http://docs.python.org/3.0/whatsnew/3.0.html#new-syntax
http://www.python.org/dev/peps/pep-3107/
Oleg.
--
Oleg Broytmann
is
probably running on a Unix OS.
http://www.selenic.com/mercurial/wiki/FAQ#FAQ.2BAC8-TechnicalDetails.What_about_Windows_line_endings_vs._Unix_line_endings.3F
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without
for this particular file).
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
On Thu, May 28, 2009 at 09:06:03AM -0400, Jeremy Hylton wrote:
It says that the summary line may be used by automatic indexing tools,
but is there any evidence that such a tool actually exists?
epydoc, for one.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p
is on a different filesystem with different rules
(consider NFS, SMB/CIFS, etc.)?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
http://pypi.python.org/pypi
Copyright © 1990-2007, Python Software Foundation
:s/2007/2009/
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
program will be about zero. What the way should
be - I don't know.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev
to raise errors Python becomes completely unusable
for me! But is there anything I can debug here?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
On Tue, Apr 28, 2009 at 11:32:26AM +0200, Thomas Breuel wrote:
On Tue, Apr 28, 2009 at 11:00, Oleg Broytmann p...@phd.pp.ru wrote:
I have an FTP server to which clients with different local encodings
are connecting. FTP protocol doesn't have a notion of encoding so filenames
.
In different encodings on the same filesystem...
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http
? :-)) with the
_middle_ ones changing fastest!
I know it's the US standard, but Python is global. Could we have an
'international' style instead, say, year-month-day:
ACTIVITY SUMMARY (2009-04-17 - 2009-04-24)
+1000 from me!
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru
an exact period offset from a date.
I'd rather see the code merged with timedelta: timedelta(months=n).
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
On Thu, Apr 09, 2009 at 01:14:21PM -0400, Tony Nelson wrote:
I use MySQL, but sort of intend to learn PostgreSQL. I didn't know that
PostgreSQL has no real support for BLOBs.
I think it has - BYTEA data type.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p
\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff'
What am I doing wrong?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
OS/FS (ZFS? NTFS?)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
On Fri, Mar 13, 2009 at 12:28:07PM +0300, Oleg Broytmann wrote:
On Thu, Mar 12, 2009 at 10:14:41PM -0600, Adam Olsen wrote:
Yet the ext4
developers didn't see it that way, so it was sacrificed to new
performance improvements (delayed allocation).
Ext4 is not the only FS with delayed
privileges, so why not copy? As for group ownership - any
user can change group if [s]he belongs to the group.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN
On Thu, Mar 05, 2009 at 01:30:25PM -0500, Barry Warsaw wrote:
Ubuntu (and probably Debian): apt-get install python-lxml
Tested in Debian: yes, the incantation works.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die
.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe
() must have a parameter, say, 'max_items', and
print generator: 'A', 'B', 'C', 'D', 'E', 'F', The situation with
iterators that cannot be reset should be documented.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just
all. One can encounter a server that
stores files in a number of different encodings.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev
Apache in this
area. But they don't. Pity. :(
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http
and pyftpd. My not so humble opinion is - either use bytes instead
of strings or use latin-1 because it is the straightforward encoding that
preserves all 8 bits.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/p...@phd.pp.ru
Programmers don't die, they just GOSUB
On Thu, Jan 01, 2009 at 02:24:02PM +0200, Yinon Ehrlich wrote:
enclosed a patch for webbrowser which will find applications/batch files
ending with .com or .cmd too.
Please submit the patch to the issue tracker: http://bugs.python.org/
Oleg.
--
Oleg Broytmannhttp
.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
On Sat, Dec 06, 2008 at 12:03:55PM +1100, Steven D'Aprano wrote:
I'd rather have the Python API report errors then silence them, at least
by default.
+1 for encoding errors by default.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED
/LC_CTYPE
provide a sensible default, but if a program has problems decoding bytes to
characters there must be a way for the user to override the default. But
the user must be notified about the error, so programs must not silently
filters out non-decodable characters.
Oleg.
--
Oleg Broytmann
- namespaces, modules, etc. Multithreading model allows a number of
processes to share memory.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev
('82.94.237.218', 80)
Doesn't it already do that?
It's the destination address. AFAIU OP said about source address - in
case the program runs on a computer with many addresses - multihomed server
or such...
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED
. ;)
Or may be captyve because the goal of the project is to make some
code captive. :)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev
, but PySQLite... there are many minor releases between
Python releases; my humble opinion is it'd be better to have one external
PySQLite module than two (PySQLite and sqlite3).
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die
(filename)
except:
return False
else:
return True
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
, for example, all of this is
abstracted and you simply use regular python objects.
Durus (and ZODB) has an index of all objects, the index is stored in
memory AFAIK - a real problem if one has millions of objects. Does bsddb
help to mitigate the problem?
Oleg.
--
Oleg Broytmann
On Thu, Sep 04, 2008 at 01:07:23PM -0400, Jeff Hall wrote:
Doesn't SQLlite still have a 4gb cap?
http://sqlite.org/limits.html
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
of taste, I think.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman
similar
to atexit module - every hash module will register its own test function,
and whichdb will call them in turn until it finds which db it is.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Mon, Aug 25, 2008 at 01:30:58PM -0400, Barry Warsaw wrote:
Unless I'm misremembering (I no longer have access to Windows), I
believe that if you use ' '.join(cmd) as the first argument, it will
work cross-platform.
What about arguments that contain spaces?
Oleg.
--
Oleg
On Mon, Aug 11, 2008 at 12:50:16PM +, Antoine Pitrou wrote:
Ah, am I the only one *not* to use Google calendar? :)
Certainly, no! (-:
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
%D0%B4%D0%BE_%D0%B2%D0%B0%D0%BD_%D0%A0%D0%BE%D1%81%D1%81%D1%83%D0%BC
LingVo (Russian-English dictionary):
http://lingvo.yandex.ru/en?text=%D0%BF%D0%B8%D1%82%D0%BE%D0%BD
print urllib.quote(unicode('питон', 'koi8-r').encode('utf-8'))
%D0%BF%D0%B8%D1%82%D0%BE%D0%BD
Oleg.
--
Oleg Broytmann
for implementation that would be good enough to be
accepted. Current proposals for implementation are listed in the PEP with
their disadvantages.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
/python-3000/2006-August/003224.html
http://mail.python.org/pipermail/python-3000/2006-August/003242.html
2006, August... I don't remember what was the resolution of the
discussion.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't
WatTCP library), but certainly cannot do
multithreading or multitasking.
So the wording should be Python supports platform X with the following
limitations: ...
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just
encoding)?
Naming contest: it probably would be the longest of the PYTHON*
variables. I would not want to call it PYTHONENCODING, or
PYTHONSTDENCODING, though, because people might infer that it
affects sys.getdefaultencoding(), which it shouldn't.
PYTHONIOENCODING?
Oleg.
--
Oleg Broytmann
and STDOUT - shorten ENCODING to ENC. If you
agree to sacrifice PYTHON - make it PYSTDOUTENCODING.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
/controls/*
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
poisonously [pythonic?] sarcastic. Just cannot resist.)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev
return a str?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo
On Tue, Mar 25, 2008 at 10:47:42AM -0400, Mark Dickinson wrote:
On Tue, Mar 25, 2008 at 9:46 AM, Oleg Broytmann [EMAIL PROTECTED] wrote:
In 2.5.2 it prints
type 'str'
type 'unicode'
Why the change? Is it a bug or a feature? Shouldn't .to_eng_string()
always return a str
.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
to be the inventor, but there are
different voices against him:
http://damagestudios.net/blog/2005/08/15/sourceforge-founders
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Mon, Mar 17, 2008 at 06:35:46PM -0400, Alexander Belopolsky wrote:
class x:
pass
class y(x):
pass
try:
raise y
except y:
print a
except:
print b
It prints 'b'.
Python 2.2, 2.3, 2.4 and 2.5 on Linux: prints 'a'.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru
it prints 'b'.
class x:
pass
class y(x):
pass
try:
raise y
except y:
print a
except:
print b
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Tue, Mar 04, 2008 at 10:35:42PM +1000, Nick Coghlan wrote:
not needing an explicit interpreter option makes it more shebang friendly
Sorry, I missed something here. How does one combine a zipfile with
a shebang script?!
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru
brought to my attention :)
So it really works? Amazing!
Thank you!
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
they were
about? about the architecture of BDBStorage and Subversion, or about the
very BerkeleyDB, or about what?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Tue, Feb 26, 2008 at 02:04:47PM -0800, Brett Cannon wrote:
Or we can get rid of bsddb and not have the problem anymore. =)
+1 for smaller stdlib and fewer problems.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die
.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http
On Fri, Jan 25, 2008 at 11:32:54AM -0800, Guido van Rossum wrote:
Does no-one thinks it means round(f) either?
I don't think so. I often emulate round(f) as int(f + 0.5).
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die
IOError: [Errno 9] Bad file descriptor
But it is possible to explicitly open the current console for reading
and writing and do I/O regardless of stdin/stdout/stderr redirects:
tty = open(/dev/tty, r+)
tty.write(1\n)
1
line = tty.readline()
DDD
line
'DDD\n'
Oleg.
--
Oleg Broytmann
| file | -] [arg] ...
Try `python -h' for more information.
$ python -E -s
Unknown option: -s
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED
platforms silently
ignores the options, some reports an error, some tries to find python -E -s
in the PATH and report Bad command or file name.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Sun, Jan 20, 2008 at 06:25:57PM +0100, Jeroen Ruigrok van der Werven wrote:
-On [20080120 18:12], Oleg Broytmann ([EMAIL PROTECTED]) wrote:
On most Unicies #! magic may have only one parameter after the program;
the program here is env, the parameter is python, and that's all. Adding
systems.
There is (at least) one linux distro using it, but it's not very
well-known.
Gobo Linux?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Sun, Jan 20, 2008 at 07:30:03PM +0100, Christian Heimes wrote:
Oleg Broytmann wrote:
#! /usr/bin/env python -O
[trying to execute the script on Linux]
/usr/bin/env: python -O: No such file or directory
Oleg.
Oh right. I was sure that I've seen a shebang with options
On Sun, Jan 20, 2008 at 07:34:02PM +0100, Jan Claeys wrote:
Op zondag 20-01-2008 om 20:46 uur [tijdzone +0300], schreef Oleg
Broytmann:
On Sun, Jan 20, 2008 at 06:46:31PM +0100, Jan Claeys wrote:
Op woensdag 16-01-2008 om 02:33 uur [tijdzone +0100], schreef Christian
Heimes
On Mon, Jan 21, 2008 at 12:17:20AM +0200, Tristan Seligmann wrote:
* Oleg Broytmann [EMAIL PROTECTED] [2008-01-20 20:12:38 +0300]:
On Sun, Jan 20, 2008 at 06:00:31PM +0100, Christian Heimes wrote:
#!/usr/bin/env python -E -s
On most Unicies #! magic may have only one parameter
distributions), Solaris and FreeBSD for quite
a long time (though I have never used GNOME/KDE/etc.)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python
/.local/bin
at the site.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
look like. :barf:
Why not use GNU stow?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http
~/local, but both work for me.
Having ~/.python allows me remove it with just one command. It's harder
to clear ~/.local/{bin,lib} without affecting whatever I want to preserve
there.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers
Python, I don't
want to be reminded of that fact on every import line.
When I'm using Jython - am I using Python of Java? After
from java.lang import Class
should it be
from py import exceptions
or
from core import exceptions
?
Oleg.
--
Oleg Broytmannhttp
import
database.sqlite you know exactly what version you are importing.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
/fixing.
Well, don't know.
It talks about the rounding in Python, but mentioning only the binary
floating point. In Decimal you have a lot of different roundings
available... it's worth to mention them?
IMO it's worth to mention the existing of them, briefly.
Oleg.
--
Oleg Broytmann
antigravity
XKCD'ly yours ;)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
for all cases: if the timeout is None
(socket is blocking) or 0 (non-blocking) or not-0 (blocking with timeout)
- just set it back.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
think it'd be the best.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
!
__Oleg__Stressed__by__undersores__'ly yours.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org
?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
of gcc installed with setup.py called
the wrong one and your shell script the right one?
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
___
Python-Dev
this a bug in the logging module (and other libraries)
and submit patches?
2. Or should I stop raising exceptions in __nonzero__()?
In this particular case with logging the fix is simple - do and args[0]
after type check.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru
yes
...
yes
On Wed, Sep 26, 2007 at 09:29:10AM -0700, Guido van Rossum wrote:
So I'm for #1 *and* #2.
I see now. Thank you!
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Thu, Sep 27, 2007 at 01:33:47PM +1200, Greg Ewing wrote:
Oleg Broytmann wrote:
if sqlQuery:
for row in sqlQuery: ...
else:
# no rows
To prevent users from writing such code the class implements __nonzero__()
that always raises an exception.
I'm not sure I like that idea. It's
three development lists into all the
summaries. I prefer the second option
I prefer the second, too.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN
On Fri, Apr 06, 2007 at 10:58:41AM -0400, Barry Warsaw wrote:
It might even be worthwhile to give PEP 8
more exposure in the tutorial or on the documentation ToC page.
And bundle the PEP with the distributed documentation.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru
1 - 100 of 164 matches
Mail list logo