Ben Finney, 10.08.2013 07:05:
Skip Montanaro writes:
Given that installing numpy or scipy is generally no more difficult
that executing pip install (scipy|numpy) I'm not really feeling the
need for a battery here...
See the Rationale of PEP 450 for more reasons why “install NumPy” is not
a
Sarcastic what the kcuf ¿?¿?¿?
My english is SO bad?
Do you know me?
I can not understand this paranoia i only was giving thanks.
--
http://mail.python.org/mailman/listinfo/python-list
What about the security though?
To be specific, i need to create an application (python 3.3 strictly) where
users will save/load their settings online to a remote hosted database. I do
not wish to change the database from listening to any other thing than
localhost for security reasons, so i
Im using python 3.3 on win7 64bit and trying to connect to a MySQL database on
a remote server through a putty ssh tunnel.
Running the script below im getting Physical connection to the database did
not activate!. What im i doing wrong?! I tried to find a working example but
couldnt find one.
print \t\tUploading file %s... % newname
try:
self.ftp.storbinary(STOR %s % newname, open(file))
except EOFError: # yep??
self.ftp.connect(self.ftpServ) # reconnecting
self.ftp.login(ftpUser, ftpPass)
self.ftp.storbinary(STOR %s % newname, open(file))
print \t\tFile %s uploaded % newname
--
In article mailman.417.1376104455.1251.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
Given that installing numpy or scipy is generally no more difficult
that executing pip install (scipy|numpy) I'm not really feeling the
need for a battery here...
I just tried installing numpy
On 10 August 2013 11:37, cheirasa...@gmail.com wrote:
Sarcastic what the kcuf ¿?¿?¿?
My english is SO bad?
Do you know me?
I can not understand this paranoia i only was giving thanks.
Sarcasm and a lack thereof is very hard to see over the Internet. It's
probably just a
On 10 August 2013 12:50, Roy Smith r...@panix.com wrote:
In article mailman.417.1376104455.1251.python-l...@python.org,
Skip Montanaro s...@pobox.com wrote:
Given that installing numpy or scipy is generally no more difficult
that executing pip install (scipy|numpy) I'm not really feeling the
Skip Montanaro s...@pobox.com wrote:
installing numpy or scipy is generally no more difficult
that executing pip install (scipy|numpy)
I described the problems I had trying to follow that advice.
In article mailman.425.1376137459.1251.python-l...@python.org,
Oscar Benjamin
On 10 August 2013 13:43, Roy Smith r...@panix.com wrote:
In article mailman.425.1376137459.1251.python-l...@python.org,
Oscar Benjamin oscar.j.benja...@gmail.com wrote:
You should use apt-get for numpy/scipy on Ubuntu. Although
unfortunately IIRC this doesn't work as well as it should since
Hello Python C-experts.
I'm trying to embed python27.dll in a C-program written in
MingW-gcc 4.7.2. I've successfully done these initial steps:
typedef int (*Py_Main_t) (int argc, char **argv);
handle = LoadLibrary (python27.dll);
py_main = (Py_Main_t) GetProcAddress (handle, Py_Main);
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding the
below concept.
So doubt is on variables and their contained value.
Why does in the below example from Interpreter
On 2013-08-10 21:03, Krishnan Shankar wrote:
a=10
id(a)
21665504
b=a
id(b)
21665504
c=10
id(c)
21665504
I am actually assigning new value to c. But from the value of id()
all three variables take same location. With variables a and b it
is ok. But why c taking the same
In article mailman.428.1376151419.1251.python-l...@python.org,
Krishnan Shankar i.am.song...@gmail.com wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding the
below
On Sat, Aug 10, 2013 at 4:33 PM, Krishnan Shankar
i.am.song...@gmail.com wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding the
below concept.
So doubt is on variables
On 8/10/2013 11:33 AM, Krishnan Shankar wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding
the below concept.
So doubt is on variables and their contained value.
It
Hello,
El 10/08/2013 18:40, Tim Chase escribió:
Generally, if you are using the is operator to compare against
anything other than None, you're doing it wrong. There are exceptions
to this, but it takes knowing the particulars.
Now I have one doubt, I use 'is' to compare basic types in python
Terry Reedy wrote:
On 8/10/2013 11:33 AM, Krishnan Shankar wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding
the below concept.
So doubt is on variables and their
In article mailman.433.1376159810.1251.python-l...@python.org,
Peter Otten __pete...@web.de wrote:
Quoting http://en.wikipedia.org/wiki/Indian_English
doubt = question or query; e.g. one would say, 'I have a doubt' when one
wishes to ask a question.
I'd say if Brits can cope (hard
I think I missed an earlier thread of this and I'm not quite sure what
your application is, but properly allocating user permissions on your
databases should eliminate any security concerns there. Also, for the
tunnel, whether you're using one account or multiple (one for each
user), those
On Sat, 10 Aug 2013 20:00:58 +0200, Xavi wrote:
Now I have one doubt, I use 'is' to compare basic types in python 3, for
example .-
v = []
if type(v) is list:
print('Is list...')
No, do not do this. This is unnecessarily restrictive.
Because I think it is more clear and faster than
On Sat, 10 Aug 2013 20:36:52 +0200, Peter Otten wrote:
Terry Reedy wrote:
On 8/10/2013 11:33 AM, Krishnan Shankar wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have
a doubt regarding the basics of Python. Please help me in
understanding
On 8/10/2013 2:00 PM, Xavi wrote:
Hello,
El 10/08/2013 18:40, Tim Chase escribió:
Generally, if you are using the is operator to compare against
anything other than None, you're doing it wrong. There are exceptions
to this, but it takes knowing the particulars.
Now I have one doubt, I use
On 8/10/2013 2:36 PM, Peter Otten wrote:
Terry Reedy wrote:
On 8/10/2013 11:33 AM, Krishnan Shankar wrote:
Hi Fellow Python Friends,
I am new to Python and recently subscribed to the mailing list.I have a
doubt regarding the basics of Python. Please help me in understanding
the below
I am working on a library, and adding one feature broke a seemingly unrelated
feature. As I already had Test Cases written, I decided to try to incorporate
the logging module into my class, and turn on debugging at the logger before
the newly-broken test.
Here is an example script:
# -
In article f7b24010-f3f4-4e86-b6c4-9ddb503d0...@googlegroups.com,
Josh English joshua.r.engl...@gmail.com wrote:
I am working on a library, and adding one feature broke a seemingly unrelated
feature. As I already had Test Cases written, I decided to try to incorporate
the logging module
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 the id of the int(10) object. Maybe it's an
address, maybe
Peter Otten wrote:
doubt
Oh bother, said Pooh, what's in a word ?
http://en.wikipedia.org/wiki/Curry
https://pypi.python.org/pypi/curry/
http://en.wikipedia.org/wiki/Currying
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
On Sat, Aug 10, 2013 at 7:00 PM, Xavi jara...@gmail.com wrote:
Now I have one doubt, I use 'is' to compare basic types in python 3, for
example .-
v = []
if type(v) is list:
print('Is list...')
Because I think it is more clear and faster than .-
type(v) == [].__class__ ... or ...
On 08/10/2013 11:00 AM, Xavi wrote:
Hello,
El 10/08/2013 18:40, Tim Chase escribió:
Generally, if you are using the is operator to compare against
anything other than None, you're doing it wrong. There are exceptions
to this, but it takes knowing the particulars.
Now I have one doubt, I use
On Sat, Aug 10, 2013 at 10:48 PM, Gary Herron
gary.her...@islandtraining.com wrote:
This is an oversimplification, but generally useful for all beginner (and
most advanced) programmers:
Don't use is for comparisons. Use ==.
It 20 years of programming Python, I've *needed* to use is ...
On Saturday, August 10, 2013 1:40:43 PM UTC-7, Roy Smith wrote:
In article f7b24010-f3f4-4e86-b6c4-9ddb503d0...@googlegroups.com,
Josh English wrote:
The first thing to do is get this down to some minimal amount of code
that demonstrates the problem.
For example, you drag in the
Aha. Thanks, Ned. This is the answer I was looking for.
I use logging in the real classes, and thought that turning setting
the level to logging.DEBUG once was easier than hunting down four
score of print statements.
Josh
On Sat, Aug 10, 2013 at 3:52 PM, Ned Batchelder n...@nedbatchelder.com
On Saturday, August 10, 2013 1:40:43 PM UTC-7, Roy Smith wrote:
For example, you drag in the logging module, and do some semi-complex
configuration. Are you SURE your tests are getting run multiple times,
or maybe it's just that they're getting LOGGED multiple times. Tear out
all the
On Sun, Aug 11, 2013 at 12:14 AM, Roy Smith r...@panix.com wrote:
Maybe you've got two different handlers which are both getting the same
logging events and somehow they both end up in your stderr stream.
Likely? Maybe not, but if you don't have any logging code in the test
at all, it becomes
On 8/10/13 4:40 PM, Roy Smith wrote:
In article f7b24010-f3f4-4e86-b6c4-9ddb503d0...@googlegroups.com,
Josh English joshua.r.engl...@gmail.com wrote:
I am working on a library, and adding one feature broke a seemingly unrelated
feature. As I already had Test Cases written, I decided to try
On Saturday, August 10, 2013 4:14:09 PM UTC-7, Roy Smith wrote:
I don't understand the whole SimpleChecker class. You've created a
class, and defined your own __call__(), just so you can check if a
string is in a list? Couldn't this be done much simpler with a plain
old function:
On 08/10/2013 03:09 PM, Chris Angelico wrote:
On Sat, Aug 10, 2013 at 10:48 PM, Gary Herron
gary.her...@islandtraining.com wrote:
This is an oversimplification, but generally useful for all beginner (and
most advanced) programmers:
Don't use is for comparisons. Use ==.
It 20 years of
On Saturday, August 10, 2013 4:21:35 PM UTC-7, Chris Angelico wrote:
On Sun, Aug 11, 2013 at 12:14 AM, Roy Smith wrote:
Maybe you've got two different handlers which are both getting the same
loggingvents and somehow they both end up in your stderr stream.
Likely? Maybe not, but if you
On Sun, Aug 11, 2013 at 1:42 AM, Gary Herron
gary.her...@islandtraining.com wrote:
On 08/10/2013 03:09 PM, Chris Angelico wrote:
_notpassed = object()
def frob(appendage, device=_notpassed):
Use some appendage to frob some device, or None to frob nothing.
Omit device to frob
On Sun, Aug 11, 2013 at 1:52 AM, Josh English
joshua.r.engl...@gmail.com wrote:
I'm using logging for debugging, because it is pretty straightforward and can
be activated for a small section of the module. My modules run long (3,000
lines or so) and finding all those dastardly print
On 8/10/2013 8:42 PM, 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.
class EqualAll:
def
On Sun, Aug 11, 2013 at 2:25 AM, Terry Reedy tjre...@udel.edu wrote:
On 8/10/2013 8:42 PM, 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
I am checking my 1292-line script for syntax errors. I ran the following
commands in a terminal to check for errors, but I do not see the error.
collier@Nacho-Laptop:/media/collier/AI/Pysh$ python3 -m py_compile
./beta_engine
File ./beta_engine, line 344
JOB_WRITEURGFILES =
On Sun, Aug 11, 2013 at 3:19 AM, Devyn Collier Johnson
devyncjohn...@gmail.com wrote:
am checking my 1292-line script for syntax errors. I ran the following
commands in a terminal to check for errors, but I do not see the error.
collier@Nacho-Laptop:/media/collier/AI/Pysh$ python3 -m
In article mailman.452.1376188442.1251.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
When you get a syntax error you can't understand, look at the previous
line of code. Perhaps something there is incomplete; maybe you have
mismatched parentheses, so this line is considered
On Sun, Aug 11, 2013 at 3:43 AM, Roy Smith r...@panix.com wrote:
In article mailman.452.1376188442.1251.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
When you get a syntax error you can't understand, look at the previous
line of code. Perhaps something there is incomplete;
On 8/10/2013 10:19 PM, Devyn Collier Johnson wrote:
I am checking my 1292-line script for syntax errors. I ran the following
commands in a terminal to check for errors, but I do not see the error.
collier@Nacho-Laptop:/media/collier/AI/Pysh$ python3 -m py_compile
./beta_engine
File
Thanks Tim,
This takes me to one more question.
'is' operator is used to compare objects and it should not be used to
compare data.
So can it be compared with 'False'.
i.e. Is this code possible
if a is False:
print 'Yes'
if b is False:
print 'No'
Because i recommended this should
On Sun, Aug 11, 2013 at 4:09 AM, Krishnan Shankar
i.am.song...@gmail.com wrote:
i.e. Is this code possible
if a is False:
print 'Yes'
if b is False:
print 'No'
You would use that if you want to check if a/b is the exact bool value
False. Normally you would simply spell it thus:
if
On 08/10/2013 08:09 PM, Krishnan Shankar wrote:
Thanks Tim,
This takes me to one more question.
'is' operator is used to compare objects and it should not be used to
compare data.
So can it be compared with 'False'.
i.e. Is this code possible
if a is False:
print 'Yes'
if b is False:
On 08/10/2013 06:00 PM, Chris Angelico wrote:
On Sun, Aug 11, 2013 at 1:42 AM, Gary Herron
gary.her...@islandtraining.com wrote:
On 08/10/2013 03:09 PM, Chris Angelico wrote:
_notpassed = object()
def frob(appendage, device=_notpassed):
Use some appendage to frob some device, or None to
On 08/10/2013 09:09 PM, Krishnan Shankar wrote:
i.e. Is this code possible
if a is False:
print 'Yes'
if b is False:
print 'No'
Because i recommended this should not be done. But my colleagues say it is
correct.
You are probably correct in your believe that this idiom should
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:
return self.attr2 other.attr2
I will run into problems if
On Sun, Aug 11, 2013 at 4:21 AM, Gary Herron
gary.her...@islandtraining.com wrote:
On 08/10/2013 06:00 PM, Chris Angelico wrote:
Wrong. If you do equality comparisons, it's entirely possible for
something to be passed in that compares equal to the RHS without
actually being it, so is is
On Sun, Aug 11, 2013 at 4:41 AM, Jason Friedman jsf80...@gmail.com 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
On 11 August 2013 04:43, Chris Angelico ros...@gmail.com wrote:
On Sun, Aug 11, 2013 at 4:21 AM, Gary Herron
gary.her...@islandtraining.com wrote:
On 08/10/2013 06:00 PM, Chris Angelico wrote:
All it takes is a slightly odd or buggy __eq__ implementation and the
== versions will misbehave. To
On 08/10/2013 08:43 PM, Chris Angelico wrote:
On Sun, Aug 11, 2013 at 4:21 AM, Gary Herron
gary.her...@islandtraining.com wrote:
On 08/10/2013 06:00 PM, Chris Angelico wrote:
Wrong. If you do equality comparisons, it's entirely possible for
something to be passed in that compares equal to the
On Sun, Aug 11, 2013 at 5:04 AM, Joshua Landau jos...@landau.ws wrote:
On 11 August 2013 04:43, Chris Angelico ros...@gmail.com wrote:
The
distinction between the two is important when the objects are mutable
(so they have an identity that's distinct from their current values).
I don't
On Sun, Aug 11, 2013 at 5:29 AM, Gary Herron
gary.her...@islandtraining.com wrote:
A beginner, on his first program or two, can understand 1, and perhaps
parrot 2 without understanding (or needing to). But the step from there to
3 is huge. It's folly to dump that on a first-time programmer.
On Thursday, August 8, 2013 12:50:25 PM UTC+5:30, sagar varule wrote:
Hi All,
Im using Paramiko for my SSH automation. Im using method that is shown in
demo_simple.py example which comes with Paramiko. Below is code from
demo_simple.py.
As you can make out, below code opens SSH
Armin Rigo added the comment:
Just a side note for 2.7: could I recommend people to be really extra, extra
careful when changing what kind of regexps are accepted and what kind of
regexps are outright rejected? I believe the risk of making long-existing and
working 2.7 programs suddenly
Stefan Behnel added the comment:
I gave the implementation a try and attached an incomplete patch. Some tests
are failing.
It turns out that it's not entirely easy to do this. As Antoine noticed, the
hack in the C implementation of the TreeBuilder makes it tricky to integrate
with other
Serhiy Storchaka added the comment:
Serhiy, yup, that regexp is slow, but it does finish - so the engine is doing
something to avoid _unbounded_ repetitive matching of an empty string.
Yes, it finish, but it has exponential computation complexity. Increase the
length of the string to 21,
Serhiy Storchaka added the comment:
2.7.x is a minor version, not 2.7. We fixed Unicode issues in Python 2 bugfixes
many times.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18695
___
New submission from Serhiy Storchaka:
Here is a patch which removes PY_VERSION_HEX checks in
Modules/_ctypes/_ctypes.c, Modules/_sre.c, Objects/stringlib/unicodedefs.h and
removes the Modules/_sqlite/sqlitecompat.h file.
_sre.c checks support Python versions 2.2, 2.2 or 1.6 which doesn't made
New submission from Serhiy Storchaka:
Some tests in Python testsuite are silently skipped if requirements is not
satisfied. The proposed patch adds explicit skipUnless() and raise
SkipTest() so that these tests now reported as skipped.
I.e. the code like
if not condition:
def
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18268
___
Roundup Robot added the comment:
New changeset f55ba27776d4 by Eli Bendersky in branch '3.3':
Issue #18668: Further clarify m_size setting for non-negative values
http://hg.python.org/cpython/rev/f55ba27776d4
New changeset d43435e82e21 by Eli Bendersky in branch 'default':
Issue #18668: Further
A. Jesse Jiryu Davis added the comment:
Bump.
I think my most recent patch (August 4) addresses all of Charles-François's
comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18418
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17909
___
___
Roundup Robot added the comment:
New changeset dd0d751cc7f1 by Christian Heimes in branch 'default':
Issue #16400: Add command line option for isolated mode.
http://hg.python.org/cpython/rev/dd0d751cc7f1
--
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
Added file: http://bugs.python.org/file31214/c7aa0005f231.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
Roundup Robot added the comment:
New changeset 06c39789061e by Christian Heimes in branch 'default':
typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400
http://hg.python.org/cpython/rev/06c39789061e
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 06c39789061e by Christian Heimes in branch 'default':
typo, changeset dd0d751cc7f1 belongs to issue #16499 not issue #16400
http://hg.python.org/cpython/rev/06c39789061e
--
___
Python tracker
Richard Oudkerk added the comment:
The forkserver process is now started using _posixsubprocess.fork_exec(). This
should fix the order dependent problem mentioned before.
Also the forkserver tests are now reenabled on OSX.
--
___
Python tracker
Changes by Christian Heimes li...@cheimes.de:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16499
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18504
___
Roundup Robot added the comment:
New changeset 8a060e2de608 by Eli Bendersky in branch 'default':
Issue #15651: PEP 3121 refactoring for _elementtree
http://hg.python.org/cpython/rev/8a060e2de608
--
nosy: +python-dev
___
Python tracker
Eli Bendersky added the comment:
Antoine, I committed your patch (with a bit of comments added), *leaving the
module caching in*. This is because removing it breaks the tests,
unfortunately. The _elementtree tests are so crooked that they manage to create
a situation in which the module under
Roundup Robot added the comment:
New changeset ab8da1936297 by Ezio Melotti in branch '3.3':
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky
Kok.
http://hg.python.org/cpython/rev/ab8da1936297
New changeset 5c3708f23351 by Ezio Melotti in branch 'default':
#18483:
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Roundup Robot added the comment:
New changeset fe5d105eba4b by Ezio Melotti in branch '3.3':
#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/fe5d105eba4b
New changeset 7bf1f8892df5 by Ezio Melotti in branch 'default':
#18484: merge with
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18466
___
Roundup Robot added the comment:
New changeset 4daa18b5ad49 by Ezio Melotti in branch '3.3':
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/4daa18b5ad49
New changeset 47770b408321 by Ezio Melotti in branch 'default':
#18465: merge with
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Roundup Robot added the comment:
New changeset 28c756093a63 by Ezio Melotti in branch '3.3':
#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/28c756093a63
New changeset 9f7581816890 by Ezio Melotti in branch 'default':
#18453: merge with 3.3.
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Ezio Melotti added the comment:
Fixed in 168f6ac90abf (3.3) and 40ef5ce25d08 (default).
Thanks for the report!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
Ezio Melotti added the comment:
You can do
sys.stdout.buffer.write(bhello)
Note that this might not work when sys.stdout has been replaced with something
else (e.g. a StringIO).
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Here's a patch for trunk. It's essentially what salinger wrote, but as a patch
file so it works for review.
I poked around a little to make sure we weren't going to have another baffling
situation like fchmodat. AFAICT, nope, it's fine, it's as simple as
Larry Hastings added the comment:
And here's a patch for 3.3. I should have mentioned--both these patches pass
the same tests as an unmodified trunk. So I think it's just ready to go in.
--
Added file: http://bugs.python.org/file31216/larry.have_fchownat.3.3.patch.1.txt
Roundup Robot added the comment:
New changeset 53d54503fc06 by Ezio Melotti in branch '3.3':
#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/53d54503fc06
New changeset cb0fba5c7828 by Ezio Melotti in branch 'default':
#18505: merge
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
versions: +Python 3.3
___
Python
Ezio Melotti added the comment:
Agreed, closing.
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18696
Tim Golden added the comment:
I attach a patch against 3.3; this is substantially Dave Chambers' original
patch with a trivial test added and a doc change. This means that HKCR is
scanned to determine extensions and these will override anything in the
mimetypes db. The doc change highlights
Roundup Robot added the comment:
New changeset bc49e82ee013 by R David Murray in branch '3.3':
#8112: Update the documenting xmlrpc server to use getfullargspec.
http://hg.python.org/cpython/rev/bc49e82ee013
New changeset 69e515209fa9 by R David Murray in branch 'default':
Merge #8112: Update
R. David Murray added the comment:
Thanks, Claudio.
--
resolution: - fixed
stage: test needed - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8112
Changes by R. David Murray rdmur...@bitdance.com:
--
Removed message: http://bugs.python.org/msg194816
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8112
___
1 - 100 of 157 matches
Mail list logo