Gerard C Weatherby added the comment:
Yes, code that has been working for my organization the past two years just
broke this weekend.
Meaning depends on context. The straightforward solution is that if no year is
specified, the return value should default to the current year
New submission from Gerard Weatherby :
Given a IPvNetwork network
if x in network:
...
raises an AttributeError instead of returning False.
--
components: Library (Lib)
files: ne.py
messages: 305250
nosy: Gerard Weatherby
priority: normal
severity: normal
status: open
title
leonard gerard added the comment:
It seems that delaying positional argument parsing after all optional arguments
are parsed would be clean and robust.
My understanding is that optional arguments aren't ambiguous and should be
processed first and removed from the arguments. Then the cu
leonard gerard added the comment:
In my opinion this is a bug or it should be explicitly stated in the generated
usage help string.
--
nosy: +leonard.gerard
___
Python tracker
<http://bugs.python.org/issue15
Jason Gerard DeRose added the comment:
vajrasky, one more errno to consider:
[Errno 39] Directory not empty: '/tmp/bar'
This is when renaming a directory: src directory exists; dst directory exists
and is non-empty.
In 3.4 Beta1, this error message now includes the src instead
New submission from Jason Gerard DeRose:
Under Python 3.3, if renaming a directory with `os.rename()` when the
destination is an existing, non-empty directory, like this:
os.rename('/tmp/foo', '/tmp/bar')
You'll get an OSError with a message like this:
OSError: [Errn
Jason Gerard DeRose added the comment:
Oops, I think I don't understand the meaning of top CPU usage, as time tells a
different story.
Direct ext4:
real2m14.144s
user0m0.260s
sys 0m30.350s
ecryptfs over ext4:
real8m47.130s
user0m0.080s
sys 7m2
Jason Gerard DeRose added the comment:
Barry,
I'm suspicious there might be more to the performance issue than just the
ecryptfs overhead. While experimenting with a read benchmark, I just happened
to notice that when reading from an ecryptfs filesystem, the CPU usage is
unusually hi
Gerard van Helden added the comment:
The reporter imho is 100% right. Simply because of the fact that in the current
situation, there is no way to supply an argument starting with a dash (not even
for instance a filename). That is, of course, total nonsense to be dictated by
the parser
Gerard added the comment:
Matthew,
Thanx for the heads-up!
Regards,
Gerard.
___
Python tracker
<http://bugs.python.org/issue1519638>
___
___
Python-bugs-list mailin
Gerard added the comment:
Bobby,
Can you post the actual text you need this for? The back ref indeed
returns a None. I'm wondering if the regex can be be simplefied and if a
positive lookbehind could solve this.
Symantically speaking ... If there's a "b" then return the &
Gerard added the comment:
Dear Bobby,
I don't see what would be the part that generates the empty string?
Regards,
Gerard.
___
Python tracker
<http://bugs.python.org/issu
New submission from Gerard <[EMAIL PROTECTED]>:
I'm using an IBM compiler running in AIX 5.3.
Compilation of Python 2.6 fails (see explanation below).
Compilation of Python 2.5.2 is ok.
/home/xyz/python/Python-2.6$ lslpp -L | grep vac
vac.C 10.1.0.0C F
Gerard <[EMAIL PROTECTED]> added the comment:
Hi All,
I found a workaround for the re.sub method so it does not raise an
exception but returns and empty string when backref-ing an empty group.
This is the nutshell:
When doing a search and replace with sub, replace the group represen
New submission from Gerard M. Flanagan <[EMAIL PROTECTED]>:
A TOC tree should render in HTML as a single 'ul', but in certain
circumstances it appears as multiple ul's.
You can see the effect here:
http://docs.python.org/dev/c-api/index.html
and in fact in the Sphinx
15 matches
Mail list logo