Valentin Lorentz
|
4a032834fb
|
setup.py: Fix bug if setup is not in the current working directory.
|
2013-05-11 11:15:32 +02:00 |
|
Valentin Lorentz
|
170183adbd
|
setup.py: exit after it has called itself.
|
2013-05-11 11:15:17 +02:00 |
|
Valentin Lorentz
|
cadf953e86
|
Make the setup.py runnable by Python 3 and run 2to3 automatically.
Conflicts:
sandbox/run_2to3.sh
setup.py
|
2013-05-11 11:15:03 +02:00 |
|
Valentin Lorentz
|
9e5f7025d8
|
INSTALL.md: Add extra instructions for Python 3.
|
2013-01-20 15:23:00 +01:00 |
|
Valentin Lorentz
|
df62ddad78
|
Google: Fix encoding with Python 3.
|
2013-01-06 16:46:21 +01:00 |
|
Valentin Lorentz
|
cca03ba06b
|
Copy docs to py3k/ too.
|
2013-01-06 13:39:56 +01:00 |
|
Valentin Lorentz
|
6cf4901344
|
Fix 2to3 fixers to work with Python 3.
|
2013-01-06 13:35:20 +01:00 |
|
Valentin Lorentz
|
fee7ed4cd1
|
Fix 2to3 fixers to work with Python 3.
|
2013-01-06 13:34:13 +01:00 |
|
Valentin Lorentz
|
ad3bf1302f
|
Web: Fix compatibility with Python <= 2.6.
|
2012-09-22 17:43:59 +00:00 |
|
Valentin Lorentz
|
a95546316f
|
Web: Fix title snarfer with titles containing unicode characters.
|
2012-09-22 17:34:33 +00:00 |
|
Valentin Lorentz
|
841dc719e1
|
Web: Fix page decoding.
|
2012-09-19 15:08:52 +00:00 |
|
Valentin Lorentz
|
f747c5a7d4
|
Config: Fix @reload.
|
2012-09-07 17:20:09 +00:00 |
|
Valentin Lorentz
|
d2b33a3794
|
Fix compatibility with Python 2.6.
|
2012-08-13 13:01:50 +00:00 |
|
Valentin Lorentz
|
1e794d88d7
|
ChannelLogger: Use open() instead of file().
|
2012-08-07 20:53:06 +00:00 |
|
Valentin Lorentz
|
e00b8b9903
|
Remove src/version.py before running 2to3.
|
2012-08-05 22:20:41 +02:00 |
|
Valentin Lorentz
|
fad0c9d788
|
Copy localised files in run_2to3.sh.
|
2012-08-05 22:20:25 +02:00 |
|
Valentin Lorentz
|
08382d1bfe
|
locale/fr.py: Use spaces instead of tabs.
|
2012-08-05 20:23:15 +02:00 |
|
Valentin Lorentz
|
22befe3d61
|
Owner: Prevent use of uninitialized variable.
|
2012-08-05 18:28:17 +02:00 |
|
Valentin Lorentz
|
ea17fe5c57
|
Unix: Decode stream for the command line in sysuname.
|
2012-08-05 18:26:39 +02:00 |
|
Valentin Lorentz
|
4fc1e934c7
|
PluginDownloader: Open target files in binary mode.
|
2012-08-05 18:02:54 +02:00 |
|
Valentin Lorentz
|
c149e8fa81
|
Make 2to3 ouput files in py3k/ subfolder.
|
2012-08-05 17:56:25 +02:00 |
|
Valentin Lorentz
|
a40ebae4da
|
String: Apply/unapply base64 encoding when dealing with a binary encoding.
|
2012-08-05 17:55:29 +02:00 |
|
Valentin Lorentz
|
5ae3e3fdcf
|
ShrinkUrl: Decode data from web services.
|
2012-08-05 16:58:09 +02:00 |
|
Valentin Lorentz
|
3dc8e04195
|
utils.web.urlencode: Encode data into bytes.
|
2012-08-05 16:57:40 +02:00 |
|
Valentin Lorentz
|
1b6be5842f
|
src/cdb.py: Use 'future' division and decode/encode data from/to the disk.
|
2012-08-05 16:57:18 +02:00 |
|
Valentin Lorentz
|
535593d555
|
src/dbi.py: Use open() instead of file().
|
2012-08-05 16:56:07 +02:00 |
|
Valentin Lorentz
|
14200e002a
|
Rename cdb.open to cdb.open_db and open cdb files in binary mode.
|
2012-08-05 15:47:30 +02:00 |
|
Valentin Lorentz
|
709c3390ef
|
Internet: Remove debug print.
|
2012-08-05 15:20:35 +02:00 |
|
Valentin Lorentz
|
124e292f1f
|
Catch sort errors in ChannelUserDB.
In case the dictionnary has both integers and strings as keys, items.sort() raises a TypeError.
|
2012-08-05 15:19:20 +02:00 |
|
Valentin Lorentz
|
16aeaaa4fe
|
Use the 'reverse' parameter of sorted() instead of 'mycmp'.
|
2012-08-05 14:49:47 +02:00 |
|
Valentin Lorentz
|
a731841af8
|
Dict: Decode network stream as unicode.
|
2012-08-05 14:38:11 +02:00 |
|
Valentin Lorentz
|
0e450a5eff
|
src/callbacks.py: Use unicode_escape if running Python 3.
|
2012-08-05 14:22:53 +02:00 |
|
Valentin Lorentz
|
34bb33b65f
|
Alias & MoobotFactoids: Fix import error in test.py.
|
2012-08-05 14:14:55 +02:00 |
|
Valentin Lorentz
|
242a54fbf2
|
Alias & RSS: remove third argument to types.MethodType.
It is useless in the case in point, and is not compatible with Python 3.
|
2012-08-05 14:08:04 +02:00 |
|
Valentin Lorentz
|
089be4c8a5
|
src/i18n.py: Use 'str' as a base class instead of 'unicode'.
|
2012-08-05 13:48:11 +02:00 |
|
Valentin Lorentz
|
041893aaf9
|
Socket driver: encode strings just before sending them.
|
2012-08-05 13:47:48 +02:00 |
|
Valentin Lorentz
|
306105abad
|
src/i18n.py: Fix encoding issue with Python 3.
|
2012-08-05 13:37:37 +02:00 |
|
Valentin Lorentz
|
f1165333e5
|
src/registry.py: Fix encoding issues with Python 3.
|
2012-08-05 13:28:16 +02:00 |
|
Valentin Lorentz
|
d4f5c03b3f
|
Add 2to3/fix_reload.py.
|
2012-08-05 13:28:09 +02:00 |
|
Valentin Lorentz
|
32a7da6f51
|
Add 2to3 fixer to process utils.gen.IterableMap correctly.
|
2012-08-05 12:32:57 +02:00 |
|
Valentin Lorentz
|
5a35c7fafd
|
Use __import__() instead of exec().
|
2012-08-05 10:22:15 +02:00 |
|
Valentin Lorentz
|
393f78c573
|
Use a boolean instead of hacky reference comparison in utils.iter.choice.
|
2012-08-05 09:59:42 +02:00 |
|
Valentin Lorentz
|
4ffaff0638
|
Don't use utils.str.chars anymore.
|
2012-08-05 09:54:34 +02:00 |
|
Valentin Lorentz
|
0c99a65afa
|
src/conf.py: Use classic comparison instead of str.translate.
|
2012-08-04 22:47:16 +02:00 |
|
Valentin Lorentz
|
0b7e4e5ce5
|
src/registry.py: Fix encoding issue with Python 3.
|
2012-08-04 22:46:52 +02:00 |
|
Valentin Lorentz
|
e89dcf867a
|
Remove unused import of UserDict.
|
2012-08-04 22:39:22 +02:00 |
|
Valentin Lorentz
|
fff9b837fb
|
Import ifilter from itertools instead of utils.iter.
|
2012-08-04 22:38:11 +02:00 |
|
Valentin Lorentz
|
1a64f1052a
|
Use MultipleReplace for utils.str.soundex.
|
2012-08-04 22:36:40 +02:00 |
|
Valentin Lorentz
|
9edda206ea
|
Remove utils.str.chars.
|
2012-08-04 22:33:08 +02:00 |
|
Valentin Lorentz
|
3838ab5314
|
Remove unused imports of new.
|
2012-08-04 22:31:59 +02:00 |
|