On 11 August 2013 06:18, sagar varule sagar.var...@gmail.com wrote:
Can any one comment on this..
If you don't get replies here it's probably because no-one knows
Paramiko. I suggest posting elsewhere to see if there are any Paramiko
users in other places willing to help. There might be a
Basically, I think Twitter's broken.
For my full discusion on the matter, see:
http://www.reddit.com/r/learnpython/comments/1k2yrn/help_with_len_and_input_function_33/cbku5e8
Here's the first post of mine, ineffectually edited for this list:
strikethroughThe obvious solution [to getting the
On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
On 11 August 2013 06:18, sagar varule sagar.var...@gmail.com wrote:
Can any one comment on this..
If you don't get replies here it's probably because no-one knows
Paramiko. I suggest posting elsewhere to see if
On 11 August 2013 08:02, sagar varule sagar.var...@gmail.com wrote:
On Sunday, August 11, 2013 11:28:31 AM UTC+5:30, Joshua Landau wrote:
You also didn't say what didn't work with the first block of code.
Submitting Command to Interactive Shell through code did not work.
In what way didn't it
On Sat, 10 Aug 2013 17:42:21 -0700, Gary Herron wrote:
But for each of your examples, using == is equivalent to using is.
Each of
if something == None
if device == _not passed
if device != None
would all work as expected. In none of those cases is is actually
needed.
py
On Sat, 10 Aug 2013 20:21:46 -0700, Gary Herron wrote:
Our knee-jerk reaction to beginners using is should be:
Don't do that! You almost certainly want ==. Consider is an
advanced topic.
Then you can spend as much time as you want trying to coach them into an
understanding of the
On Sat, 10 Aug 2013 21:41:00 -0600, Jason Friedman wrote:
class my_class:
def __init__(self, attr1, attr2):
self.attr1 = attr1 #string
self.attr2 = attr2 #string
def __lt__(self, other):
if self.attr1 other.attr1:
return True
else:
On Sun, 11 Aug 2013 03:33:52 +0100, Chris Angelico wrote:
Next thing to do is split it into more lines. Why is all that in a
single line?
The only good excuse for writing multiple statements on a single line
separated by semi-colons is if the Enter key on your keyboard is broken.
:-)
--
On Sat, 10 Aug 2013 16:42:22 -0400, Roy Smith wrote:
In article mailman.439.137613.1251.python-l...@python.org,
Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
Because id(n) is not giving you the address of the NAME. It is giving
you the address of the 10
Actually, it is giving you
On Thu, Aug 8, 2013 at 8:20 AM, sagar varule sagar.var...@gmail.com wrote:
stdin, stdout, stderr = client.exec_command(bv_cmd)
for line in stderr.readlines():
print line
for line in stdout.readlines():
print line
But problem here is
On Sun, Aug 11, 2013 at 7:17 AM, Joshua Landau jos...@landau.ws wrote:
Given tweet = bcaf\x65\xCC\x81.decode():
tweet
'café'
But:
len(tweet)
5
You're now looking at the difference between glyphs and combining
characters. Twitter counts combining characters, so when you
Hi Friends,
I would like to introduce myself.
I am Krishnan from Chennai, India. I am using python for 2 years for Test
Automation. I am fascinated by the language and its capabilities. I am
willing to move into Python development and I am doing the best i can to
learn the language completely
On Sun, 11 Aug 2013 07:17:42 +0100, Joshua Landau wrote:
Basically, I think Twitter's broken.
Oh, in about a million ways, but apparently people like it :-(
For my full discusion on the matter, see:
http://www.reddit.com/r/learnpython/comments/1k2yrn/
On Sun, Aug 11, 2013 at 9:17 AM, Krishnan Shankar
i.am.song...@gmail.com wrote:
I figured out that the best way is to talk to the experts and so i
subscribed to this mailing list. It will be cool if anybody can help me out
by telling the etiquette of this mailing list, like
Hi! Welcome!
1.
On 11 August 2013 10:09, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
The reason some accented letters have single code point forms is to
support legacy charsets; the reason some only exist as combining
characters is due to the combinational explosion. Some languages allow
you
On 11 August 2013 07:24, Chris Angelico ros...@gmail.com wrote:
On Sun, Aug 11, 2013 at 7:17 AM, Joshua Landau jos...@landau.ws wrote:
Given tweet = bcaf\x65\xCC\x81.decode():
tweet
'café'
But:
len(tweet)
5
You're now looking at the difference between glyphs and
On 11 August 2013 09:57, Chris Angelico ros...@gmail.com wrote:
On Thu, Aug 8, 2013 at 8:20 AM, sagar varule sagar.var...@gmail.com wrote:
stdin, stdout, stderr = client.exec_command(bv_cmd)
for line in stderr.readlines():
print line
for line in
On 11 August 2013 09:28, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
into more lines. Why is all that in a
single line?
The only good excuse for writing multiple statements on a single line
separated by semi-colons is if the Enter key on your keyboard is broken.
That's not a
On Sun, 11 Aug 2013 10:44:40 +0100, Joshua Landau wrote:
On 11 August 2013 10:09, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
The reason some accented letters have single code point forms is to
support legacy charsets; the reason some only exist as combining
characters is due
On Sun, Aug 11, 2013 at 12:14 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Consider a single character. It can have 0 to 5 accents, in any
combination. Order doesn't matter, and there are no duplicates, so there
are:
0 accent: take 0 from 5 = 1 combination;
1 accent: take
See the Rationale of PEP 450 for more reasons why “install NumPy” is not
a feasible solution for many use cases, and why having ‘statistics’ as a
pure-Python, standard-library package is desirable.
I read that before posting but am not sure I agree. I don't see the
screaming need for this
On 11 August 2013 12:14, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 11 Aug 2013 10:44:40 +0100, Joshua Landau wrote:
On 11 August 2013 10:09, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
The reason some accented letters have single code point forms is
Hi all,
I wrote a replacement for urlview to properly extract URLs from emails.
You can find the first draft here:
https://github.com/the-isz/pyurlview
When I call it with an email file passed to the '-f' argument, it does
pretty much what I want already. However, I intend to use it in mutt,
On Sun, Aug 11, 2013 at 12:50 PM, Skip Montanaro s...@pobox.com wrote:
See the Rationale of PEP 450 for more reasons why “install NumPy” is not
a feasible solution for many use cases, and why having ‘statistics’ as a
pure-Python, standard-library package is desirable.
I read that before
Le dimanche 11 août 2013 11:09:44 UTC+2, Steven D'Aprano a écrit :
On Sun, 11 Aug 2013 07:17:42 +0100, Joshua Landau wrote:
The reason some accented letters have single code point forms is to
support legacy charsets; ...
No.
jmf
PS Unicode normalization is failing expectedly very
On 11 August 2013 13:51, wxjmfa...@gmail.com wrote:
Le dimanche 11 août 2013 11:09:44 UTC+2, Steven D'Aprano a écrit :
On Sun, 11 Aug 2013 07:17:42 +0100, Joshua Landau wrote:
The reason some accented letters have single code point forms is to
support legacy charsets; ...
No.
jmf
PS
In article 52074b43$0$3$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 11 Aug 2013 03:33:52 +0100, Chris Angelico wrote:
Next thing to do is split it into more lines. Why is all that in a
single line?
The only good excuse for
On Sun, 11 Aug 2013 06:50:36 -0500, Skip Montanaro wrote:
See the Rationale of PEP 450 for more reasons why “install NumPy” is
not a feasible solution for many use cases, and why having ‘statistics’
as a pure-Python, standard-library package is desirable.
I read that before posting but am
Krishnan Shankar wrote:
Hi Friends,
Hi, and welcome to the mailing list.
snip
I figured out that the best way is to talk to the experts and so i
subscribed to this mailing list. It will be cool if anybody can help me out
by telling the etiquette of this mailing list, like
1. How to
In article mailman.479.1376221844.1251.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
See the Rationale of PEP 450 for more reasons why âinstall NumPyâ is not
a feasible solution for many use cases, and why having âstatisticsâ as a
pure-Python, standard-library
On 11/08/2013 10:54, Joshua Landau wrote:
On 11 August 2013 07:24, Chris Angelico ros...@gmail.com wrote:
On Sun, Aug 11, 2013 at 7:17 AM, Joshua Landau jos...@landau.ws wrote:
Given tweet = bcaf\x65\xCC\x81.decode():
tweet
'café'
But:
len(tweet)
5
You're now looking at
On 11/08/13 15:02, Roy Smith wrote:
In article mailman.479.1376221844.1251.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
See the Rationale of PEP 450 for more reasons why “install NumPy� is not
a feasible solution for many use cases, and why having ‘statistics’ as a
This is a hard question to answer, because your code snippet isn't
clearly extensible to the case where you have ten attributes. What's the
rule for combining them? If instance A has five attributes less than
those of instance B, and five attributes greater than those of instance
B, which
Thanks to all for your answers,
I guess it is more flexible with isinstance (the duck test :)
I'm going to change the type checks.
Respect to the Names starting and ending with double-underscore.
I don't know how to get the name of a classe without them.
obj.__class__.__name__
Thanks.
--
Xavi
On Sun, 11 Aug 2013 18:58:25 +0200, Xavi wrote:
Respect to the Names starting and ending with double-underscore. I
don't know how to get the name of a classe without them.
obj.__class__.__name__
I didn't say you should *never* use them, but most of the time, you don't.
However
On 08/11/2013 09:34 AM, MRAB wrote:
If twitter counts characters, not codepoints, you could then ask
whether it passes the codepoints through as given. If it does, then you
experiment to see how much data you could send encoded as a sequence of
combining codepoints. (You might want to check
Hi,
I don't know much about Python code. Where is the connection made, eg
config file - where can I find it?
Our SQLITe database is currently 9GB and we have a table that contains
7GB of BLOB type. I think the table cannot handle any more insert of
BLOB hence I want to change it to SQL database
import random
def player():
hp = 10
speed = 5
attack = random.randint(0,5)
def monster ():
hp = 10
speed = 4
def battle(player):
print (a wild mosnter appered!)
print (would you like to battle?)
answer = input()
if answer == (yes):
return
On Sun, Aug 11, 2013 at 11:33 PM, Kris Mesenbrink
krismesenbr...@gmail.com wrote:
import random
def player():
hp = 10
speed = 5
attack = random.randint(0,5)
# add the following line to return attack value:
return attack
def monster ():
hp = 10
speed = 4
I thought I responded to this. Oh well shrugs
On Friday, August 9, 2013 12:47:43 AM UTC-5, Benjamin Kaplan wrote:
Are you using Python.NET or IronPython? IronPython is reasonably well
supported, and it looks like there's a patch you can use to get PyLint
working on it (see
On Friday, August 9, 2013 1:31:43 AM UTC-5, Peter Otten wrote:
I see I have to fix it myself then...
Sorry man, I think in my excitement of seeing the first of your examples to
work, that I missed the second example, only seeing your comments about it at
the end of the post. I didn't expect
the idea was to store variables for later use, but you are correct i don't
understand functions or if that is even the best way to do it. i guess i'd want
to be able to call the HP and ATTACK variables of player for when the battle
gets called. i would then use the variables in battle to figure
On 11Aug2013 13:47, Krishnan Shankar i.am.song...@gmail.com wrote:
| 1. How to acknowledge a reply? Should i put a one to one mail or send it to
| the mailing list itself?
Generally, a personal acknowledgement email is not necessary; usually
one would reply to the list; by citing the previous
On Mon, Aug 12, 2013 at 12:35 AM, Kris Mesenbrink
krismesenbr...@gmail.com wrote:
the idea was to store variables for later use, but you are correct i don't
understand functions or if that is even the best way to do it. i guess i'd
want to be able to call the HP and ATTACK variables of player
Kris Mesenbrink wrote:
import random
def player():
hp = 10
speed = 5
attack = random.randint(0,5)
The net resut of this function is nothing. It assigns values, then
they're lost when the function returns. A function is the wrong way to
deal with these three names.
def
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18706
___
___
Serhiy Storchaka added the comment:
Likely they were written before the invention of unittest test
skpping. They could be converted.
See issue18702.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15301
New submission from madan ram:
Since most of and also I faced problem of building Doc initially then later i
found out how to build Doc.
So i thought to include details on how to build Doc in README.
--
assignee: docs@python
components: Build, Devguide, Documentation, Installation
New submission from madan ram:
As I observed when using python 3.4 Interpretor is that it would be able to
distinguish between char by '' and string by
input()
a
'a'
and
input()
aa
'aa'
it would be better if output was
aa
but if i want to fix this which file to edit.
--
Serhiy Storchaka added the comment:
There are two ways to fix this issue -- one change test_imp.py and other change
test_codeccallbacks.py. The proposed patch contains both.
--
keywords: +patch
stage: needs patch - patch review
Added file:
sdia added the comment:
Hello,
I will try to submit a patch for this issue.
--
nosy: +seydou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18445
___
Serhiy Storchaka added the comment:
However it looks weird:
def f():
... import html.entities
... del sys.modules['html']
...
f()
import html.entities
html.entities
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError: 'module' object has no attribute
Serhiy Storchaka added the comment:
And not to me. This check forbids some possible legal regexps and doesn't
prevent from shooting in the leg.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18647
Ned Deily added the comment:
Ethan, http://www.python.org/dev/peps/pep-0429/#release-schedule
TL;DR - no new features after beta 1 (2013-11-24), no non-release-critical bug
fixes after rc1 (2014-01-19)
--
nosy: +ned.deily
___
Python tracker
Hynek Schlawack added the comment:
So I wanted to provide a first patch to move the discussion on and realized
that itertools appears currently to be completely inside of
`Modules/itertoolsmodule.c`. :-/
Any volunteers? :)
--
assignee: hynek -
stage: - needs patch
Ramchandra Apte added the comment:
I like the idea of having a PEP8-checker for IDLE.
--
nosy: +Ramchandra Apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18704
___
Seydou Dia added the comment:
Several issues :
- abitype.py, analyze_dxp.py, get-remote-certificate.py,
import_diagnostics.py, parse_html5_entities.py are not documented.
Except analyze_dxp.py, all those files have been docummented in README.
analyze_dxp.py was already documented so I don't
Seydou Dia added the comment:
- README says all python scripts are executables, but some need chmod +x
I can help here.
Sorry I meant : I can't help here. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18445
Serhiy Storchaka added the comment:
How large will be a C implementation of this one-line function?
I'm still -1 for polluting the itertools module with trivial combinations of
existing functions.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
./python -m test -v test_codecencodings_kr test_imp test_codeccallbacks
Thanks, I was trying to reproduce the failure yesterday with test_imp
test_codeccallbacks but it wasn't working -- now I can reproduce it.
My idea was to import html and html.parser and
Antoine Pitrou added the comment:
Perhaps import machinery should be fixed instead of tests.
Yes, the import machinery is acting weird here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18706
Antoine Pitrou added the comment:
How large will be a C implementation of this one-line function?
I'm still -1 for polluting the itertools module with trivial
combinations of existing functions.
The solution is to move the current itertools to _itertools and have a
companion itertools.py.
Mark Dickinson added the comment:
Thanks for the patch.
I don't think there's a strict policy about using American spellings in the
source; I think spellings like 'behaviour' and 'grey' should be left alone.
--
nosy: +mark.dickinson
___
Python
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.3
___
Roundup Robot added the comment:
New changeset e0f86c3b3685 by Ezio Melotti in branch '3.3':
#18663: document that assertAlmostEqual also works when the values are equal
and add tests.
http://hg.python.org/cpython/rev/e0f86c3b3685
New changeset eeda59e08c83 by Ezio Melotti in branch 'default':
Févry Thibault added the comment:
I don't think there's a strict policy about using American spellings in the
source; I think spellings like 'behaviour' and 'grey' should be left alone.
I didn't really know whether to change them or not and did not find an answer
in the devguide (Might be
Serhiy Storchaka added the comment:
Perhaps `del sys.modules['module']` should remove all 'module.submodule' from
sys.modules. Or perhaps `import module.submodule` should ensure that 'module'
is in sys.modules and has the 'submodule' attribute.
Ezio, seems you forgot to attach a patch.
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file31230/issue18706.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18706
___
Serhiy Storchaka added the comment:
Looks as too much work for too small gain (and I'm suppose the total gain is
negative if we count all costs).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18652
Antoine Pitrou added the comment:
My preference goes to Serhiy's fix for test_imp.
Note that the import machinery oddity would deserve fixing too (in a separate
issue perhaps ?).
--
___
Python tracker rep...@bugs.python.org
Robin Schreiber added the comment:
I have in fact used abitype.py to produce all of my PEP 384 patches, however it
failed to work correctly in like 50% of all cases, and I had to complete the
rest of the patch by hand.I thought about correcting the abitype.py throughout
the GSOC, but I
Mark Dickinson added the comment:
Unlike C, Python doesn't have any 'character' type: the elements of a string
are simply 1-character strings. The two quote styles are mostly
interchangeable: again, unlike C, there's no particular meaning attached to
the use of single quotes or double
Févry Thibault added the comment:
Updated the patch to no longer change BE to AE and fixed two mistakes in my
correction.
--
Added file: http://bugs.python.org/file31231/spelling_Lib.diff
___
Python tracker rep...@bugs.python.org
Changes by Févry Thibault thibaultfe...@gmail.com:
--
title: Fix arround 100 typos/spelling mistakes - Fix typos/spelling mistakes
in Lib/*.py files
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18705
Mark Dickinson added the comment:
Thanks for the update. All the changes in the updated patch look good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18705
___
Robin Schreiber added the comment:
I absolutely agree on mentioning the member names in the comments. :-)
In the example Martin gave in his PEP 3121, the PyInit does not perform any
INCREFs on the Variables that are referenced from inside the module state.
He therefore left out m_free
Eli Bendersky added the comment:
Ethan, as Ned said (and I think you got this answer in the list before), the
real feature cutoff is Beta 1. So we have time until the end of November. Note
that even new PEPs (like the statistics one) can go in before that. Even after
beta, things that appear
Ezio Melotti added the comment:
My preference goes to Serhiy's fix for test_imp.
Fair enough. Serhiy do you want to commit your fix?
Note that the import machinery oddity would deserve fixing too
(in a separate issue perhaps ?).
This should be a separate issue.
--
Stefan Behnel added the comment:
FWIW, lxml.etree supports wildcards like '{*}tag' in searches, and this is
otherwise quite rarely a problem in practice.
I'm -1 on the proposed feature and wouldn't mind rejecting this all together.
(At least change the title to something more appropriate.)
Matthew Barnett added the comment:
I think you're probably right.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18647
___
___
Python-bugs-list
Vajrasky Kok added the comment:
Attached the second patch to use addCleanup rather than tear down method. Also,
I added the non-existent file case.
--
Added file:
http://bugs.python.org/file31232/fix_resource_warning_read_mime_types_v2.patch
___
Eli Bendersky added the comment:
I was planning to look more closely at the namespace support in ET at some
point, but haven't found the time yet.
[changing the title to be more helpful]
--
title: ElementTree gets awkward to use if there is an xmlns - ElementTree --
provide a way to
Stefan Behnel added the comment:
Rejecting this ticket was the right thing to do. It's not a bug but a feature.
In Python 2.x, ElementTree returns any text content that can correctly be
represented as an ASCII encoded string in the native Py2.x string type (i.e.
'str'). Only non-ASCII strings
Stefan Behnel added the comment:
There's also the QName class which can be used to split qualified tag names.
And it's pretty trivial to pre-process the entire tree by stripping all
namespaces from it the intention is really to do namespace agnostic processing.
However, in my experience, most
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18670
___
Stefan Behnel added the comment:
Just to reiterate this point, lxml.etree supports a pretty_print flag in its
tostring() function and ElementTree.write(). It would thus make sense to
support the same thing in ET.
http://lxml.de/api.html#serialisation
For completeness, the current signature
Roundup Robot added the comment:
New changeset dab790a17c4d by Serhiy Storchaka in branch '3.3':
Issue #18706: Fix a test for issue #18681 so it no longer breaks
test_codeccallbacks*.
http://hg.python.org/cpython/rev/dab790a17c4d
New changeset 1f4aed2c914c by Serhiy Storchaka in branch
Roundup Robot added the comment:
New changeset dab790a17c4d by Serhiy Storchaka in branch '3.3':
Issue #18706: Fix a test for issue #18681 so it no longer breaks
test_codeccallbacks*.
http://hg.python.org/cpython/rev/dab790a17c4d
New changeset 1f4aed2c914c by Serhiy Storchaka in branch
Eli Bendersky added the comment:
(although, admittedly, sometimes it's those who designed the XML format
who didn't understand namespaces ...).
I fully concur. The design of XML, in general, is not the best
demonstration of aesthetics in programming. But namespaces always seem to
me to be one
Seydou Dia added the comment:
I am working on a patch.
--
nosy: +seydou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18578
___
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14465
___
___
Python-bugs-list
Terry J. Reedy added the comment:
The patch applies cleanly on my 3.4 Win 7, fresh debug build. Somewhat
fortuitously, as it turns out, I have not downloaded the files needed for ssl
support. For each modified file, I ran
python_d -m test -v test_xxx
test test_nntplib crashed -- Traceback
Seydou Dia added the comment:
Since I am already on bugs.python.org/issue18578 I will tackle this issue, if
you don't mind.
--
nosy: +seydou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18576
Ben Hoyt added the comment:
Thanks, Tim! Works for me! A couple of code review comments:
1) On 2.7, guess_type(s)[0] is a byte string as usual if the type doesn't exist
in the registry, but it's a unicode string if it came from the registry. Seems
like it should be a byte string in all cases
Serhiy Storchaka added the comment:
I think this problem deserves a discussion on Python-Dev:
http://comments.gmane.org/gmane.comp.python.devel/141068 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16968
Brett Cannon added the comment:
To answer Eric's question: yes.
Since no one seems to be screaming that sys.path be the only place to have the
concept of a relative path, then let's use only absolute paths except in
sys.path for ''.
--
___
Python
Serhiy Storchaka added the comment:
Thank you Ezio and Terry for review. Here is updated patch. Problems with class
initialization solved. I have made a lot of other changes especially in
test_os.py and test_posix.py.
--
Added file: http://bugs.python.org/file31233/skip_tests_2.patch
Terry J. Reedy added the comment:
Applies and runs (with text_posix entirely skipped).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18702
___
Roundup Robot added the comment:
New changeset edaf44136d32 by Eli Bendersky in branch '3.3':
Issue #12645: Clarify and reformat the documentation of import_fresh_module
http://hg.python.org/cpython/rev/edaf44136d32
New changeset d809ef0e by Eli Bendersky in branch 'default':
Close #12645:
Eli Bendersky added the comment:
Chris, I was reading through regrtest.py for other reasons and stumbled upon
the pointer to this issue. Would you like to update your patch? I will review
it.
--
nosy: +eli.bendersky
___
Python tracker
1 - 100 of 116 matches
Mail list logo