Skip to content

Commit 0d92449

Browse files
committed
Add JZlib to build, restore __future__.
1 parent a34e8bf commit 0d92449

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

build.xml

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
<pathelement path="${extlibs.dir}/netty-common-4.0.25.Final.jar"/>
193193
<pathelement path="${extlibs.dir}/netty-handler--4.0.25.Final.jar"/>
194194
<pathelement path="${extlibs.dir}/netty-transport-4.0.25.Final.jar"/>
195+
<pathelement path="${extlibs.dir}/jzlib-1.1.3.jar"/>
195196
</path>
196197

197198
<available property="informix.present" classname="com.informix.jdbc.IfxDriver" classpath="${informix.jar}" />

src/org/python/core/FutureFeature.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ public enum FutureFeature implements Pragma {
66
/**
77
* Enables nested scopes.
88
*/
9-
// nested_scopes(CodeFlag.CO_NESTED),
9+
nested_scopes(CodeFlag.CO_NESTED),
1010
/**
1111
* Makes integer / integer division return float.
1212
*/
13-
// division(CodeFlag.CO_FUTURE_DIVISION),
13+
division(CodeFlag.CO_FUTURE_DIVISION),
1414
/**
1515
* Enables generators.
1616
*/
17-
// generators(CodeFlag.CO_GENERATOR_ALLOWED),
17+
generators(CodeFlag.CO_GENERATOR_ALLOWED),
1818
/**
1919
* Enables absolute imports.
2020
*/
21-
// absolute_import(CodeFlag.CO_FUTURE_ABSOLUTE_IMPORT),
21+
absolute_import(CodeFlag.CO_FUTURE_ABSOLUTE_IMPORT),
2222
/**
2323
* Enables the with statement.
2424
*/
25-
// with_statement(CodeFlag.CO_FUTURE_WITH_STATEMENT),
25+
with_statement(CodeFlag.CO_FUTURE_WITH_STATEMENT),
2626
/**
2727
* Enables the print function.
2828
*/
29-
// print_function(CodeFlag.CO_FUTURE_PRINT_FUNCTION),
29+
print_function(CodeFlag.CO_FUTURE_PRINT_FUNCTION),
3030
/**
3131
* Enables unicode literals.
3232
*/
33-
// unicode_literals(CodeFlag.CO_FUTURE_UNICODE_LITERALS),
33+
unicode_literals(CodeFlag.CO_FUTURE_UNICODE_LITERALS),
3434
/**
3535
* Use braces for block delimiters instead of indentation.
3636
*/

0 commit comments

Comments
 (0)